{ "info": { "author": "Adafruit Industries", "author_email": "circuitpython@adafruit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ssd1306/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/ssd1306/en/latest/\n :alt: Documentation Status\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n :target: https://discord.gg/nBQh6qu\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_SSD1306.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_SSD1306\n :alt: Build Status\n\nAdafruit CircuitPython driver for SSD1306 or SSD1305 OLED displays. Note that SSD1305 displays are back compatible so they can be used in-place of SSD1306 with the same code and commands.\n\nThis is **not** the `displayio` driver for the SSD1306. See the `Adafruit CircuitPython DisplayIO SSD1306 `_ driver for `displayio` support.\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\n* `Adafruit framebuf `_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle `_.\n\nUsage Example\n=============\n\n.. code-block:: python3\n\n # Basic example of clearing and drawing pixels on a SSD1306 OLED display.\n # This example and library is meant to work with Adafruit CircuitPython API.\n # Author: Tony DiCola\n # License: Public Domain\n\n # Import all board pins.\n from board import SCL, SDA\n import busio\n\n # Import the SSD1306 module.\n import adafruit_ssd1306\n\n\n # Create the I2C interface.\n i2c = busio.I2C(SCL, SDA)\n\n # Create the SSD1306 OLED class.\n # The first two parameters are the pixel width and pixel height. Change these\n # to the right size for your display!\n display = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c)\n # Alternatively you can change the I2C address of the device with an addr parameter:\n #display = adafruit_ssd1306.SSD1306_I2C(128, 32, i2c, addr=0x31)\n\n # Clear the display. Always call show after changing pixels to make the display\n # update visible!\n display.fill(0)\n\n display.show()\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nBuilding locally\n================\n\nZip release files\n-----------------\n\nTo build this library locally you'll need to install the\n`circuitpython-build-tools `_ package.\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install circuitpython-build-tools\n\nOnce installed, make sure you are in the virtual environment:\n\n.. code-block:: shell\n\n source .env/bin/activate\n\nThen run the build:\n\n.. code-block:: shell\n\n circuitpython-build-bundles --filename_prefix adafruit-circuitpython-ssd1306 --library_location .\n\nSphinx documentation\n-----------------------\n\nSphinx is used to build the documentation based on rST files and comments in the code. First,\ninstall dependencies (feel free to reuse the virtual environment from above):\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install Sphinx sphinx-rtd-theme\n\nNow, once you have the virtual environment activated:\n\n.. code-block:: shell\n\n cd docs\n sphinx-build -E -W -b html . _build/html\n\nThis will output the documentation to ``docs/_build/html``. Open the index.html in your browser to\nview them. It will also (due to -W) error out on any warning like Travis will. This is a good way to\nlocally verify it will pass.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_CircuitPython_SSD1306", "keywords": "adafruit ssd1306 oled displays hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-ssd1306", "package_url": "https://pypi.org/project/adafruit-circuitpython-ssd1306/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-ssd1306/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_SSD1306" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-ssd1306/2.7.0/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for SSD1306 OLED displays.", "version": "2.7.0" }, "last_serial": 5892604, "releases": { "2.4.0": [ { "comment_text": "", "digests": { "md5": "9d6a358aa7c5b7e88e5a95f2a7f296f5", "sha256": "be684bf6a015502cbc4d32514052bbdc86a8139dc4b2ed1f757eadc6026c4415" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.4.0.tar.gz", "has_sig": false, "md5_digest": "9d6a358aa7c5b7e88e5a95f2a7f296f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22452, "upload_time": "2018-08-07T23:13:25", "url": "https://files.pythonhosted.org/packages/0b/23/a9541857cd6a6ccbf20953b8d9fd1cc82443670193f2dbb23d727cd40980/adafruit-circuitpython-ssd1306-2.4.0.tar.gz" } ], "2.4.1": [ { "comment_text": "", "digests": { "md5": "3af3c63d7ddb1e0f40881647170006a1", "sha256": "c6abd3d3df2149581bd46f44c233a4f7f51f73d2217348804419f3cfc3dea60b" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.4.1.tar.gz", "has_sig": false, "md5_digest": "3af3c63d7ddb1e0f40881647170006a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22453, "upload_time": "2018-11-12T17:36:20", "url": "https://files.pythonhosted.org/packages/57/5a/db99b936364efaec302fc65e576478e065f3b947857deea0b8e3c307dd3b/adafruit-circuitpython-ssd1306-2.4.1.tar.gz" } ], "2.5.0": [ { "comment_text": "", "digests": { "md5": "c70d41d6c21a1c2134f428d61088fb15", "sha256": "709f59c7278864085ce44923b19573ca6b6812d955bcb64ca03d05b7fc32a066" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.5.0.tar.gz", "has_sig": false, "md5_digest": "c70d41d6c21a1c2134f428d61088fb15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22200, "upload_time": "2018-12-22T18:04:09", "url": "https://files.pythonhosted.org/packages/74/26/19035697bbd2eec10252e0391c7e201bb78fd2b19a504504b6642e791d9c/adafruit-circuitpython-ssd1306-2.5.0.tar.gz" } ], "2.6.1": [ { "comment_text": "", "digests": { "md5": "99690778ef66c1de509bffff75980c2d", "sha256": "44cd090f89d93575d6add6f7262acd9d9d75b6e600c58f3cdb1c09ad63f4f288" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.6.1.tar.gz", "has_sig": false, "md5_digest": "99690778ef66c1de509bffff75980c2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27127, "upload_time": "2018-12-28T17:50:49", "url": "https://files.pythonhosted.org/packages/95/a7/8a99c63d733bc01712bb65257020a06bdb46b92dc3fe2f11f5c33183c490/adafruit-circuitpython-ssd1306-2.6.1.tar.gz" } ], "2.6.2": [ { "comment_text": "", "digests": { "md5": "a03b6f98e36e31af1770259ddbedb829", "sha256": "af0d18d7382e498c4def9c4b23347bcb0428046a54782862a5c83e01a6256eda" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.6.2.tar.gz", "has_sig": false, "md5_digest": "a03b6f98e36e31af1770259ddbedb829", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27654, "upload_time": "2019-01-04T16:58:37", "url": "https://files.pythonhosted.org/packages/51/26/ac1c6c63e116b9476880ca94549728f18a6336465b1ea571ec2c3883f0e1/adafruit-circuitpython-ssd1306-2.6.2.tar.gz" } ], "2.6.3": [ { "comment_text": "", "digests": { "md5": "7cf7f36bc48568d944eb1a467d47d0c7", "sha256": "dcb92b17aed5fbe34c65ef8eaef385b26671031439b3cb27fd035ed1d4123e9e" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.6.3.tar.gz", "has_sig": false, "md5_digest": "7cf7f36bc48568d944eb1a467d47d0c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28874, "upload_time": "2019-05-10T04:20:14", "url": "https://files.pythonhosted.org/packages/33/eb/531dadc2fe6eb4f30ab95b9e86a8dc5dba9e55f4c8404f78309a838fe665/adafruit-circuitpython-ssd1306-2.6.3.tar.gz" } ], "2.6.4": [ { "comment_text": "", "digests": { "md5": "2c11a12798e0b33d0406bb4efee2f0b7", "sha256": "6eb4d3c0774ff0d7ce48a3f268cb444a0ab504c8cdc9357184aee4180d9313e5" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.6.4.tar.gz", "has_sig": false, "md5_digest": "2c11a12798e0b33d0406bb4efee2f0b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28833, "upload_time": "2019-09-16T21:24:48", "url": "https://files.pythonhosted.org/packages/f5/61/bd814537d2a4f3c1705b379efce96a2b946b21d7c7125e6e6ad72affc054/adafruit-circuitpython-ssd1306-2.6.4.tar.gz" } ], "2.6.5": [ { "comment_text": "", "digests": { "md5": "95560764ece411c2fbb8b6eb6c7bfafa", "sha256": "d079e22b6ba6ab22c34ef80a33ac32097f95439691c8b4e52239bf6a23d5cd46" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.6.5.tar.gz", "has_sig": false, "md5_digest": "95560764ece411c2fbb8b6eb6c7bfafa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29212, "upload_time": "2019-09-25T01:27:39", "url": "https://files.pythonhosted.org/packages/26/82/d80a4e67ad88fdb7b9243ac81ccc5d46d6215b36f70e437effd461ae43d9/adafruit-circuitpython-ssd1306-2.6.5.tar.gz" } ], "2.6.6": [ { "comment_text": "", "digests": { "md5": "0506913f12da4fa1e7e480d96c26999f", "sha256": "2e866da981817bbddd69f6281cb907fb1b48b01eedd8a28c92a72c49990b19f3" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.6.6.tar.gz", "has_sig": false, "md5_digest": "0506913f12da4fa1e7e480d96c26999f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29215, "upload_time": "2019-09-25T18:01:20", "url": "https://files.pythonhosted.org/packages/75/7e/72dd66e9ad0538a3a5b900f6eb1e0c0328e81e1d9b1896bd6fea4a7486fb/adafruit-circuitpython-ssd1306-2.6.6.tar.gz" } ], "2.6.7": [ { "comment_text": "", "digests": { "md5": "3a00200d848a2433a3b65353de33ab50", "sha256": "ca84273501f37c1abc16883d2cbf9c2f6695b854e04232cb5f18e93eae866774" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.6.7.tar.gz", "has_sig": false, "md5_digest": "3a00200d848a2433a3b65353de33ab50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30238, "upload_time": "2019-09-26T20:25:33", "url": "https://files.pythonhosted.org/packages/83/73/190861ab3802eacdf3d3369454984ac389803727090c278e665789cad477/adafruit-circuitpython-ssd1306-2.6.7.tar.gz" } ], "2.7.0": [ { "comment_text": "", "digests": { "md5": "8fdc6a4f6e6b9da56cdd677e07a90c8d", "sha256": "6c0e56b859168a21f9d753c9e015283f8696f98b8ac5ac631e73803d971e7554" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.7.0.tar.gz", "has_sig": false, "md5_digest": "8fdc6a4f6e6b9da56cdd677e07a90c8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30311, "upload_time": "2019-09-26T20:28:26", "url": "https://files.pythonhosted.org/packages/93/83/d4bba3a6ad13177bb332d868f3e51e9336940f49da0eca825e251357a06d/adafruit-circuitpython-ssd1306-2.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8fdc6a4f6e6b9da56cdd677e07a90c8d", "sha256": "6c0e56b859168a21f9d753c9e015283f8696f98b8ac5ac631e73803d971e7554" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1306-2.7.0.tar.gz", "has_sig": false, "md5_digest": "8fdc6a4f6e6b9da56cdd677e07a90c8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30311, "upload_time": "2019-09-26T20:28:26", "url": "https://files.pythonhosted.org/packages/93/83/d4bba3a6ad13177bb332d868f3e51e9336940f49da0eca825e251357a06d/adafruit-circuitpython-ssd1306-2.7.0.tar.gz" } ] }