{ "info": { "author": "Jeroen F.J. Laros", "author_email": "jlaros@fixedpoint.nl", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5" ], "description": "Arduino simpleRPC API client library and CLI\n============================================\n\n.. image:: https://img.shields.io/github/last-commit/jfjlaros/arduino-simple-rpc.svg\n :target: https://github.com/jfjlaros/arduino-simple-rpc/graphs/commit-activity\n.. image:: https://travis-ci.org/jfjlaros/arduino-simple-rpc.svg?branch=master\n :target: https://travis-ci.org/jfjlaros/arduino-simple-rpc\n.. image:: https://readthedocs.org/projects/simplerpc/badge/?version=latest\n :target: https://arduino-simple-rpc.readthedocs.io/en/latest\n.. image:: https://img.shields.io/github/release-date/jfjlaros/arduino-simple-rpc.svg\n :target: https://github.com/jfjlaros/arduino-simple-rpc/releases\n.. image:: https://img.shields.io/github/release/jfjlaros/arduino-simple-rpc.svg\n :target: https://github.com/jfjlaros/arduino-simple-rpc/releases\n.. image:: https://img.shields.io/pypi/v/arduino-simple-rpc.svg\n :target: https://pypi.org/project/arduino-simple-rpc/\n.. image:: https://img.shields.io/github/languages/code-size/jfjlaros/arduino-simple-rpc.svg\n :target: https://github.com/jfjlaros/arduino-simple-rpc\n.. image:: https://img.shields.io/github/languages/count/jfjlaros/arduino-simple-rpc.svg\n :target: https://github.com/jfjlaros/arduino-simple-rpc\n.. image:: https://img.shields.io/github/languages/top/jfjlaros/arduino-simple-rpc.svg\n :target: https://github.com/jfjlaros/arduino-simple-rpc\n.. image:: https://img.shields.io/github/license/jfjlaros/arduino-simple-rpc.svg\n :target: https://raw.githubusercontent.com/jfjlaros/arduino-simple-rpc/master/LICENSE.md\n\n----\n\nThis library provides a simple way to interface to Arduino_ functions exported\nwith the simpleRPC_ protocol. The exported method definitions are communicated\nto the host, which is then able to generate an API interface using this\nlibrary.\n\n**Features:**\n\n- User friendly API library.\n- Command line interface (CLI) for method discovery and testing.\n- Function and parameter names are defined on the Arduino.\n- API documentation is defined on the Arduino.\n- Support for disconnecting and reconnecting.\n\nPlease see ReadTheDocs_ for the latest documentation.\n\n\nQuick start\n-----------\n\nExport any function e.g., ``digitalRead()`` and ``digitalWrite()`` on the\nArduino, these functions will show up as member functions of the ``Interface``\nclass instance.\n\nFirst, we make an ``Interface`` class instance and tell it to connect to the\nserial device ``/dev/ttyACM0``.\n\n.. code:: python\n\n >>> from simple_rpc import Interface\n >>> \n >>> interface = Interface('/dev/ttyACM0')\n\nWe can use the built-in ``help()`` function to see the API documentation of any\nexported method.\n\n.. code:: python\n\n >>> help(interface.digital_read)\n Help on method digital_read:\n\n digital_read(pin) method of simple_rpc.simple_rpc.Interface instance\n Read digital pin.\n\n :arg int pin: Pin number.\n\n :returns int: Pin value.\n\nAll exposed methods can be called like any other class method.\n\n.. code:: python\n\n >>> interface.digital_read(8) # Read from pin 8.\n 0\n >>> interface.digital_write(13, True) # Turn LED on.\n\n\nFurther reading\n---------------\n\nFor more information about the host library and other interfaces, please see\nthe Usage_ and Library_ sections.\n\n\n.. _Arduino: https://www.arduino.cc\n.. _simpleRPC: https://simpleRPC.readthedocs.io\n.. _ReadTheDocs: https://arduino-simple-rpc.readthedocs.io\n.. _Usage: https://arduino-simple-rpc.readthedocs.io/en/latest/usage.html\n.. _Library: https://arduino-simple-rpc.readthedocs.io/en/latest/library.html\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://arduino-simple-rpc.readthedocs.io", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "arduino-simple-rpc", "package_url": "https://pypi.org/project/arduino-simple-rpc/", "platform": "", "project_url": "https://pypi.org/project/arduino-simple-rpc/", "project_urls": { "Homepage": "https://arduino-simple-rpc.readthedocs.io" }, "release_url": "https://pypi.org/project/arduino-simple-rpc/2.0.1/", "requires_dist": null, "requires_python": "", "summary": "Arduino simpleRPC API client library and CLI.", "version": "2.0.1" }, "last_serial": 5114874, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b227b67134e73e01fbca6d03b7fc1056", "sha256": "a4806a53dcc1455b6f8cb7ad6e747114eeec88e4a11faeb4063eebde61c925e7" }, "downloads": -1, "filename": "arduino-simple-rpc-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b227b67134e73e01fbca6d03b7fc1056", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4345, "upload_time": "2018-10-20T14:04:05", "url": "https://files.pythonhosted.org/packages/07/11/fa9f3d1916a6a474907b9cdc2033f60f08d89142ce70c453f36ed8c0a001/arduino-simple-rpc-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "147765d3a4efbb7ff03a27245501f8ee", "sha256": "44f53f7068b93fd515719e6557a94fde7270984f61cca829605138a31d31b56c" }, "downloads": -1, "filename": "arduino-simple-rpc-0.0.2.tar.gz", "has_sig": false, "md5_digest": "147765d3a4efbb7ff03a27245501f8ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4675, "upload_time": "2018-10-21T12:39:42", "url": "https://files.pythonhosted.org/packages/28/3b/ad84c53bb81606c6ea6987f8005dd4eee53befb8c14d8824f1e7dd6f17a6/arduino-simple-rpc-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c90cb8db46dfa8468a2e5e04ff625072", "sha256": "6ffbb010e37d1080bde9ba01c90e2142f3cae68a800577d81f3c8a6abb61fd80" }, "downloads": -1, "filename": "arduino-simple-rpc-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c90cb8db46dfa8468a2e5e04ff625072", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4724, "upload_time": "2018-10-21T12:47:03", "url": "https://files.pythonhosted.org/packages/2a/0b/b818dacaeca4e40aa3f251e2c996cb2d075ae488961260cf6bd68cc48cc0/arduino-simple-rpc-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "05f11e69e3d7839ab93cc6af503775f3", "sha256": "77bfef6fc16fb83f47aaa396d914706d6256d1314e0f2b8d3822edc76f860c45" }, "downloads": -1, "filename": "arduino-simple-rpc-0.0.4.tar.gz", "has_sig": false, "md5_digest": "05f11e69e3d7839ab93cc6af503775f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4969, "upload_time": "2018-11-03T09:41:33", "url": "https://files.pythonhosted.org/packages/48/dc/bdb8230802934afd08f725917638e219f6675693698fef6e0d43ff6f1038/arduino-simple-rpc-0.0.4.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "b99b7f48184bf1d5350e623db62200c9", "sha256": "cfff88237b7fe2378faedcbb0d012cca0ca8b233c93c95e2b7a96a4ea9c15b06" }, "downloads": -1, "filename": "arduino-simple-rpc-1.0.0.tar.gz", "has_sig": false, "md5_digest": "b99b7f48184bf1d5350e623db62200c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4978, "upload_time": "2018-11-04T17:18:32", "url": "https://files.pythonhosted.org/packages/d0/38/8d445aafebb746fbd30fbcf8d71928ebc908b409a0502702fa47acba5937/arduino-simple-rpc-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ded4bd41b7dd009c1b276ef3927f5c9a", "sha256": "b38d4549488414c04aa2144895bd714130e538e3b811096baa581d438e6c18ca" }, "downloads": -1, "filename": "arduino-simple-rpc-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ded4bd41b7dd009c1b276ef3927f5c9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5051, "upload_time": "2018-11-10T13:49:19", "url": "https://files.pythonhosted.org/packages/ac/26/7235e7b8e2e15463df60b691e10c17160e0cfc4b75691f6d6fba1ca7e03c/arduino-simple-rpc-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ade6c1aaf7d302b9f387a9575a3967be", "sha256": "b1ff5ac4bd4673efc24af8c410d414d8b49f8fe2f83345bb23e445655b7b12b2" }, "downloads": -1, "filename": "arduino-simple-rpc-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ade6c1aaf7d302b9f387a9575a3967be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5077, "upload_time": "2018-11-11T16:12:19", "url": "https://files.pythonhosted.org/packages/75/13/a407419c926aee855e23d286189fa25337d54297f2ada58e8d5d843a3cb1/arduino-simple-rpc-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "2940e79e9113a0ad5930c13c941c1c02", "sha256": "60fe5c69ad93b00cb7f572b20acccb6d1668885423afbd6e1fadba8af859d582" }, "downloads": -1, "filename": "arduino-simple-rpc-1.0.3.tar.gz", "has_sig": false, "md5_digest": "2940e79e9113a0ad5930c13c941c1c02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6229, "upload_time": "2019-02-17T12:01:21", "url": "https://files.pythonhosted.org/packages/da/56/cb5b2192cb82a19fa2b7cd3bd9fd2bd2a62bd79cdd79c75f6d80d275caaf/arduino-simple-rpc-1.0.3.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "d2d2cfd54285834d2874b05d00594727", "sha256": "4d4c897a7079c443bacbeb463f8cce75991411ab0424f71c74547264597f5e6c" }, "downloads": -1, "filename": "arduino-simple-rpc-2.0.0.tar.gz", "has_sig": false, "md5_digest": "d2d2cfd54285834d2874b05d00594727", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7064, "upload_time": "2019-04-07T18:15:52", "url": "https://files.pythonhosted.org/packages/14/db/9b5b40f8cf7ffaadb1100466f6401d4a38caaae9fa37081eded7b03bba99/arduino-simple-rpc-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "1e9893304271f5a7d6c614c545f5392f", "sha256": "4d5a1e1759005eee264be091fc38bafcc4722ac377b1bba222b0d10125730b90" }, "downloads": -1, "filename": "arduino-simple-rpc-2.0.1.tar.gz", "has_sig": false, "md5_digest": "1e9893304271f5a7d6c614c545f5392f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7083, "upload_time": "2019-04-08T18:27:11", "url": "https://files.pythonhosted.org/packages/d2/b2/242c5ac372e920e0b535c86538bae1ccdcc10367eec8616f94efd19843db/arduino-simple-rpc-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e9893304271f5a7d6c614c545f5392f", "sha256": "4d5a1e1759005eee264be091fc38bafcc4722ac377b1bba222b0d10125730b90" }, "downloads": -1, "filename": "arduino-simple-rpc-2.0.1.tar.gz", "has_sig": false, "md5_digest": "1e9893304271f5a7d6c614c545f5392f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7083, "upload_time": "2019-04-08T18:27:11", "url": "https://files.pythonhosted.org/packages/d2/b2/242c5ac372e920e0b535c86538bae1ccdcc10367eec8616f94efd19843db/arduino-simple-rpc-2.0.1.tar.gz" } ] }