gpio3 is a comfy yet reasonably efficient GPIO interface for python.
Example usage for the impatient:
>>> import gpio3
>>>
>>> g = gpio3.LinuxGPIO(203)
>>> # or gpio3.LinuxGPIO(gpio3.mainline_sunxi_pin("PG11"))
>>> g.direction
'in'
>>> g.value
0
>>> g.direction = 'out'
>>> g.direction
'out'
>>> g.value
0
>>> g.value = 1
>>> g.value
1
Release files for gpio3 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gpio3-3.0.1.tar.gz | 2.0 kB | Details |
Release files / gpio3-3.0.1.tar.gz
| Download URL | gpio3-3.0.1.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecbeced6b855cde1442a620e29e42b8b67a44c7b390b55779edc619afd99af7a
|
|
BLAKE2b-256 checksum How to use checksums |
f3c88c865ccefa23b4ab2c57c338e3dafb66c2ae8e572bbc12720c91b716e528
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |