{ "info": { "author": "Kirill Pavlov", "author_email": "k@p99.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Environment :: Console", "Framework :: AsyncIO", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Async JSON-RPC 2.0 protocol + asyncio server\n============================================\n\n.. image:: https://circleci.com/gh/pavlov99/ajsonrpc/tree/master.svg?style=svg\n :target: https://circleci.com/gh/pavlov99/ajsonrpc/tree/master\n\n.. image:: https://readthedocs.org/projects/ajsonrpc/badge/?version=latest\n :target: https://ajsonrpc.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\nLightweight JSON-RPC 2.0 protocol implementation and asynchronous server powered by asyncio. This library is a successor of json-rpc and written by the same team.\nIt is largely compatible but there are few differences: ...\n\nFeatures:\n\n* Full JSON-RPC 2.0 Implementation, request and response classes make sure standard is followed\n* Asynchronouse response manager and asynio support via low-level Protocol\n* API server setup in 1 min\n* Vanilla Python, no dependencies.\n* Same development team as `json-rpc`, largely compatible code.\n\nInstalling\n----------\n\n.. code-block:: text\n\n pip install ajsonrpc\n\nExample server script\n---------------------\n\n.. code-block:: text\n\n pipenv run async-json-rpc-server examples.methods\n\n\n.. code-block:: text\n\n curl -d '{\"jsonrpc\": \"2.0\", \"method\": \"echo\", \"id\": 0}' http://127.0.0.1:8888\n\n curl -d '{\"jsonrpc\": \"2.0\", \"method\": \"mul2\", \"params\": [2, 3], \"id\": 1}' http://127.0.0.1:8888\n\n curl -d '{\"jsonrpc\": \"2.0\", \"method\": \"say_after\", \"params\": {\"delay\": 1, \"what\": \"ajsonrpc!\"}, \"id\": 2}' http://127.0.0.1:8888\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pavlov99/ajsonrpc", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ajsonrpc", "package_url": "https://pypi.org/project/ajsonrpc/", "platform": "any", "project_url": "https://pypi.org/project/ajsonrpc/", "project_urls": { "Code": "https://github.com/pavlov99/ajsonrpc", "Documentation": "https://ajsonrpc.readthedocs.io", "Homepage": "https://github.com/pavlov99/ajsonrpc", "Issue tracker": "https://github.com/pavlov99/ajsonrpc/issues" }, "release_url": "https://pypi.org/project/ajsonrpc/0.0.3/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Async JSON-RPC 2.0 protocol + server powered by asyncio", "version": "0.0.3" }, "last_serial": 4846341, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "98ac4497faf6e87ef1ea1dae8d803e8d", "sha256": "da3be9799a2928fd1c88883499aa70de910616c5e08ca4043f914b1c9460c5a8" }, "downloads": -1, "filename": "ajsonrpc-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "98ac4497faf6e87ef1ea1dae8d803e8d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 9034, "upload_time": "2019-01-20T02:51:16", "url": "https://files.pythonhosted.org/packages/12/8c/fc9ccaefe92f18dae028a8a50487814a0b6b8212d9126cab3ccc3f2fdbdb/ajsonrpc-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "529431717ad0ba3b0919b00edc77731e", "sha256": "b9a09e2ad90d1e7c4be1638567afdf7906e10dafbfafa15430324b41bf0e96af" }, "downloads": -1, "filename": "ajsonrpc-0.0.1.tar.gz", "has_sig": false, "md5_digest": "529431717ad0ba3b0919b00edc77731e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 6844, "upload_time": "2019-01-20T02:51:18", "url": "https://files.pythonhosted.org/packages/13/7a/e6fd75eb1b02dbdc32f54d97ae80ae249b8bbe82e6940d796a2d8c046c6b/ajsonrpc-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "698aa1705a9f1e80e7296618b826b5d9", "sha256": "4bbf61ce67cc8f21eaf680e3328e9438dbf9a34fddaff3b26e01b213262d81ca" }, "downloads": -1, "filename": "ajsonrpc-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "698aa1705a9f1e80e7296618b826b5d9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 10281, "upload_time": "2019-02-19T16:15:52", "url": "https://files.pythonhosted.org/packages/b1/18/2dad64ac54400aa818292aa5c2d93e917ae42ab99bfb49bcbc4a48572da3/ajsonrpc-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ecedef978a9ab67309ed177490a3d0b7", "sha256": "8695948b4dabbe077b3317de7a55c7e09eb20d8348a7ee8b7fc0ff4235a2e2cc" }, "downloads": -1, "filename": "ajsonrpc-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ecedef978a9ab67309ed177490a3d0b7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8341, "upload_time": "2019-02-19T16:15:54", "url": "https://files.pythonhosted.org/packages/eb/9b/092c47e37131b5c07ac2f34f363529fa408b0a4b0737a098235c94bd8496/ajsonrpc-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "24201da4cdedaf983ba7ca0d12ec5ec5", "sha256": "836526ecb47fbf1240fc4e1b382d4e5da660b7980a0d78693686a3f94df5e4d8" }, "downloads": -1, "filename": "ajsonrpc-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "24201da4cdedaf983ba7ca0d12ec5ec5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 10318, "upload_time": "2019-02-20T16:09:22", "url": "https://files.pythonhosted.org/packages/c0/33/83af4513b5efce8fd4b2aaca1d2b5b8ba738dde3009bbc1a376db744eaeb/ajsonrpc-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad33719fd13a5d9366480c50a68d5413", "sha256": "05de2e7dc5c843e9a879f362c991d4b3a4a7cc9ffd8d855f7038d719cf58ca0d" }, "downloads": -1, "filename": "ajsonrpc-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ad33719fd13a5d9366480c50a68d5413", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8382, "upload_time": "2019-02-20T16:09:24", "url": "https://files.pythonhosted.org/packages/5b/4b/675756b58c8fdbc1610cf65f4d98c792f28db7771f91cfcd021692fdea67/ajsonrpc-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "24201da4cdedaf983ba7ca0d12ec5ec5", "sha256": "836526ecb47fbf1240fc4e1b382d4e5da660b7980a0d78693686a3f94df5e4d8" }, "downloads": -1, "filename": "ajsonrpc-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "24201da4cdedaf983ba7ca0d12ec5ec5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 10318, "upload_time": "2019-02-20T16:09:22", "url": "https://files.pythonhosted.org/packages/c0/33/83af4513b5efce8fd4b2aaca1d2b5b8ba738dde3009bbc1a376db744eaeb/ajsonrpc-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ad33719fd13a5d9366480c50a68d5413", "sha256": "05de2e7dc5c843e9a879f362c991d4b3a4a7cc9ffd8d855f7038d719cf58ca0d" }, "downloads": -1, "filename": "ajsonrpc-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ad33719fd13a5d9366480c50a68d5413", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 8382, "upload_time": "2019-02-20T16:09:24", "url": "https://files.pythonhosted.org/packages/5b/4b/675756b58c8fdbc1610cf65f4d98c792f28db7771f91cfcd021692fdea67/ajsonrpc-0.0.3.tar.gz" } ] }