https://github.com/realpython/pyscript-gravity-sensor
A demo project showing how to access the Sensor API in PyScript
https://github.com/realpython/pyscript-gravity-sensor
Last synced: 4 months ago
JSON representation
A demo project showing how to access the Sensor API in PyScript
- Host: GitHub
- URL: https://github.com/realpython/pyscript-gravity-sensor
- Owner: realpython
- License: mit
- Created: 2022-05-31T18:14:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-31T19:04:48.000Z (about 4 years ago)
- Last Synced: 2025-10-29T09:53:04.294Z (8 months ago)
- Language: HTML
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# PyScript Gravity Sensor
This is a demo project showing how to access the [Sensor API](https://developer.mozilla.org/en-US/docs/Web/API/Sensor_APIs) in [PyScript](https://pyscript.net/), which supplements the [accompanying tutorial](https://realpython.com/pyscript-python-in-browser/) on Real Python.
## How To Use
To use this project, open the following URL in a web browser on a mobile device such as a smartphone: