{ "info": { "author": "https://github.com/MKuranowski/pyroutelib3", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# pyroutelib3\n\nA continuation of [pyroutelib2](https://github.com/gaulinmp/pyroutelib2).\nRouting on OSM data in Python 3.\n\nOSM Data tiles is stored in `tilescache/`\n\n\n## Usage\n\n```python\nfrom pyroutelib3 import Router # Import the router\nrouter = Router(\"\") # Initialise it\n\nstart = router.findNode(lat, lon) # Find start and end nodes\nend = router.findNode(lat, lon)\n\nstatus, route = router.doRoute(start, end) # Find the route - a list of OSM nodes\n\nif status == 'success':\n routeLatLons = list(map(router.nodeLatLon, route)) # Get actual route coordinates\n\n```\n**Transport Modes**: car, cycle, foot, horse, tram, train\n\n**Statuses**: success, no_route, gave_up\n\n\n##### Offline Routing\n\nIf you want to use pyroutelib3 offline or on custom .osm file, you just need to add a second argument to Router:\nPath to the specific osm file:\n\n```python\nfrom pyroutelib3 import Router\nrouter = Router(\"\", \"\")\n# Continue on doing like in the example above\n```\n##### More info\n\nFor more advanced info on using pyroutelib3 (like cusotmizing way costs) take a look at the wiki: https://github.com/MKuranowski/pyroutelib3/wiki.\n\n## Changes from pyroutelib2\n- Porting to python3\n- Making pyroutelib a package\n- Custom transport types\n- Handling the access keys\n- Turn restrictions\n- Offline routers (load only local osm file)\n\n\n## License\n\npyroutelib3 is distributed under GNU GPL v3.\n\nCopyright 2007, Oliver White\nModifications: Copyright 2017-2018, Mikolaj Kuranowski -\nBased on https://github.com/gaulinmp/pyroutelib2\n\npyroutelib3 is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 3 of the License, or\n(at your option) any later version.\n\npyroutelib3 is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with pyroutelib3. If not, see .", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/MKuranowski/pyroutelib3/archive/1.4.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MKuranowski/pyroutelib3", "keywords": "osm routing pyroutelib", "license": "GPL v3", "maintainer": "Mikolaj Kuranowski", "maintainer_email": "mkuranowski@gmail.com", "name": "pyroutelib3", "package_url": "https://pypi.org/project/pyroutelib3/", "platform": "", "project_url": "https://pypi.org/project/pyroutelib3/", "project_urls": { "Download": "https://github.com/MKuranowski/pyroutelib3/archive/1.4.tar.gz", "Homepage": "https://github.com/MKuranowski/pyroutelib3" }, "release_url": "https://pypi.org/project/pyroutelib3/1.4/", "requires_dist": null, "requires_python": "", "summary": "Library for simple routing on OSM data", "version": "1.4" }, "last_serial": 5832622, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "3fa78316876f1681872dc978d0fb5800", "sha256": "cf14d9f45ad84a2522de4505318d65170497adaacb71a5a286cbdfc192d7a1ba" }, "downloads": -1, "filename": "pyroutelib3-0.2.tar.gz", "has_sig": false, "md5_digest": "3fa78316876f1681872dc978d0fb5800", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7418, "upload_time": "2017-09-29T21:18:22", "url": "https://files.pythonhosted.org/packages/4a/78/4c6e029db364cfd786a08072244b2782c5defec6fb5e35a7d723497cf57c/pyroutelib3-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "206a5f72a67c10da40dd16b7a3ba97db", "sha256": "2b75fd821d4187b655e99649e48785ba330856c92f86336cd38df01b150ce7fe" }, "downloads": -1, "filename": "pyroutelib3-0.3.tar.gz", "has_sig": false, "md5_digest": "206a5f72a67c10da40dd16b7a3ba97db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7800, "upload_time": "2017-09-29T23:38:20", "url": "https://files.pythonhosted.org/packages/ff/6c/cd307923de30334cbbb9934c7a5471528049d18cfe898d22f2a88a4a857b/pyroutelib3-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "c3e74a28f2af28322869b07349967b92", "sha256": "9d12ac676a3527730660cfaae656e386137f1d33ed1539974eca8fb7b8e38fea" }, "downloads": -1, "filename": "pyroutelib3-0.4.tar.gz", "has_sig": false, "md5_digest": "c3e74a28f2af28322869b07349967b92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7798, "upload_time": "2017-10-11T20:10:58", "url": "https://files.pythonhosted.org/packages/da/ea/6bcf2abb0495cdbb4d41580d8b59095666d277e4a070dac9c44c7ccdb5f8/pyroutelib3-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "96cd26bce13dcc4210ae479c7eb23364", "sha256": "b94dcb62775f640f6f0d39a37edbc217d02d893f6b65db041430fa450b730a7f" }, "downloads": -1, "filename": "pyroutelib3-0.5.tar.gz", "has_sig": false, "md5_digest": "96cd26bce13dcc4210ae479c7eb23364", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7787, "upload_time": "2017-10-23T20:15:37", "url": "https://files.pythonhosted.org/packages/6d/4a/6c5747d4da50f5fccd8688ca4dc80b3ffa3100cbf98516f2886d67ffef05/pyroutelib3-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "e4723a18d8b3f011a304879ec87f64c3", "sha256": "d5ab712e7cf06fea235254842b281f31d4d16ae7599b2090fe11897a05100acb" }, "downloads": -1, "filename": "pyroutelib3-0.6.tar.gz", "has_sig": false, "md5_digest": "e4723a18d8b3f011a304879ec87f64c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7650, "upload_time": "2017-11-04T08:40:47", "url": "https://files.pythonhosted.org/packages/f6/19/00d5947ed8efb22baa0044604e22060f241c693030fec9dfa2f6215f41e5/pyroutelib3-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "c8a74c499830e0d6f824170dac60a3f1", "sha256": "9c4f918010c37f926131955622f6e4ac73db1c0d248ff0f496b2ac393911a722" }, "downloads": -1, "filename": "pyroutelib3-0.7.tar.gz", "has_sig": false, "md5_digest": "c8a74c499830e0d6f824170dac60a3f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7851, "upload_time": "2017-11-06T12:40:26", "url": "https://files.pythonhosted.org/packages/2a/89/27db21ee19dfa4bed97e630c5112cf531e4d552520f6e1bbf558f9001d03/pyroutelib3-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "418d8b7aedfb54cd16d4277997dbe591", "sha256": "7e7f1fa95a5c2b8fd732225b5a3e75724bd9130aca6726464828d07283e7e933" }, "downloads": -1, "filename": "pyroutelib3-0.8.tar.gz", "has_sig": false, "md5_digest": "418d8b7aedfb54cd16d4277997dbe591", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8034, "upload_time": "2018-01-07T10:41:42", "url": "https://files.pythonhosted.org/packages/e8/7b/64e147543528aaede10518292e0ea9e5a7176cca7e96a95601aef517a00a/pyroutelib3-0.8.tar.gz" } ], "1.0.post2": [ { "comment_text": "", "digests": { "md5": "a38bcc7ac53c8783649fafdfe3688556", "sha256": "00aa643e96ae79bd596fff2f8d37de5e48046562f384702d407b93c6083019de" }, "downloads": -1, "filename": "pyroutelib3-1.0.post2.tar.gz", "has_sig": false, "md5_digest": "a38bcc7ac53c8783649fafdfe3688556", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8738, "upload_time": "2018-09-06T19:36:51", "url": "https://files.pythonhosted.org/packages/d1/03/21bfb4ea5daaab27b782eca39e0ff0ade34fccc51ed63e5548ae2836c0cc/pyroutelib3-1.0.post2.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "d77303fe10a5dfdf72fddbaeb0dedd7a", "sha256": "834a7c390a5c0e41a3142de386a94af250bb8f7f33d094cd0ccbbf1ef527bdcd" }, "downloads": -1, "filename": "pyroutelib3-1.1.tar.gz", "has_sig": false, "md5_digest": "d77303fe10a5dfdf72fddbaeb0dedd7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8717, "upload_time": "2018-09-06T19:45:47", "url": "https://files.pythonhosted.org/packages/8f/af/0dc9a6c3678c1dc442aee0b84cbf87c5094634cd07f0549447087ac5ed51/pyroutelib3-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "c3e36d1e13d1db557c62ae15f1422cd0", "sha256": "f259bdd90d004ede22a0cabcfeb1743cdfdf502beac70b1d2b44b42ad72198e7" }, "downloads": -1, "filename": "pyroutelib3-1.2.tar.gz", "has_sig": false, "md5_digest": "c3e36d1e13d1db557c62ae15f1422cd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8794, "upload_time": "2018-09-22T21:20:40", "url": "https://files.pythonhosted.org/packages/69/6a/9112d4d4c4468afbde99fc1be055e8e106cbf1f9cea07ca7f090d4bb9e02/pyroutelib3-1.2.tar.gz" } ], "1.3.post1": [ { "comment_text": "", "digests": { "md5": "8856a041a54ba60c22d955ce4f6b165c", "sha256": "32bb2d9e583450b41f0cc9f75ddb36c31d46f0877b39a922d79e2a616ff3ebc2" }, "downloads": -1, "filename": "pyroutelib3-1.3.post1.tar.gz", "has_sig": false, "md5_digest": "8856a041a54ba60c22d955ce4f6b165c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9488, "upload_time": "2019-04-20T17:15:54", "url": "https://files.pythonhosted.org/packages/40/d9/31dd8eca3dac5f02e8e95260bcb59da3e3d0317a07f96243903f3981cf00/pyroutelib3-1.3.post1.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "36642c64c39da5c8ab8c3ad8efea6249", "sha256": "6b33377a87c7cb90d8b9be159ae754fe04f29c56499c80b790bad92c6f53f6e4" }, "downloads": -1, "filename": "pyroutelib3-1.4.tar.gz", "has_sig": false, "md5_digest": "36642c64c39da5c8ab8c3ad8efea6249", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8866, "upload_time": "2019-09-15T17:39:46", "url": "https://files.pythonhosted.org/packages/b3/9b/7029320d34dc1a3606770546c5d966ea2fbeae1006b7788287eacd38d3f4/pyroutelib3-1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "36642c64c39da5c8ab8c3ad8efea6249", "sha256": "6b33377a87c7cb90d8b9be159ae754fe04f29c56499c80b790bad92c6f53f6e4" }, "downloads": -1, "filename": "pyroutelib3-1.4.tar.gz", "has_sig": false, "md5_digest": "36642c64c39da5c8ab8c3ad8efea6249", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8866, "upload_time": "2019-09-15T17:39:46", "url": "https://files.pythonhosted.org/packages/b3/9b/7029320d34dc1a3606770546c5d966ea2fbeae1006b7788287eacd38d3f4/pyroutelib3-1.4.tar.gz" } ] }