E-Paper Display Library
A modernized version of the Waveshare e-Paper library that uses python-periphery for hardware interface and uv for package management.
What's Different
- Uses
python-peripheryinstead of direct GPIO/SPI access - Uses
uvfor fast Python package management - Updated to modern Python practices
- Better error handling and logging
- Simplified project structure
- Lazy imports to avoid GPIO initialization on development machines
Quick Start
- Install dependencies:
uv sync
- Run the simple demo:
python start.py
Project Structure
waveshare_epaper/
├── src/waveshare_epd/ # E-paper display modules
├── start.py # Demo script
├── pyproject.toml # Project configuration
├── README.md # This file
Usage
Import specific display modules as needed:
from waveshare_epd.epd4in2_V2 import EPD
# Initialize display
epd = EPD()
epd.init()
epd.Clear()
# Create and display image
from PIL import Image, ImageDraw
image = Image.new('1', (epd.width, epd.height), 255)
draw = ImageDraw.Draw(image)
draw.text((10, 10), 'Hello World!', fill=0)
epd.display(epd.getbuffer(image))
Supported Displays
Works with various e-paper displays: 1.54", 2.13", 2.7", 2.9", 4.2", 5.83", and 7.5" models.
Demo Features
The demo script showcases:
- Text and graphics rendering
- 4-gray mode display
- Partial update animations
- System information display
Requirements
- Python 3.8+
- uv package manager
- python-periphery
- PIL (Pillow)
- Raspberry Pi or Jetson Nano (for hardware)
License
Based on the original Waveshare e-Paper library. See the original repository for licensing details.
Metadata
Release files for eink-wave 0.1.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 | |
|---|---|---|---|
| eink_wave-0.1.0.tar.gz | 57.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eink_wave-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 228.4 kB
Release files / eink_wave-0.1.0.tar.gz
| Download URL | eink_wave-0.1.0.tar.gz |
|---|---|
| Size | 57.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abc1f5a7d1e11b4c14648637beb12c5de72411e6bd3c6daa1549bd278a1cc4ad
|
|
BLAKE2b-256 checksum How to use checksums |
62578953e03451af7fac901ed2073ebdcdd61835148ba7f0af8c56b33d9c3ad4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.8
|
Release files / eink_wave-0.1.0-py3-none-any.whl
| Download URL | eink_wave-0.1.0-py3-none-any.whl |
|---|---|
| Size | 170.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c877c2e3c6f3ededf09cf2f0b0184d6098c7651cc130973fc8c0e373e92af058
|
|
BLAKE2b-256 checksum How to use checksums |
7cc7c93f3562235fcd1acc81f70fa7f575a9bd6056c6bc46e4fabfde87014c25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.8
|