{ "info": { "author": "Stuart Mumford", "author_email": "stuart@cadair.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "matrix_api_async\n================\n\nAn asyncio wrapper of `matrix_client.api`.\n\nThis is based on the work in https://github.com/matrix-org/matrix-python-sdk/pull/168\n\nUsage\n-----\n\n::\n\n import aiohttp\n from matrix_api_async import AsyncHTTPAPI\n\n async def main():\n async with aiohttp.ClientSession() as session:\n mapi = AsyncHTTPAPI(\"http://matrix.org\", session)\n resp = await mapi.get_room_id(\"#matrix:matrix.org\")\n print(resp)\n\n\n loop = asyncio.get_event_loop()\n loop.run_until_complete(main())\n\n\nInstallation\n------------\n\n`pip install matrix_api_async`\n\nRequirements\n^^^^^^^^^^^^\n\n* matrix_client\n* aiohttp (Could potentially be used with other libraries)\n\nCompatibility\n-------------\n\nPython 3.5+\n\nLicence\n-------\n\nMIT\n\nAuthors\n-------\n\n`matrix_api_async` was written by `Stuart Mumford `_.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Cadair/matrix_api_async", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "matrix-api-async", "package_url": "https://pypi.org/project/matrix-api-async/", "platform": "", "project_url": "https://pypi.org/project/matrix-api-async/", "project_urls": { "Homepage": "https://github.com/Cadair/matrix_api_async" }, "release_url": "https://pypi.org/project/matrix-api-async/0.1.0/", "requires_dist": null, "requires_python": ">=3.5", "summary": "An asyncio wrapper of matrix_client.api", "version": "0.1.0" }, "last_serial": 4452795, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ba75a50ac9d32da33e54ce7e3ee2149e", "sha256": "8361fd8ffabce911b2f7a43bfdce1b2d7dad8d9a0ff396401f5951109943bd75" }, "downloads": -1, "filename": "matrix_api_async-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ba75a50ac9d32da33e54ce7e3ee2149e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3753, "upload_time": "2018-11-05T12:58:14", "url": "https://files.pythonhosted.org/packages/d9/f8/025476806d395ac8409e36c326d470f6e57a2eb5b7612557589310f7b73f/matrix_api_async-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ba75a50ac9d32da33e54ce7e3ee2149e", "sha256": "8361fd8ffabce911b2f7a43bfdce1b2d7dad8d9a0ff396401f5951109943bd75" }, "downloads": -1, "filename": "matrix_api_async-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ba75a50ac9d32da33e54ce7e3ee2149e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3753, "upload_time": "2018-11-05T12:58:14", "url": "https://files.pythonhosted.org/packages/d9/f8/025476806d395ac8409e36c326d470f6e57a2eb5b7612557589310f7b73f/matrix_api_async-0.1.0.tar.gz" } ] }