Skip to main content

Waveshare e-paper package for Python on Raspberry Pi

Project description

Waveshare e-paper package

Waveshare e-paper package for Python on Raspberry Pi. Original source is https://github.com/waveshare/e-Paper.

Install

pip install waveshare-epaper

Usage

You can get available e-paper modules list by epaper.modules().

$ python
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import epaper
>>> epaper.modules()
['epd1in02', 'epd1in54', 'epd1in54_V2', 'epd1in54b', 'epd1in54b_V2', 'epd1in54c', 'epd2in13', 'epd2in13_V2', 'epd2in13b_V3', 'epd2in13bc', 'epd2in13d', 'epd2in66', 'epd2in66b', 'epd2in7', 'epd2in7b', 'epd2in7b_V2', 'epd2in9', 'epd2in9_V2', 'epd2in9b_V3', 'epd2in9bc', 'epd2in9d', 'epd3in7', 'epd4in01f', 'epd4in2', 'epd4in2b_V2', 'epd4in2bc', 'epd5in65f', 'epd5in83', 'epd5in83_V2', 'epd5in83b_V2', 'epd5in83bc', 'epd7in5', 'epd7in5_HD', 'epd7in5_V2', 'epd7in5b_HD', 'epd7in5b_V2', 'epd7in5bc']

epaper.epaper method takes the model name and returns the e-paper library module.

import epaper

# For example, when using 7.5inch e-Paper HAT
epd = epaper.epaper('epd7in5').EPD()

# init and Clear
epd.init()
epd.Clear()

License

This software is released under the MIT License, see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

waveshare_epaper-1.4.0.tar.gz (73.2 kB view details)

Uploaded Source

Built Distribution

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

waveshare_epaper-1.4.0-py2.py3-none-any.whl (197.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file waveshare_epaper-1.4.0.tar.gz.

File metadata

  • Download URL: waveshare_epaper-1.4.0.tar.gz
  • Upload date:
  • Size: 73.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for waveshare_epaper-1.4.0.tar.gz
Algorithm Hash digest
SHA256 80e73bfdd51ce2fa644469503262e38cfffd385c102bf6716c183f309eb2679c
MD5 ae917cc192b86a4a22009373397b7f6e
BLAKE2b-256 535c71900a7901ca8fbdd59402e675585bdd2e94e28296729c06a883b5af51a3

See more details on using hashes here.

File details

Details for the file waveshare_epaper-1.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: waveshare_epaper-1.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 197.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.11.0-1018-azure

File hashes

Hashes for waveshare_epaper-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e04fc8617cc03b3d8a258cc4c1f187fe1ced993e8a9f220aa9a150488d50dd40
MD5 89ada29dcaf3a0a9fecb1618be5dd23b
BLAKE2b-256 d7ea2b8de292b908e06e0d12a0b4ace188b3e60584229c66ffcdf99261325148

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