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.146.171707

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.146.171707
File Size Uploaded
PyDigiPio-20.146.171707.tar.gz 2.1 kB Details

Built distribution (wheel)

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

Total release size: 5.2 kB

Release files / PyDigiPio-20.146.171707.tar.gz

Download URL PyDigiPio-20.146.171707.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4314fb5c94719fca74284960b12edc8efe9d96b1f7d37db0101faa4080d33e5b
BLAKE2b-256 checksum
How to use checksums
c8ca8aff2f6dc911ea21d8263164eac34dbcee968ba343dd835290814646eb59
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.146.171707-py3-none-any.whl

Download URL PyDigiPio-20.146.171707-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c796335a9491756bb487466d3fdba6bb6e45b8833b98cfb73ba70ea0930d3c73
BLAKE2b-256 checksum
How to use checksums
9b7cf3a22b64cf49d1cb84ba426bca9915772296c7abd657657ab67836adcb67
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 history Release notifications | RSS feed

This release

20.146.171707 This release

2 release files

0.1.3

2 release files

0.1.1

1 release file

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