Python Library for interfacing GPIO Pins on Linux based Routers, Network Devices, and embeded Devices like Rasapberry pi and OpenWRT based Routers.
Project description
🔮 UniversalGPIO
Python Library for interfacing GPIO Pins on Linux based Routers, Network Devices, and embedded Devices like Raspberry pi and OpenWRT based Routers.
📔 Documentation
This Package includes
- GPIO Module
- API Module 🏗️ (To be Updated Soon)
- Dignostics and Troubleshooting Module 🚧 (To be Updated Soon)
💽 Installation (Stable Version)
The latest stable version is available on PyPI. Either add UniversalGPIO
to your requirements.txt file or install with pip:
pip install UniversalGPIO
Or install from Releases:
pip install https://github.com/harshsinghvi/UniversalGPIO/releases/download/v1.0.2/UniversalGPIO-1.0.2-py3-none-any.whl
💻 Development
- Directly from source (fork or clone my repo)
git clone https://github.com/harshsinghvi/UniversalGPIO
cd UniversalGPIO
pip install --upgrade pip
pip install -r dev_requirements.txt
python setup.py sdist bdist_wheel ## to build the Package
pip install dist/UniversalGPIO-x.x.x-py3-none-any.whl ## install the package
bumpversion --current-version 1.0.0 minor setup.py UniversalGPIO/__init__.py ## Versioning
📜 Refrences
- https://openwrt.org/docs/techref/hardware/port.gpio
- https://openwrt.org/docs/guide-developer/add.new.device
📝 Contributors
👨💻Harsh Singhvi
🛠️ Tested on
Raspberry PI 3 Model B+
- OpenWrt Version 19.07.4
/etc/os-reaease
NAME="OpenWrt"
VERSION="19.07.4"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07.4"
VERSION_ID="19.07.4"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r11208-ce6496d796"
OPENWRT_BOARD="brcm2708/bcm2710"
OPENWRT_ARCH="aarch64_cortex-a53"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07.4 r11208-ce6496d796"
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
Built Distribution
File details
Details for the file UniversalGPIO-1.0.4.tar.gz
.
File metadata
- Download URL: UniversalGPIO-1.0.4.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3627a6100ddc0955ade54ca8e66485cae6ea36881bbb7d94ced8776a48fdd029 |
|
MD5 | 3166071eec0793f428f8ba9f2762d009 |
|
BLAKE2b-256 | 10cfd717d8e71b77b602dc7f25b8568d6d15099a67e6f069e283caa440a8b92b |
File details
Details for the file UniversalGPIO-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: UniversalGPIO-1.0.4-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96b2ee578bc07aa41c29aff1e22f18a37c4bfb24606c31614f2b0ee9da6d319c |
|
MD5 | 9d41a72a5af5038721a497de516fbcbb |
|
BLAKE2b-256 | 729bd8ee45ae0b3a5ec53a608d4a264107931711b5085f68cae418365f8b6224 |