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.1.2.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.1.2-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: devint-0.1.2.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.1.2.tar.gz
Algorithm Hash digest
SHA256 a83e089c0fa5a88d0981fcfbf29bc854b10c5fe80d5e4c8c47cf8bcbea792223
MD5 2a719c79049d1f1c8367a1774219d593
BLAKE2b-256 b8d170d0201a24cc3850570d9b505bcfa309e49e475d898f4e6ad8e60bb27bec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: devint-0.1.2-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.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 366e0d20e91ae34fd67576aedeaebae8d97a42dc728b2a381029fb4d7aef2b0e
MD5 2ba4a25b26763867e623f8fb397f67ac
BLAKE2b-256 d164a685992f1bc6e58eeb02a3c91bd41cde3516ea30fccb75606faf107aff4d

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