Skip to main content

PyDigiPio

Python package

Python module for Raspberry Pi GPIO

The What

This is a python module to interface with the digital inputs and output of the Raspberry Pi GPIO. Nothing more, nothing less.

The Why

Sometimes you just need digital I/O on the Raspberry Pi (and possibly other device, untested so far). This library provides direct access without the need of complex libraries.

The How

Install from PyPi:

pip install PyDigiPio

Usage:

import PyDigiPio

# Sets pin assigned to GPIO 1 as output
PyDigiPio.configure_pin(1, 'out')

# Set GPIO 1 HIGH
PyDigiPio.write_to_pin(1, True)
# Set GPIO 1 LOW
PyDigiPio.write_to_pin(1, False)

# Sets pin assigned to GPIO 2 as input
PyDigiPio.configure_pin(2, 'in')
# Get state of GPIO 2
PyDigiPio.read_from_pin(2)

OSError exception is thrown if GPIO device is configured incorrectly

The Who

Einar Arnason
https://github.com/EinarArnason/
https://www.linkedin.com/in/einararnason/

Metadata

Release files for PyDigiPio 20.145.155515

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyDigiPio 20.145.155515
File Size Uploaded Provenance Actions
PyDigiPio-20.145.155515.tar.gz 2.2 kB Without provenance Details for PyDigiPio-20.145.155515.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyDigiPio 20.145.155515
File Interpreter ABI Platform Actions
PyDigiPio-20.145.155515-py3-none-any.whl Python 3 none any Details for PyDigiPio-20.145.155515-py3-none-any.whl

Total release size: 5.3 kB

Release files / PyDigiPio-20.145.155515.tar.gz

Download URL PyDigiPio-20.145.155515.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b2bbd52927df4908e0d3e1112b54b2318ebc1b008207002c702f83b1d82db7f6
BLAKE2b-256 checksum
How to use checksums
8ac64b8fa93484a31294f4085ab5bc9e5772dba5d72157d53dc14f28f6baff74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release files / PyDigiPio-20.145.155515-py3-none-any.whl

Download URL PyDigiPio-20.145.155515-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1829c4ba8dcb83bc4b71df4890f854df7b1d04a2ac3bed0b7968c6c12b6fef51
BLAKE2b-256 checksum
How to use checksums
5997ddf1d503b60fc75f60d2bee4afb39716f0c92cf3ad06edf034ef2f8a0bff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Security for PyDigiPio 20.145.155515

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page