{"id":14967323,"url":"https://github.com/adafruit/adafruit_circuitpython_il91874","last_synced_at":"2025-10-19T16:31:20.111Z","repository":{"id":40294440,"uuid":"200538582","full_name":"adafruit/Adafruit_CircuitPython_IL91874","owner":"adafruit","description":"CircuitPython `displayio` driver for IL91874-based ePaper displays","archived":false,"fork":false,"pushed_at":"2025-01-16T18:54:21.000Z","size":90,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":20,"default_branch":"main","last_synced_at":"2025-01-28T22:37:32.924Z","etag":null,"topics":["circuitpython","displayio","epaper","epd","hacktoberfest","il91874"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adafruit.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-04T20:28:57.000Z","updated_at":"2025-01-16T15:12:47.000Z","dependencies_parsed_at":"2024-09-14T04:02:32.758Z","dependency_job_id":null,"html_url":"https://github.com/adafruit/Adafruit_CircuitPython_IL91874","commit_stats":{"total_commits":77,"total_committers":17,"mean_commits":4.529411764705882,"dds":0.7402597402597403,"last_synced_commit":"077f7ab2d6c7c39ae458ae9a1ec6937fc3ed6e96"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_IL91874","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_IL91874/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_IL91874/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adafruit%2FAdafruit_CircuitPython_IL91874/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adafruit","download_url":"https://codeload.github.com/adafruit/Adafruit_CircuitPython_IL91874/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237163272,"owners_count":19265243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circuitpython","displayio","epaper","epd","hacktoberfest","il91874"],"created_at":"2024-09-24T13:37:50.990Z","updated_at":"2025-10-19T16:31:20.105Z","avatar_url":"https://github.com/adafruit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-il91874/badge/?version=latest\n    :target: https://docs.circuitpython.org/projects/il91874/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_IL91874/workflows/Build%20CI/badge.svg\n    :target: https://github.com/adafruit/Adafruit_CircuitPython_IL91874/actions\n    :alt: Build Status\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Code Style: Ruff\n\nCircuitPython `displayio` driver for IL91874-based ePaper displays\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\u003e`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle \u003chttps://github.com/adafruit/Adafruit_CircuitPython_Bundle\u003e`_.\n\nInstalling from PyPI\n=====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI \u003chttps://pypi.org/project/adafruit-circuitpython-il91874/\u003e`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install adafruit-circuitpython-il91874\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install adafruit-circuitpython-il91874\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name \u0026\u0026 cd project-name\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip3 install adafruit-circuitpython-il91874\n\nUsage Example\n=============\n\n.. code-block:: python\n\n    \"\"\"Simple test script for 2.7\" 264x176 Tri-Color display shield\n\n    Supported products:\n      * Adafruit 2.7\" Tri-Color ePaper Display Shield\n        * https://www.adafruit.com/product/4229\n      \"\"\"\n\n    import time\n    import board\n    import busio\n    import displayio\n    import fourwire\n    import adafruit_il91874\n\n    displayio.release_displays()\n\n    spi = board.SPI()\n    epd_cs = board.D10\n    epd_dc = board.D9\n\n    display_bus = fourwire.FourWire(spi, command=epd_dc, chip_select=epd_cs, baudrate=1000000)\n    time.sleep(1)\n\n    display = adafruit_il91874.IL91874(display_bus, width=264, height=176, highlight_color=0xff0000, rotation=90)\n\n    g = displayio.Group()\n\n    pic = displayio.OnDiskBitmap(\"/display-ruler.bmp\")\n    # Create a Tilegrid with the bitmap and put in the displayio group\n    t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)\n    g.append(t)\n\n    # Place the display group on the screen (does not refresh)\n    display.root_group = g\n\n    # Show the image on the display\n    display.refresh()\n\n    print(\"refreshed\")\n\n    # Do Not refresh the screen more often than every 180 seconds\n    #   for eInk displays! Rapid refreshes will damage the panel.\n    time.sleep(180)\n\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs \u003chttps://docs.circuitpython.org/projects/il91874/en/latest/\u003e`_.\n\nFor information on building library documentation, please check out `this guide \u003chttps://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1\u003e`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n\u003chttps://github.com/adafruit/Adafruit_CircuitPython_IL91874/blob/main/CODE_OF_CONDUCT.md\u003e`_\nbefore contributing to help this project stay welcoming.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_il91874","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_il91874","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadafruit%2Fadafruit_circuitpython_il91874/lists"}