Skip to main content

Helper library for working with Linux gpiochip devices.

Project description

gpiodevice

Build Status Coverage Status PyPi Package Python Versions

A GPIO counterpart to i2cdevice, generated from the Pimoroni Python Boilerplate.

What is gpiodevice?

gpiodevice is a simple middleware library intended to make some user-facing aspects of interfacing with Linux's GPIO character device ABI (via gpiod) simpler and friendlier.

gpiodevice is not intended to replace gpiod, but collects some common patterns into a reusable library for GPIO-based Python projects.

Changelog

0.0.3

  • Deprecate the friendly_errors flag in favour of a new fatal flag on methods
  • Catch use of int pin numbers from unported code and raise a friendly error

0.0.2

  • Add platform detection
  • ROCK 5B support
  • Bug fixes

0.0.1

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpiodevice-0.0.3.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

gpiodevice-0.0.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file gpiodevice-0.0.3.tar.gz.

File metadata

  • Download URL: gpiodevice-0.0.3.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for gpiodevice-0.0.3.tar.gz
Algorithm Hash digest
SHA256 b5bf91c5d4d5dd3dad3dacceb3176defe98672c958e1518616becdbb17ad51db
MD5 9363aff5ddce0e44e545bccc0f99f30f
BLAKE2b-256 a9e16ec6deec848e761e945f10c45aafb88f9f00eec3868c5f3d26e00c553b12

See more details on using hashes here.

File details

Details for the file gpiodevice-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: gpiodevice-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for gpiodevice-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0cf2113e6bf7fd3f0b51c6f7372b6f6cea83fe01c14d79638841f07802ca4906
MD5 361342073c603140921c250204ed16c9
BLAKE2b-256 1907412a408b8f15ba4e12a8109761d11bb722593018bdf5150c1f35cebc46cd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page