Adafruit IO Python
A Python library and examples for use with io.adafruit.com.
Compatible with Python Versions 3.6+
Installation
Easy Installation
If you have PIP installed (typically with apt-get install python-pip on a Debian/Ubuntu-based system) then run:
pip3 install adafruit-io
This will automatically install the Adafruit IO Python client code for your Python scripts to use. You might want to examine the examples folder in this GitHub repository to see examples of usage.
If the above command fails, you may first need to install prerequisites:
pip3 install setuptools
pip3 install wheel
Manual Installation
Clone or download the contents of this repository. Then navigate to the folder in a terminal and run the following command:
python setup.py install
Usage
Documentation for this project is available on the ReadTheDocs.
Service Integrations
The client includes REST and MQTT helpers for Adafruit IO integrations:
Time
Random Data
Weather (requires IO+ subscription)
Air Quality (requires IO+ subscription)
Integration API details are documented in docs/integrations.rst.
Service integration examples are included in:
examples/api/weather.py
examples/api/weather_create_delete.py
examples/api/air_quality.py
examples/api/air_quality_create_delete.py
examples/mqtt/mqtt_weather.py
examples/mqtt/mqtt_air_quality.py
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Metadata
Release files for adafruit-io 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| adafruit_io-3.0.0.tar.gz | 55.0 kB | Without provenance | Details |
Release files / adafruit_io-3.0.0.tar.gz
| Download URL | adafruit_io-3.0.0.tar.gz |
|---|---|
| Size | 55.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43bff22f3386fb470633b8a60cf35a270d5d50d60f4462684c2413e59b3fe784
|
|
BLAKE2b-256 checksum How to use checksums |
eab0f771aae1c67083854369719cbc9c0a9a7f530c55a17dd31d0f330568c12c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for adafruit-io 3.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.