{ "info": { "author": "Adafruit Industries", "author_email": "python@adafruit.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: MicroPython" ], "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-micropython-blinka/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/blinka/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.org/adafruit/Adafruit_Micropython_Blinka.svg?branch=master\n :target: https://travis-ci.org/adafruit/Adafruit__Micropython_Blinka\n :alt: Build Status\n\nThis repository contains a selection of packages mirroring the CircuitPython API\non hosts running micropython. Working code exists to emulate the CircuitPython packages;\n\n* **board** - breakout-specific pin identities\n* **microcontroller** - chip-specific pin identities\n* **digitalio** - digital input/output pins, using pin identities from board+microcontroller packages\n* **bitbangio** - software-driven interfaces for I2C, SPI\n* **busio** - hardware-driven interfaces for I2C, SPI, UART\n* **time** * - substitute functions monkey-patched to time module\n\n\nDependencies\n=============\n\nThe Micropython compatibility layers described above are intended to provide a CircuitPython-like API for devices which\nare running Micropython. Since corresponding packages should be built-in to any standard\nCircuitPython image, they have no value on a device already running CircuitPython and would likely conflict in unhappy ways.\n\nThe test suites in the test/src folder under **testing.universal** are by design\nintended to run on *either* CircuitPython *or* Micropython+compatibility layer to prove conformance. \n\nUsage Example\n=============\n\nAt the time of writing (`git:7fc1f8ab `_),\nthe following sequence runs through some basic testing of the digitalio compatibility layer... \n\n.. code-block:: python\n\n from testing import test_module_name\n test_module_name(\"testing.universal.digitalio\")\n\nAn example log from running the suites is `here `_ .\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\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": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_Micropython_Blinka", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "Adafruit-Micropython-Blinka", "package_url": "https://pypi.org/project/Adafruit-Micropython-Blinka/", "platform": "", "project_url": "https://pypi.org/project/Adafruit-Micropython-Blinka/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_Micropython_Blinka" }, "release_url": "https://pypi.org/project/Adafruit-Micropython-Blinka/1.0.0/", "requires_dist": null, "requires_python": ">=3.6.0", "summary": "A selection of packages for mirroring the CircuitPython API on hosts running micropython.", "version": "1.0.0" }, "last_serial": 3930159, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "bf111186d11a3723309eee5f24e13560", "sha256": "fb0af4bbcd50c92966c13d29455b5c0ca1d7aca011885c6971723df9e7cedc26" }, "downloads": -1, "filename": "Adafruit-Micropython-Blinka-1.0.0.tar.gz", "has_sig": false, "md5_digest": "bf111186d11a3723309eee5f24e13560", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 11852, "upload_time": "2018-06-04T22:38:15", "url": "https://files.pythonhosted.org/packages/31/e4/9ceebeb7a811cce5a1c9cb47a31e51c82a25e2a7f8d97656f7ef27703f2e/Adafruit-Micropython-Blinka-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bf111186d11a3723309eee5f24e13560", "sha256": "fb0af4bbcd50c92966c13d29455b5c0ca1d7aca011885c6971723df9e7cedc26" }, "downloads": -1, "filename": "Adafruit-Micropython-Blinka-1.0.0.tar.gz", "has_sig": false, "md5_digest": "bf111186d11a3723309eee5f24e13560", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 11852, "upload_time": "2018-06-04T22:38:15", "url": "https://files.pythonhosted.org/packages/31/e4/9ceebeb7a811cce5a1c9cb47a31e51c82a25e2a7f8d97656f7ef27703f2e/Adafruit-Micropython-Blinka-1.0.0.tar.gz" } ] }