# Waveshare e-paper package
Waveshare e-paper package for Python on Raspberry Pi.
Original source is https://github.com/waveshare/e-Paper.
## Install
```sh
pip install waveshare-epaper
```
## Usage
You can get available e-paper modules list by `epaper.modules()`.
```python
$ 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']
```
- See below for a list of e-paper model names.
- https://github.com/waveshare/e-Paper/tree/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd
- For more information on how to use the e-paper library module, please refer to the `e-Paper` part of the wiki below.
- [Waveshare Wiki](https://www.waveshare.com/wiki/Main_Page#OLEDs_.2F_LCDs)
<br />
`epaper.epaper` method takes the model name and returns the e-paper library module.
```python
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/yskoht/waveshare-epaper",
"name": "waveshare-epaper",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "yskoht",
"author_email": "ysk.oht@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/cf/02/779788ff409ff61a5af0e1c1e2520b04c8424f6dc535d482fb278439a832/waveshare_epaper-1.3.0.tar.gz",
"platform": null,
"description": "\n# Waveshare e-paper package\n\nWaveshare e-paper package for Python on Raspberry Pi.\nOriginal source is https://github.com/waveshare/e-Paper.\n\n## Install\n\n```sh\npip install waveshare-epaper\n```\n\n## Usage\n\nYou can get available e-paper modules list by `epaper.modules()`.\n\n```python\n$ python\nPython 3.7.3 (default, Jan 22 2021, 20:04:44)\n[GCC 8.3.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> import epaper\n>>> epaper.modules()\n['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']\n```\n\n- See below for a list of e-paper model names.\n - https://github.com/waveshare/e-Paper/tree/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd\n- For more information on how to use the e-paper library module, please refer to the `e-Paper` part of the wiki below.\n - [Waveshare Wiki](https://www.waveshare.com/wiki/Main_Page#OLEDs_.2F_LCDs)\n\n<br />\n\n`epaper.epaper` method takes the model name and returns the e-paper library module.\n\n```python\nimport epaper\n\n# For example, when using 7.5inch e-Paper HAT\nepd = epaper.epaper('epd7in5').EPD()\n\n# init and Clear\nepd.init()\nepd.Clear()\n```\n\n## License\n\nThis software is released under the MIT License, see LICENSE.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Waveshare e-paper package for Python on Raspberry Pi",
"version": "1.3.0",
"project_urls": {
"Homepage": "https://github.com/yskoht/waveshare-epaper",
"Repository": "https://github.com/yskoht/waveshare-epaper"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dcce3d0bc72ef7b4fa6aa0f2cb4d9df9fcd56e7df343654a89105ea0d22b8792",
"md5": "3ba5023aee4d1349487de848b060fce9",
"sha256": "f5c0b428157798420388034daf76696dcf8f16fd6b15eb428d2c9ecfb8653908"
},
"downloads": -1,
"filename": "waveshare_epaper-1.3.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "3ba5023aee4d1349487de848b060fce9",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 181379,
"upload_time": "2024-07-02T17:50:37",
"upload_time_iso_8601": "2024-07-02T17:50:37.741267Z",
"url": "https://files.pythonhosted.org/packages/dc/ce/3d0bc72ef7b4fa6aa0f2cb4d9df9fcd56e7df343654a89105ea0d22b8792/waveshare_epaper-1.3.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cf02779788ff409ff61a5af0e1c1e2520b04c8424f6dc535d482fb278439a832",
"md5": "2d6a57d12feae3a7b8fe53e98cc44ece",
"sha256": "6163a575f84d2c73b913d616ee66f8953f9bddbbd316f96caa7b6f686032492f"
},
"downloads": -1,
"filename": "waveshare_epaper-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "2d6a57d12feae3a7b8fe53e98cc44ece",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 97779,
"upload_time": "2024-07-02T17:50:39",
"upload_time_iso_8601": "2024-07-02T17:50:39.778463Z",
"url": "https://files.pythonhosted.org/packages/cf/02/779788ff409ff61a5af0e1c1e2520b04c8424f6dc535d482fb278439a832/waveshare_epaper-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-02 17:50:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yskoht",
"github_project": "waveshare-epaper",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "waveshare-epaper"
}