{ "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-ssd1305/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/ssd1305/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_SSD1305.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_SSD1305\n :alt: Build Status\n\nFramebuf (non-displayio) driver for SSD1305 displays\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\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\nInstalling from PyPI\n=====================\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI `_. To install for current user:\n\n.. code-block:: shell\n\n pip3 install adafruit-circuitpython-ssd1305\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-ssd1305\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n mkdir project-name && cd project-name\n python3 -m venv .env\n source .env/bin/activate\n pip3 install adafruit-circuitpython-ssd1305\n\nUsage Example\n=============\n\n.. code-block:: python\n\n # Basic example of clearing and drawing pixels on a SSD1305 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 SSD1305 module.\n import adafruit_ssd1305\n\n\n # Create the I2C interface.\n i2c = busio.I2C(SCL, SDA)\n\n # Create the SSD1305 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_ssd1305.SSD1305_I2C(128, 32, i2c)\n # Alternatively you can change the I2C address of the device with an addr parameter:\n #display = adafruit_ssd1305.SSD1305_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\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\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_SSD1305", "keywords": "adafruit blinka circuitpython micropython ssd1305 framebuf rpi", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-ssd1305", "package_url": "https://pypi.org/project/adafruit-circuitpython-ssd1305/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-ssd1305/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_SSD1305" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-ssd1305/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Framebuf (non-displayio) driver for SSD1305 displays", "version": "1.0.1" }, "last_serial": 5827181, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "6bac8ecdf424fbd8314001df713cc18f", "sha256": "00c73429abd76fe89cb4cf053ad62f35efb369a9dbe609e65e4aa533be3e3af2" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1305-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6bac8ecdf424fbd8314001df713cc18f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21937, "upload_time": "2019-09-13T18:24:42", "url": "https://files.pythonhosted.org/packages/a3/d7/b2642f1a3a660d3cfd8a8dc366a87cdeb67113c0f01f55852b853c2cf9bd/adafruit-circuitpython-ssd1305-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6bac8ecdf424fbd8314001df713cc18f", "sha256": "00c73429abd76fe89cb4cf053ad62f35efb369a9dbe609e65e4aa533be3e3af2" }, "downloads": -1, "filename": "adafruit-circuitpython-ssd1305-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6bac8ecdf424fbd8314001df713cc18f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21937, "upload_time": "2019-09-13T18:24:42", "url": "https://files.pythonhosted.org/packages/a3/d7/b2642f1a3a660d3cfd8a8dc366a87cdeb67113c0f01f55852b853c2cf9bd/adafruit-circuitpython-ssd1305-1.0.1.tar.gz" } ] }