Adafruit Python lgpio
Pre-built wheels for lgpio covering Python 3.13+
on aarch64 and armv7l Linux (Raspberry Pi, BeagleBoard, Odroid, and similar SBCs).
Upstream lgpio ships wheels for Python 3.9–3.12 on PyPI, but has no pre-built wheels for Python 3.13 and later. Building from source requires SWIG, which most users don't have installed. This package fills that gap.
It is published to PyPI as adafruit-lgpio and is a drop-in replacement for lgpio
on Python 3.13+.
Usage
In your requirements.txt (example from Adafruit_Blinka):
lgpio>=0.2.2.0; sys_platform=='linux' and python_version<'3.13' and platform_machine in ('aarch64', 'armv7l')
adafruit-lgpio>=0.2.2.0; sys_platform=='linux' and python_version>='3.13' and platform_machine in ('aarch64', 'armv7l')
import lgpio # same import as upstream lgpio
Version scheme
The version tracks upstream lgpio exactly (e.g. 0.2.2.0).
Source
The C extension source (src/, lgpio.i, lgpio_extra.py) is vendored from
joan2937/lg under the Unlicense.
Updating for a new lgpio release
- Update the vendored source files from upstream.
- Bump
versioninpyproject.tomlto match upstream. - Commit, create a GitHub release tagged
vX.Y.Z.W— CI builds and publishes automatically.
Metadata
Release files for adafruit-lgpio 0.2.2.0
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 |
|---|---|---|---|---|
| adafruit_lgpio-0.2.2.0.tar.gz | 91.4 kB | Without provenance | Details for adafruit_lgpio-0.2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adafruit_lgpio-0.2.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.17+ ARM64 | Details for adafruit_lgpio-0.2.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
Total release size: 458.1 kB
Release files / adafruit_lgpio-0.2.2.0.tar.gz
| Download URL | adafruit_lgpio-0.2.2.0.tar.gz |
|---|---|
| Size | 91.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e3f1c85e094613b20ddc23a809741933842d6e293e03778e309a232a1105413
|
|
BLAKE2b-256 checksum How to use checksums |
27dc605b0f7869b63652529e2fc6d6757230594e4ad0bc0879c2e67b7a1f5ef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / adafruit_lgpio-0.2.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | adafruit_lgpio-0.2.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 366.7 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
ce1461d85bf824966edd3c2534df40f383acc2e0bd343ac4341254dfa1ddde76
|
|
BLAKE2b-256 checksum How to use checksums |
ae742a6abafde021c99d9f328822a4b5c540a5e0bc5a2d7a0b5c682939e99836
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for adafruit-lgpio 0.2.2.0
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.