Skip to main content

Linux SBC GPIO module

Project description

lgpio Package

lgpio is a module for Linux Single Board Computers (SBC) which allows control of the General Purpose Input Outputs (GPIO).

Features

  • reading and writing GPIO singly and in groups
  • software timed PWM and waves
  • callbacks on GPIO level change
  • notifications via pipe on GPIO level change
  • I2C wrapper
  • SPI wrapper
  • serial link wrapper

Installation

pypy can not handle Linux libraries properly at the moment.

You need to install the lgpio module from the lg archive.

See http://abyz.me.uk/lg/download.html

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

lgpio-0.2.2.0.tar.gz (90.1 kB view details)

Uploaded Source

Built Distributions

lgpio-0.2.2.0-cp312-cp312-manylinux_2_34_x86_64.whl (372.1 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

lgpio-0.2.2.0-cp312-cp312-manylinux_2_34_aarch64.whl (366.1 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.34+ ARM64

lgpio-0.2.2.0-cp312-cp312-linux_armv7l.whl (384.0 kB view details)

Uploaded CPython 3.12

lgpio-0.2.2.0-cp311-cp311-manylinux_2_34_x86_64.whl (370.2 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

lgpio-0.2.2.0-cp311-cp311-manylinux_2_34_aarch64.whl (364.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.34+ ARM64

lgpio-0.2.2.0-cp311-cp311-linux_armv7l.whl (383.0 kB view details)

Uploaded CPython 3.11

lgpio-0.2.2.0-cp310-cp310-manylinux_2_34_x86_64.whl (362.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

lgpio-0.2.2.0-cp310-cp310-manylinux_2_34_aarch64.whl (356.7 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ ARM64

lgpio-0.2.2.0-cp310-cp310-linux_armv7l.whl (376.7 kB view details)

Uploaded CPython 3.10

lgpio-0.2.2.0-cp39-cp39-manylinux_2_34_x86_64.whl (361.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.34+ x86-64

lgpio-0.2.2.0-cp39-cp39-manylinux_2_34_aarch64.whl (356.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.34+ ARM64

lgpio-0.2.2.0-cp39-cp39-linux_armv7l.whl (376.6 kB view details)

Uploaded CPython 3.9

File details

Details for the file lgpio-0.2.2.0.tar.gz.

File metadata

  • Download URL: lgpio-0.2.2.0.tar.gz
  • Upload date:
  • Size: 90.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for lgpio-0.2.2.0.tar.gz
Algorithm Hash digest
SHA256 11372e653b200f76a0b3ef8a23a0735c85ec678a9f8550b9893151ed0f863fff
MD5 61232b23a142e22c151d070bf762f524
BLAKE2b-256 563326ec2e8049eaa2f077bf23a12dc61ca559fbfa7bea0516bf263d657ae275

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: lgpio-0.2.2.0-cp312-cp312-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 372.1 kB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for lgpio-0.2.2.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2aadff092f642fcdada8457c158f87259dfda3a89ec19bae0b99ff22b34aac4b
MD5 7b08afbb2c45d2367f1cde233d533572
BLAKE2b-256 4c7ae3b4e5225c9792c4092b2cc07504746acbe62d0a8e4cb023bdf65f6430cf

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: lgpio-0.2.2.0-cp312-cp312-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 366.1 kB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for lgpio-0.2.2.0-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 d907db79292c721c605af08187385ddb3b7af09907e1ffca56cf0cd6558ace0a
MD5 ad8bba595e4d90cfabdb268a5a934e77
BLAKE2b-256 3b1cbecd00f66d2c65feed9a668ff9d91732394cb6baba7bec505d55de0e30c9

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp312-cp312-linux_armv7l.whl.

File metadata

File hashes

Hashes for lgpio-0.2.2.0-cp312-cp312-linux_armv7l.whl
Algorithm Hash digest
SHA256 6c65ac42e878764d04a71ed12fe6d46089b36e9e8127722bf29bb2e4bc91de22
MD5 44f70ef2e37a97d68de18d0530c5ab28
BLAKE2b-256 fe73e56c9afb845df53492d42bdea01df9895272bccfdd5128f34719c3a07990

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: lgpio-0.2.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 370.2 kB
  • Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for lgpio-0.2.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e9f4f3915abe5ae0ffdb4b96f485076d80a663876d839e2d3fd9218a71b9873e
MD5 8a31a650ce55ed116631f4521096299f
BLAKE2b-256 a47111f4e3d76400e4ca43f9f9b014f5a86d9a265340c0bea45cce037277eb34

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp311-cp311-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: lgpio-0.2.2.0-cp311-cp311-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 364.8 kB
  • Tags: CPython 3.11, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for lgpio-0.2.2.0-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 a2f71fb95b149d8ac82c7c6bae70f054f6dc42a006ad35c90c7d8e54921fbcf4
MD5 ba38731ac4d3a74f2a87ce3bdbcd61c2
BLAKE2b-256 8853e57a22fe815fc68d0991655c1105b8ed872a68491d32e4e0e7d10ffb5c4d

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp311-cp311-linux_armv7l.whl.

File metadata

File hashes

Hashes for lgpio-0.2.2.0-cp311-cp311-linux_armv7l.whl
Algorithm Hash digest
SHA256 5b3c403e1fba9c17d178f1bde102726c548fc5c4fc1ccf5ec3e18f3c08e07e04
MD5 d5d427f17ae63f52a102d467ba238069
BLAKE2b-256 784e5721ae44b29e4fe9175f68c881694e3713066590739a7c87f8cee2835c25

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: lgpio-0.2.2.0-cp310-cp310-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 362.1 kB
  • Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for lgpio-0.2.2.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d245f315e4bc5ba1b72df9fd935a16c99e56ccf6b41d9f66a87804c1dfd91c86
MD5 ef8be793fddd5b101c0880e69bf296fc
BLAKE2b-256 d5ca1c5278b2548e956a52a07efae91ce2300f81c8cf4ad3d7d6b98ce8987e15

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp310-cp310-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: lgpio-0.2.2.0-cp310-cp310-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 356.7 kB
  • Tags: CPython 3.10, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for lgpio-0.2.2.0-cp310-cp310-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 f8f1a2818ed4293182999679ac8559aea70d45743f5a3ae8025837e529d9e0d4
MD5 3679952b303a597f030d38a6107cb875
BLAKE2b-256 9cdbfbbade15dbc9febdbd06bd82531c0a78206f96262003145d6953396d9554

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp310-cp310-linux_armv7l.whl.

File metadata

File hashes

Hashes for lgpio-0.2.2.0-cp310-cp310-linux_armv7l.whl
Algorithm Hash digest
SHA256 97fe5fb0e888c96031e8899e8c0eca64c63076a6d1f1e774acad8696430b2ff6
MD5 8d00b48b422c4412e97bd851c6a2b4ae
BLAKE2b-256 40b9d23f9539bbddf47c01a14fc96158a42d9de454fd9d04f7be1347ca6db8fd

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp39-cp39-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: lgpio-0.2.2.0-cp39-cp39-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 361.7 kB
  • Tags: CPython 3.9, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for lgpio-0.2.2.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f95d6a6db23f99e745e0aee36cd49a515dd6846a5ddb49474c73a390bb2048e2
MD5 7bb1050e6b1614edc44c2c99712341e0
BLAKE2b-256 0b69f60b1479b4370f3f9fba696d1c42e5802292421a2f96f63fff001698848c

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp39-cp39-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: lgpio-0.2.2.0-cp39-cp39-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 356.5 kB
  • Tags: CPython 3.9, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for lgpio-0.2.2.0-cp39-cp39-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 9ed135824c717901457dcf2462bb1af9f5445aa6e56bb7a9263fc064620ef586
MD5 1acf71175700af56f3e34a554b738e1e
BLAKE2b-256 7eecebfcb05deb276f34aa2abf9f4163980014177a916ffd217525f47b63192d

See more details on using hashes here.

File details

Details for the file lgpio-0.2.2.0-cp39-cp39-linux_armv7l.whl.

File metadata

File hashes

Hashes for lgpio-0.2.2.0-cp39-cp39-linux_armv7l.whl
Algorithm Hash digest
SHA256 1594dd4fdf054ff396bf0730802732c26aa2040d6c70250d0d34f703baafd121
MD5 95a226c55bad39280f6055cabdfd820c
BLAKE2b-256 07bb61170f77afe6be106eb76994468d0b814df5d69475b2ef4c58df6dbbbe34

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