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 | |
|---|---|---|---|
| adafruit_io-3.0.0.tar.gz | 55.0 kB | 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
|