{ "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-motorkit/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/motorkit/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_MotorKit.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_MotorKit\n :alt: Build Status\n\nCircuitPython helper library for the DC & Stepper Motor FeatherWing, Shield and Pi Hat kits.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\n* `Register `_\n* `PCA9685 `_\n* `Motor `_\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-motorkit\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-motorkit\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-motorkit\n\nUsage Example\n=============\n\nDC motor example:\n\n.. code-block:: python\n\n import time\n from adafruit_motorkit import MotorKit\n\n kit = MotorKit()\n\n kit.motor1.throttle = 1.0\n time.sleep(0.5)\n kit.motor1.throttle = 0\n\nStepper motor example:\n\n.. code-block:: python\n\n import time\n from adafruit_motorkit import MotorKit\n\n kit = MotorKit()\n\n for i in range(100):\n kit.stepper1.onestep()\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-motorkit --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_MotorKit", "keywords": "adafruit motor pca9685 featherwing pi shield motorkit kit i2c hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-motorkit", "package_url": "https://pypi.org/project/adafruit-circuitpython-motorkit/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-motorkit/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_MotorKit" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-motorkit/1.3.1/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython helper library for DC & Stepper Motor FeatherWing, Shield, and Pi Hat kits.", "version": "1.3.1" }, "last_serial": 5838338, "releases": { "1.1.2": [ { "comment_text": "", "digests": { "md5": "665deaba4afe17d71f03995cb663fc20", "sha256": "14987b2754dc3aba868d7c198a9215c9470c6aecbf31dc9fc6bcb58b8a4f86c0" }, "downloads": -1, "filename": "adafruit_circuitpython_motorkit-1.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "665deaba4afe17d71f03995cb663fc20", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8002, "upload_time": "2018-12-06T23:37:24", "url": "https://files.pythonhosted.org/packages/ff/ce/ff273c68aa704c84c1efb030f19c8a5453fc26c69792f2fd443fdb88b149/adafruit_circuitpython_motorkit-1.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "803c8e923e039ee70f6b5570bdd4bcce", "sha256": "751e1a18de8030a612abdaf7a76036ff6d9219058bd39b2df8db7d9d55fe0886" }, "downloads": -1, "filename": "adafruit-circuitpython-motorkit-1.1.2.tar.gz", "has_sig": false, "md5_digest": "803c8e923e039ee70f6b5570bdd4bcce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4031190, "upload_time": "2018-12-06T23:39:52", "url": "https://files.pythonhosted.org/packages/81/4f/9daee9cdaa60a12590602d76a813e98b891a7e88d58daebc04949c733597/adafruit-circuitpython-motorkit-1.1.2.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "d28634953c0e769f4723beaed4a015d1", "sha256": "4c43ce891a5e22243fd24af2296fed79aa915fc535d83af564554f9ce1914f3f" }, "downloads": -1, "filename": "adafruit_circuitpython_motorkit-1.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d28634953c0e769f4723beaed4a015d1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8000, "upload_time": "2018-12-07T17:46:46", "url": "https://files.pythonhosted.org/packages/36/d6/5527aa3407db9451885517d4917059ca11dbc13e3d22ea0ce02c6d86e929/adafruit_circuitpython_motorkit-1.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b59146b0d69446d5e3a56dc7d32c2f8", "sha256": "c8643890bd77ec9524c0b7b9473e4d77355dfd909cc34fbff4416114159b2d13" }, "downloads": -1, "filename": "adafruit-circuitpython-motorkit-1.2.0.tar.gz", "has_sig": false, "md5_digest": "6b59146b0d69446d5e3a56dc7d32c2f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4031203, "upload_time": "2018-12-07T17:47:13", "url": "https://files.pythonhosted.org/packages/7f/10/01ca435aec7da2ff600c2730e7cc1b6e576f35653f2a7e5ac361fd61d7b4/adafruit-circuitpython-motorkit-1.2.0.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "8f74f997f3f56245541faf059f9acc67", "sha256": "bc7ebdca8a35e2abd0c6f109bf35f4da05a7f22b0ca6d54f6f13180f7b1b6215" }, "downloads": -1, "filename": "adafruit-circuitpython-motorkit-1.2.3.tar.gz", "has_sig": false, "md5_digest": "8f74f997f3f56245541faf059f9acc67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4036136, "upload_time": "2018-12-19T23:45:40", "url": "https://files.pythonhosted.org/packages/86/de/14b53a18c196cd578e39603e072f8b58cbcf4fd0595bc484018da511d7ef/adafruit-circuitpython-motorkit-1.2.3.tar.gz" } ], "1.2.4": [ { "comment_text": "", "digests": { "md5": "307489814310a906f556767ed7fd5657", "sha256": "eb5ccee4586f51c3f500130dd1edeb994edfb6b2fe0d94947f77505bf39c76a9" }, "downloads": -1, "filename": "adafruit-circuitpython-motorkit-1.2.4.tar.gz", "has_sig": false, "md5_digest": "307489814310a906f556767ed7fd5657", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4036795, "upload_time": "2019-02-01T22:27:42", "url": "https://files.pythonhosted.org/packages/b6/44/5e248a2d3c9245ec73a90dfe6c2f986bb013d25b0172bf173070b93ad9b3/adafruit-circuitpython-motorkit-1.2.4.tar.gz" } ], "1.2.5": [ { "comment_text": "", "digests": { "md5": "de70e4da4433647bbb6346f9c15cf02b", "sha256": "69ae7ff8fa47f42ffd5c07a5b21e60a16feacc1eb9dd7bb4b9fc823381330a19" }, "downloads": -1, "filename": "adafruit-circuitpython-motorkit-1.2.5.tar.gz", "has_sig": false, "md5_digest": "de70e4da4433647bbb6346f9c15cf02b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4037179, "upload_time": "2019-02-05T20:58:16", "url": "https://files.pythonhosted.org/packages/59/c2/98492876b50739edd8a87122792bc7f952da9e7b7683cdf7b4395c4c2095/adafruit-circuitpython-motorkit-1.2.5.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "3adf6d48689f1e6570a3a6501c27459e", "sha256": "2dbd1a87534bf6ec35b8fbc3b7866a0abf3e3d3c75e6e4366a379a93179352ca" }, "downloads": -1, "filename": "adafruit-circuitpython-motorkit-1.3.0.tar.gz", "has_sig": false, "md5_digest": "3adf6d48689f1e6570a3a6501c27459e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4037168, "upload_time": "2019-03-19T17:12:36", "url": "https://files.pythonhosted.org/packages/9c/f5/0ab85116d4468fab9c7e32fbe8480a13ac1f4628f84a1970b5e91dae1f03/adafruit-circuitpython-motorkit-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "bfd839c7d4b3ad2135fd28bf29cc64d5", "sha256": "438fb3956bdaf980219523feeb87841415c4bf60588c7553f06972de8af88189" }, "downloads": -1, "filename": "adafruit-circuitpython-motorkit-1.3.1.tar.gz", "has_sig": false, "md5_digest": "bfd839c7d4b3ad2135fd28bf29cc64d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4037187, "upload_time": "2019-09-16T21:43:58", "url": "https://files.pythonhosted.org/packages/31/25/bd291c822e0dd4085221350f0a26147a4cf96f8be4ef7c24b1c15369c92c/adafruit-circuitpython-motorkit-1.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bfd839c7d4b3ad2135fd28bf29cc64d5", "sha256": "438fb3956bdaf980219523feeb87841415c4bf60588c7553f06972de8af88189" }, "downloads": -1, "filename": "adafruit-circuitpython-motorkit-1.3.1.tar.gz", "has_sig": false, "md5_digest": "bfd839c7d4b3ad2135fd28bf29cc64d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4037187, "upload_time": "2019-09-16T21:43:58", "url": "https://files.pythonhosted.org/packages/31/25/bd291c822e0dd4085221350f0a26147a4cf96f8be4ef7c24b1c15369c92c/adafruit-circuitpython-motorkit-1.3.1.tar.gz" } ] }