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

Uploaded Python 3

File details

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

File metadata

  • Download URL: devint-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c5f5d3f19ddfc653ad26bb67879c9322a8bf329d75660e0578a4a1cae38f7b11
MD5 607bccda6c4eefcc3b45cd70c82ae4f6
BLAKE2b-256 c1e9f579c93fbe142a9a45b6171e4e0bafd25db6d1ee69b8d4ceae5ff5c8d276

See more details on using hashes here.

File details

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

File metadata

  • Download URL: devint-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 13775afeb970a4d51d8e6c16467819d282e90c0ef5f556e2c1fffcf2afa6c386
MD5 f08eba7e851962d83f00fe91f18aa1f1
BLAKE2b-256 e0b74286e2307a90570d242e8a826d0ec3ab521c2d301fe4c6a750aaa5f5f5e6

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