Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

epdlib

epdlib is a Python library for drawing layouts (text, images and shapes in sections of the screen) and showing them on e-paper and other frame-buffered displays (displays that show a complete image sent to them from memory). It is used by PaperPi.

Status: version 1 pre-release

Version 1 is a rewrite from scratch. It is published as a pre-release (a test version before the final 1.0.0), so its interface may still change. Install it with:

pip install "epdlib>=1.0.0a1"             # layouts and the virtual driver only
pip install "epdlib[it8951]>=1.0.0a1"     # with the IT8951 driver (Raspberry Pi)
pip install "epdlib[waveshare]>=1.0.0a1"  # with the Waveshare driver (Raspberry Pi)

Without >=1.0.0a1, pip install epdlib installs the old version 0.6.5.2. Its code and documentation are on the v0.6 branch, with the last state marked by the tag v0.6-final. Version 1 does not read or run code written for 0.6.

What version 1 has

  • Layouts and drawing without any display attached, for previews, tests and documentation: see Writing layouts.
  • A simple interface for display drivers, with a "virtual" driver that saves images as PNG files.
  • The IT8951 driver, for the Waveshare 9.7" screen and the other screens sold with Waveshare's IT8951 board (the controller chip for the larger screens), on Raspberry Pi OS "bookworm" and "trixie": see IT8951 screens.
  • The Waveshare driver, for Waveshare's small screens (tested so far: 7.5" V2, 5.83" and 5.65" 7-colour): see Waveshare screens.
  • Time limits on every wait for the display, so a stuck display gives an error instead of freezing the program.

Progress is tracked in milestones.

Development

epdlib supports Python 3.11 (Raspberry Pi OS "bookworm") and newer; development uses 3.13 (Raspberry Pi OS "trixie").

It uses uv, a tool that installs the right Python version and all the packages epdlib needs into a separate folder (.venv), and ruff, a tool that checks code style.

uv sync                    # install everything
uv run pytest              # run the tests (tests that need a real display are skipped)
uv run pytest -m hardware  # run only the tests that need a real display (on the Pi)
uv run ruff check .        # check code style
uv run ruff format .       # fix code formatting

See CLAUDE.md for how work is organized, and Releasing for how a new version is published.

License

GPL v3 or later. See LICENSE.

Metadata

Release files for epdlib 1.0.0a1

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

Source distribution (sdist)

Source distribution for epdlib 1.0.0a1
File Size Uploaded Provenance Actions
epdlib-1.0.0a1.tar.gz 870.4 kB With provenance Details for epdlib-1.0.0a1.tar.gz

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / epdlib-1.0.0a1.tar.gz

Download URL epdlib-1.0.0a1.tar.gz
Size 870.4 kB
Tags Source
SHA-256 checksum
How to use checksums
17019ce48ffb4fabb9120cc4ccfedd9cfccd50246e8dbb6afb02fd81c5658991
BLAKE2b-256 checksum
How to use checksums
62c170d90a05acf800d00d66bb781763fbba9b79ab7ddcc1dd96daca433c9053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 28, 2026.

Transparency log

Release files / epdlib-1.0.0a1-py3-none-any.whl

Download URL epdlib-1.0.0a1-py3-none-any.whl
Size 615.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3535659b4616f9763edaaae750d2554f404edd9b48dc786c561ab72ae0caf3fe
BLAKE2b-256 checksum
How to use checksums
c0ed52aed804cd4af5af234219f055217ea6d664994b1c94eca2769eb68620e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 28, 2026.

Transparency log

Security for epdlib 1.0.0a1

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 epdlib-1.0.0a1.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 Oct 28, 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
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