Zorg (https://zorg.github.io/) is a Python framework for robotics and physical computing.
This module provides drivers for General Purpose Input/Output (GPIO) devices. Typically, this library is registered by an adaptor class such as `zorg-edison <https://github.com/zorg/zorg-edison>`__ that supports the needed interfaces for GPIO devices.
Getting Started
Install the module with: pip install zorg zorg-gpio
Documentation
Example
import time
import zorg
def blink_led(my):
while True:
my.led.toggle()
time.sleep(100)
robot = zorg.robot({
"name": "Test",
"connections": {
"edison": {
"adaptor": "zorg_edison.Edison",
},
},
"devices": {
"led": {
"connection": "edison",
"driver": "zorg_gpio.Led",
"pin": 4, # Digital pin 4
},
},
"work": blink_led,
})
robot.start()
Hardware Support
Zorg has a extensible system for connecting to hardware devices. The following GPIO devices are currently supported:
Open a new issue to request support for additional components.
License
Metadata
Release files for zorg-gpio 0.0.7
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 | Actions |
|---|---|---|---|---|
| zorg-gpio-0.0.7.tar.gz | 5.7 kB | Without provenance | Details for zorg-gpio-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zorg_gpio-0.0.7-py2-none-any.whl | Python 2 | none | any | Details for zorg_gpio-0.0.7-py2-none-any.whl |
Total release size: 16.3 kB
Release files / zorg-gpio-0.0.7.tar.gz
| Download URL | zorg-gpio-0.0.7.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6ae830a76a56db8fd50f84314f4bbf4b1746a0385fb45f090e2c200f258a8bc
|
|
BLAKE2b-256 checksum How to use checksums |
fbbba0befcc7a6cc686fc26db3c0b8af4968e4bca003206104f6befac46a8e6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / zorg_gpio-0.0.7-py2-none-any.whl
| Download URL | zorg_gpio-0.0.7-py2-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
270f679271a91ca4d9f82625b20e89650cd56df9fdf43a2d048d86ae9c8151c5
|
|
BLAKE2b-256 checksum How to use checksums |
585b78dc039e602e79b29c6206ed4e4fbd5f168514033fa1d87fb07eb6784ff3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for zorg-gpio 0.0.7
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.