{"id":15142110,"url":"https://github.com/ilikecake/circuitpython_i2c_expanders","last_synced_at":"2026-01-20T05:01:09.043Z","repository":{"id":213739470,"uuid":"734813159","full_name":"ilikecake/CircuitPython_I2C_Expanders","owner":"ilikecake","description":"CircuitPython driver for various I2C GPIO expanders.","archived":false,"fork":false,"pushed_at":"2024-01-07T20:16:10.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T15:17:43.022Z","etag":null,"topics":["circuitpython","circuitpython-community-bundle","circuitpython-library"],"latest_commit_sha":null,"homepage":"","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/ilikecake.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":"2023-12-22T17:33:35.000Z","updated_at":"2023-12-22T19:14:33.000Z","dependencies_parsed_at":"2024-01-07T17:51:06.278Z","dependency_job_id":"93731b05-023b-491a-9d68-1106e9b3a3c8","html_url":"https://github.com/ilikecake/CircuitPython_I2C_Expanders","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"17d6be8f9c047e3af3084796487cd3c56fc5d42d"},"previous_names":["ilikecake/circuitpython_i2c_expanders"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilikecake%2FCircuitPython_I2C_Expanders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilikecake%2FCircuitPython_I2C_Expanders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilikecake%2FCircuitPython_I2C_Expanders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilikecake%2FCircuitPython_I2C_Expanders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilikecake","download_url":"https://codeload.github.com/ilikecake/CircuitPython_I2C_Expanders/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500464,"owners_count":20948881,"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","circuitpython-community-bundle","circuitpython-library"],"created_at":"2024-09-26T09:22:56.747Z","updated_at":"2026-01-20T05:01:08.948Z","avatar_url":"https://github.com/ilikecake.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\n\n\n.. image:: https://readthedocs.org/projects/circuitpython-i2c-expanders/badge/?version=latest\n    :target: https://circuitpython-i2c-expanders.readthedocs.io/\n    :alt: Documentation Status\n\n\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n\n.. image:: https://github.com/ilikecake/CircuitPython_I2C_Expanders/workflows/Build%20CI/badge.svg\n    :target: https://github.com/ilikecake/CircuitPython_I2C_Expanders/actions\n    :alt: Build Status\n\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code Style: Black\n\nDrivers for various I2C GPIO expanders. The library does not require any libraries other than the standard install of circuit python. Once the exapander has been initialized, the pins can be defined and interacted with in the same way as GPIOs on the CPU.\n\nThis library currently supports\n\n* PCA9555\n* PCAL9555\n* PCA9554\n* PCAL9554\n* PCA9538\n* PCAL9538\n\nOther expanders will likely be added over time as I use them.\n\nBased on Adafruit's library for the `MCP230xx expanders \u003chttps://github.com/adafruit/Adafruit_CircuitPython_MCP230xx\u003e`_\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\u003e`_\n* `Bus Device \u003chttps://github.com/adafruit/Adafruit_CircuitPython_BusDevice\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://circuitpython.org/libraries\u003e`_\nor individual libraries can be installed using\n`circup \u003chttps://github.com/adafruit/circup\u003e`_.\n\nInstalling from PyPI\n=====================\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI \u003chttps://pypi.org/project/circuitpython-i2c-expanders/\u003e`_.\nTo install for current user:\n\n.. code-block:: shell\n\n    pip3 install circuitpython-i2c-expanders\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install circuitpython-i2c-expanders\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 .env/bin/activate\n    pip3 install circuitpython-i2c-expanders\n\nInstalling to a Connected CircuitPython Device with Circup\n==========================================================\n\nMake sure that you have ``circup`` installed in your Python environment.\nInstall it with the following command if necessary:\n\n.. code-block:: shell\n\n    pip3 install circup\n\nWith ``circup`` installed and your CircuitPython device connected use the\nfollowing command to install:\n\n.. code-block:: shell\n\n    circup install i2c_expanders\n\nOr the following command to update an existing version:\n\n.. code-block:: shell\n\n    circup update\n\nUsage Example\n=============\nTake a look in the examples folder for a basic example of using this library.\n\nDocumentation\n=============\nAPI documentation for this library can be found on `Read the Docs \u003chttps://circuitpython-i2c-expanders.readthedocs.io/\u003e`_.\n\nFor information on building library documentation, please check out\n`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/ilikecake/CircuitPython_I2C_Expanders/blob/HEAD/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%2Filikecake%2Fcircuitpython_i2c_expanders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filikecake%2Fcircuitpython_i2c_expanders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filikecake%2Fcircuitpython_i2c_expanders/lists"}