Python drivers for the GUVA-C32SM and GUVB-C31SM I2C UV sensors
Project description
Introduction
Python drivers for the GUVA-C32SM and GUVB-C31SM I2C UV sensors
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle or individual libraries can be installed using circup.
Works with the GUVx family of I2C UV light sensors
Installing from PyPI
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install adafruit-circuitpython-guvx-i2c
To install system-wide (this may be required in some cases):
sudo pip3 install adafruit-circuitpython-guvx-i2c
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .env
source .env/bin/activate
pip3 install adafruit-circuitpython-guvx-i2c
Installing to a Connected CircuitPython Device with Circup
Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:
pip3 install circup
With circup installed and your CircuitPython device connected use the following command to install:
circup install guvx_i2c
Or the following command to update an existing version:
circup update
Usage Example
See the examples/ folder for usage examples.
Documentation
API documentation for this library can be found on Read the Docs.
For information on building library documentation, please check out this guide.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file adafruit-circuitpython-guvx-i2c-1.0.0.tar.gz
.
File metadata
- Download URL: adafruit-circuitpython-guvx-i2c-1.0.0.tar.gz
- Upload date:
- Size: 29.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf6537d82ceab8d51aeb40105a35d8f0d4dc38d874421460d9932ff247d25700 |
|
MD5 | ec06b5bd47d2c4b8d84c9622f01f27fc |
|
BLAKE2b-256 | efe992c65c20329d2da4ee23d9616ec0f2aaf7465b8a8bdc23d78d5036069bdc |
File details
Details for the file adafruit_circuitpython_guvx_i2c-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: adafruit_circuitpython_guvx_i2c-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c068732dd19a1fc98a9cb078746fabdf7791fadb933e86ffa2ef6210d3cf76c5 |
|
MD5 | 9c63cf30747bbac36141a2510e22db21 |
|
BLAKE2b-256 | 82c571d5b8c6fdf772585ed00c8a6bf5f43c259c7fc9e04814e4dcd550fe9201 |