gpio-sysfs
Libraries to control GPIOs using the sysfs interface
Compatibility
Now comptatible with all versions of Python !
Install
pip install onion-gpio-sysfs
Usage
import onionGpio
# instantiate a GPIO object
gpio0 = onionGpio.OnionGpio(0)
# set to output direction with zero (LOW) being the default value
gpio0.setOutputDirection(0)
# get the vaule
gpio0.getValue()
For further examples look at python/examples/ folder.
Author
Written by https://github.com/greenbreakfast
Python3 code adaptation by https://github.com/jdupl
PyPi package by https://github.com/grizmin
Metadata
Release files for onion-gpio-sysfs 0.1.6
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 | |
|---|---|---|---|---|
| onion_gpio_sysfs-0.1.6.tar.gz | 2.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| onion_gpio_sysfs-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.2 kB
Release files / onion_gpio_sysfs-0.1.6.tar.gz
| Download URL | onion_gpio_sysfs-0.1.6.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f271979c3111cfdb707d9aea7491f125730a7eddfc6a10c9b04d6ac4480fbc1
|
|
BLAKE2b-256 checksum How to use checksums |
2ef4672857b89aa3d4128b00962b1a393af8e684ad0a01a999779215992ab92e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.6.6
|
Release files / onion_gpio_sysfs-0.1.6-py3-none-any.whl
| Download URL | onion_gpio_sysfs-0.1.6-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a956a5a6b276b4360fa19167963b946f8e30b60f0fa93e6b5589c682e0c7fa6c
|
|
BLAKE2b-256 checksum How to use checksums |
4f72af5918a280001fa03252bc2dd3898981150643d5a397febc97046c427738
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.6.6
|
Security for onion-gpio-sysfs 0.1.6
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.