DevInt - Unified Device Interface
A Python library for interacting with various hardware devices and protocols through a unified interface.
Features
- Unified API for different hardware interfaces (I2C, SPI, GPIO, Serial, etc.)
- Device Registry for easy hardware component management
- Web Interface for remote monitoring and control
- Multiple Protocol Support:
- Modbus RTU/TCP
- I2C/SMBus
- SPI
- GPIO
- 1-Wire
- CAN bus
- MQTT
- Pre-built Device Support for common hardware (Raspberry Pi HATs, Waveshare modules, etc.)
Installation
pip install devint
For development:
git clone https://github.com/softreck/devint.git
cd devint
poetry install
Quick Start
from devint import MultiDeviceService
from devint.registry.raspberry_pi.sense_hat import RaspberrySenseHAT
# Create a service
service = MultiDeviceService()
# Add a device
sense_hat = RaspberrySenseHAT("sense_hat_1")
service.add_device(sense_hat)
# Start the service (includes web interface on port 5000)
service.start()
Documentation
For full documentation, please visit https://github.com/pyfunc/devint
License
Apache 2.0 - See LICENSE for more information.
Contributing
Contributions are welcome! Please read our Contributing Guide for details.
Metadata
Release files for devint 0.2.5
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 | Actions |
|---|---|---|---|---|
| devint-0.2.5.tar.gz | 19.2 kB | Without provenance | Details for devint-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| devint-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for devint-0.2.5-py3-none-any.whl |
Total release size: 47.8 kB
Release files / devint-0.2.5.tar.gz
| Download URL | devint-0.2.5.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c26ee73b582a50e116cb57622a4ebd2c002c2e40a726103a276c9c5dc5d4c45
|
|
BLAKE2b-256 checksum How to use checksums |
7b1d40e40e293344550b665e07b7c1cab854855a3c394304a8674e135b209a77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.12 Linux/6.15.8-200.fc42.x86_64
|
Release files / devint-0.2.5-py3-none-any.whl
| Download URL | devint-0.2.5-py3-none-any.whl |
|---|---|
| Size | 28.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c009cff4f45a1388b657a376dac71ca0d9bd5b23d34684750a92caa877a0e87
|
|
BLAKE2b-256 checksum How to use checksums |
7f9614452640531ed1a8c68bd5d68c7acfcded6acb3cad4b64c8d6c422002cb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.12 Linux/6.15.8-200.fc42.x86_64
|
Security for devint 0.2.5
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.