Skip to main content

BrickPi3 Python Package

Modern Python package for BrickPi3 hardware drivers, configured using pyproject.toml.

Installation

From PyPI (Recommended)

Once published, install with:

pip install brickpi3

On Raspberry Pi OS, this automatically gets optimized ARM wheels from piwheels.

From Source

cd Software/Python
pip install .

Development Installation

For development with editable install:

cd Software/Python
pip install -e .

Package Structure

Software/Python/
├── pyproject.toml    # Modern package configuration (PEP 517/518)
├── MANIFEST.in       # Additional files to include in distribution
├── brickpi3.py       # Main driver module
├── scripts/          # Install scripts
├── troubleshooting/  # Troubleshooting scripts
└── examples/         # Example scripts

Configuration Details

pyproject.toml

This file contains all package metadata:

  • Project metadata: name, version, description, authors
  • Dependencies: spidev for SPI communication
  • Python requirements: >=3.7
  • Classifiers: Platform, development status, audience
  • URLs: Homepage, documentation, repository, bug tracker

Version Management

Version is specified in pyproject.toml:

[project]
version = "4.0.10"

Update this for each release before building.

Building

Build source distribution and wheel:

cd Software/Python
python -m build

This creates:

  • dist/brickpi3-4.0.10tar.gz (source distribution)
  • dist/brickpi3-4.0.10-py3-none-any.whl (wheel)

Requirements

  • Python: 3.7 or higher
  • Platform: Raspberry Pi OS (Linux only)
  • Hardware: BrickPi3 board
  • Dependencies:
    • spidev - SPI interface (automatically installed)

License

MIT License - see LICENSE.md

Links

Metadata

Release files for brickpi3 4.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brickpi3 4.0.10
File Size Uploaded Provenance Actions
brickpi3-4.0.10.tar.gz 78.8 kB With provenance Details for brickpi3-4.0.10.tar.gz

Built distribution (wheel)

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

Total release size: 177.8 kB

Release files / brickpi3-4.0.10.tar.gz

Download URL brickpi3-4.0.10.tar.gz
Size 78.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4b05a3355f8d77031e627151137c6e02594c27c651a36d469abf3047f2df5624
BLAKE2b-256 checksum
How to use checksums
ab0631d3db22936c2f479bf88298dd802fd47817868d893517da7837272386ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.

Transparency log

Release files / brickpi3-4.0.10-py3-none-any.whl

Download URL brickpi3-4.0.10-py3-none-any.whl
Size 99.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d6ac0b46230758af92eb8c8f6385170d3f4dacc9d4f629d3b23b08721c1f124
BLAKE2b-256 checksum
How to use checksums
98af1b2c7359a1b81f0fff4865c24362442f00886414ff3e2f5fd2675fa00ffe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.

Transparency log

Security for brickpi3 4.0.10

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for brickpi3-4.0.10.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

4.0.10 This release

2 release files Full provenance

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