Skip to main content

Unified Device Interface - A Python library for interacting with various hardware devices and protocols

Project description

DevInt - Unified Device Interface

PyPI Python Version License

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devint-0.2.5.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devint-0.2.5-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file devint-0.2.5.tar.gz.

File metadata

  • Download URL: devint-0.2.5.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.15.8-200.fc42.x86_64

File hashes

Hashes for devint-0.2.5.tar.gz
Algorithm Hash digest
SHA256 0c26ee73b582a50e116cb57622a4ebd2c002c2e40a726103a276c9c5dc5d4c45
MD5 d79a96996d339ea180b858be2c1adb08
BLAKE2b-256 7b1d40e40e293344550b665e07b7c1cab854855a3c394304a8674e135b209a77

See more details on using hashes here.

File details

Details for the file devint-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: devint-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.15.8-200.fc42.x86_64

File hashes

Hashes for devint-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0c009cff4f45a1388b657a376dac71ca0d9bd5b23d34684750a92caa877a0e87
MD5 98ebefffca52ac70c3e073b6eac4e047
BLAKE2b-256 7f9614452640531ed1a8c68bd5d68c7acfcded6acb3cad4b64c8d6c422002cb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page