Skip to main content

Adafruit pre-built lgpio wheels for Python 3.13+ on Linux ARM/x86

Project description

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

  1. Update the vendored source files from upstream.
  2. Bump version in pyproject.toml to match upstream.
  3. Commit, create a GitHub release tagged vX.Y.Z.W — CI builds and publishes automatically.

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

adafruit_lgpio-0.2.2.0.tar.gz (91.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adafruit_lgpio-0.2.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (366.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

File details

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

File metadata

  • Download URL: adafruit_lgpio-0.2.2.0.tar.gz
  • Upload date:
  • Size: 91.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for adafruit_lgpio-0.2.2.0.tar.gz
Algorithm Hash digest
SHA256 2e3f1c85e094613b20ddc23a809741933842d6e293e03778e309a232a1105413
MD5 08ba6785334cec385d81aad26cdb53c2
BLAKE2b-256 27dc605b0f7869b63652529e2fc6d6757230594e4ad0bc0879c2e67b7a1f5ef7

See more details on using hashes here.

File details

Details for the file adafruit_lgpio-0.2.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for adafruit_lgpio-0.2.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ce1461d85bf824966edd3c2534df40f383acc2e0bd343ac4341254dfa1ddde76
MD5 13404c1af1a1eb40b9d461b172439007
BLAKE2b-256 ae742a6abafde021c99d9f328822a4b5c540a5e0bc5a2d7a0b5c682939e99836

See more details on using hashes here.

Supported by

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