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.6.tar.gz
.
File metadata
- Download URL: adafruit-circuitpython-guvx-i2c-1.0.6.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a0151eeb8fb1e673c2147d6ae23be6aca6bebe73bae19fa192e29d8600cb200 |
|
MD5 | 6b733202817d69b684e2b0c0c56302f1 |
|
BLAKE2b-256 | d67f4d17a66a1e0a073223c724df96956de644279d093020ebf6f1d968accd6d |
File details
Details for the file adafruit_circuitpython_guvx_i2c-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: adafruit_circuitpython_guvx_i2c-1.0.6-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3684c6d76aad89e36d03b173b9e95e43d660661732898157175100131923ee7 |
|
MD5 | eae7f01e2ec585ca3b09e6c711c9fa04 |
|
BLAKE2b-256 | 779123f05be92cd68f1c26eb61fb0c7ef5674167ac4da1cffa2fc44690711462 |