{ "info": { "author": "Alexander Verbitsky", "author_email": "habibutsu@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Topic :: Utilities" ], "description": "osrm-py\n=======\n\nA Python client for `OSRM API`_\n\n.. _`OSRM API`: https://github.com/Project-OSRM/osrm-backend/wiki/Server-api\n\nRunning the test suite\n----------------------\n\n.. code-block:: python\n\n python setup.py test\n\n\nRequires\n--------\n\n* requests\n* aiohttp\n\nUsage\n-----\n\nWith using `requests`\n\n.. code-block:: python\n\n import osrm\n\n client = osrm.Client(host='http://localhost:5000')\n\n response = client.route(\n coordinates=[[-74.0056, 40.6197], [-74.0034, 40.6333]],\n overview=osrm.overview.full)\n\n print(response)\n\nWith using `aiohttp`\n\n.. code-block:: python\n\n import asyncio\n import osrm\n\n loop = asyncio.get_event_loop()\n\n async def request():\n client = osrm.AioHTTPClient(host='http://localhost:5000')\n response = await client.route(\n coordinates=[[-74.0056, 40.6197], [-74.0034, 40.6333]],\n overview=osrm.overview.full)\n print(response)\n await client.close()\n\n loop.run_until_complete(request())\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gojuno/osrm-py", "keywords": "osrm", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "osrm-py", "package_url": "https://pypi.org/project/osrm-py/", "platform": "", "project_url": "https://pypi.org/project/osrm-py/", "project_urls": { "Homepage": "https://github.com/gojuno/osrm-py" }, "release_url": "https://pypi.org/project/osrm-py/0.4/", "requires_dist": null, "requires_python": "", "summary": "Python client for OSRM API", "version": "0.4" }, "last_serial": 3072867, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "0a5fc0c181964c70227accfb6940b66f", "sha256": "d550df07ca0961afa70f2037ec5bd9b3117070977d1bc5044243aa16aae8905e" }, "downloads": -1, "filename": "osrm-py-0.1.tar.gz", "has_sig": false, "md5_digest": "0a5fc0c181964c70227accfb6940b66f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5765, "upload_time": "2017-04-14T07:41:54", "url": "https://files.pythonhosted.org/packages/f9/26/408a32e21889cecfda6186124284b8ce332e157ecf7f93df471828db538d/osrm-py-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "11c0924b3114b861d3da3ba4a021b3b6", "sha256": "d6fb1162d68db636ad589ae3f55b1f27e8debb37160735ff0d92b134fd44ddba" }, "downloads": -1, "filename": "osrm-py-0.2.tar.gz", "has_sig": false, "md5_digest": "11c0924b3114b861d3da3ba4a021b3b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5788, "upload_time": "2017-05-18T07:17:57", "url": "https://files.pythonhosted.org/packages/a4/fa/e5e3dcd4de7527771ed0bd3239a6d02e18d4decd1b22f274b747f746de85/osrm-py-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "eb6a20446a7af6f4fcdb7198204ad77b", "sha256": "4ec3dd9163151c167c747b61c9d6fce13853cc8245f1a5c90b12a5ce9ad60daf" }, "downloads": -1, "filename": "osrm-py-0.3.tar.gz", "has_sig": false, "md5_digest": "eb6a20446a7af6f4fcdb7198204ad77b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6161, "upload_time": "2017-05-22T10:06:48", "url": "https://files.pythonhosted.org/packages/10/c1/ab6a4a79d616aa6b6ef9b3126635de74ed58cc36602e7b06d345a4cadfd4/osrm-py-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "c9a95e3b7356641409f4837dca1f54c5", "sha256": "2e70f54001c4a9f5478eee8a185e9814503142ebd0c6d1eba50cdbfe1dab21ce" }, "downloads": -1, "filename": "osrm-py-0.4.tar.gz", "has_sig": false, "md5_digest": "c9a95e3b7356641409f4837dca1f54c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6308, "upload_time": "2017-08-04T14:39:18", "url": "https://files.pythonhosted.org/packages/8b/4a/cac1bcacd95604c6e03b5da17dcd0c3ac679c6e602c2e394d0152087cccd/osrm-py-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c9a95e3b7356641409f4837dca1f54c5", "sha256": "2e70f54001c4a9f5478eee8a185e9814503142ebd0c6d1eba50cdbfe1dab21ce" }, "downloads": -1, "filename": "osrm-py-0.4.tar.gz", "has_sig": false, "md5_digest": "c9a95e3b7356641409f4837dca1f54c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6308, "upload_time": "2017-08-04T14:39:18", "url": "https://files.pythonhosted.org/packages/8b/4a/cac1bcacd95604c6e03b5da17dcd0c3ac679c6e602c2e394d0152087cccd/osrm-py-0.4.tar.gz" } ] }