{ "info": { "author": "PhiBo (DinoTools)", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "Python Overpass Wrapper\n=======================\n\nA Python Wrapper to access the Overpass API.\n\nHave a look at the `documentation`_ to find additional information.\n\n.. image:: https://pypip.in/version/overpy/badge.svg\n :target: https://pypi.python.org/pypi/overpy/\n :alt: Latest Version\n\n.. image:: https://pypip.in/license/overpy/badge.svg\n :target: https://pypi.python.org/pypi/overpy/\n :alt: License\n\n.. image:: https://travis-ci.org/DinoTools/python-overpy.svg?branch=master\n :target: https://travis-ci.org/DinoTools/python-overpy\n\n.. image:: https://coveralls.io/repos/DinoTools/python-overpy/badge.png?branch=master\n :target: https://coveralls.io/r/DinoTools/python-overpy?branch=master\n\nFeatures\n--------\n\n* Query Overpass API\n* Parse JSON and XML response data\n* Additional helper functions\n\nInstall\n-------\n\n**Requirements:**\n\nSupported Python versions:\n\n* Python 2.7\n* Python >= 3.2\n* PyPy and PyPy3\n\n**Install:**\n\n.. code-block:: console\n\n $ pip install overpy\n\nExamples\n--------\n\nAdditional examples can be found in the `documentation`_ and in the *examples* directory.\n\n.. code-block:: python\n\n import overpy\n\n api = overpy.Overpass()\n\n # fetch all ways and nodes\n result = api.query(\"\"\"\n way(50.746,7.154,50.748,7.157) [\"highway\"];\n (._;>;);\n out body;\n \"\"\")\n\n for way in result.ways:\n print(\"Name: %s\" % way.tags.get(\"name\", \"n/a\"))\n print(\" Highway: %s\" % way.tags.get(\"highway\", \"n/a\"))\n print(\" Nodes:\")\n for node in way.nodes:\n print(\" Lat: %f, Lon: %f\" % (node.lat, node.lon))\n\n\nHelper\n~~~~~~\n\nHelper methods are available to provide easy access to often used requests.\n\n.. code-block:: python\n\n import overpy.helper\n\n # 3600062594 is the OSM id of Chemnitz and is the bounding box for the request\n street = overpy.helper.get_street(\n \"Stra\u00dfe der Nationen\",\n \"3600062594\"\n )\n\n # this finds an intersection between Stra\u00dfe der Nationen and Carolastra\u00dfe in Chemnitz\n intersection = overpy.helper.get_intersection(\n \"Stra\u00dfe der Nationen\",\n \"Carolastra\u00dfe\",\n \"3600062594\"\n )\n\n\nLicense\n-------\n\nPublished under the MIT (see LICENSE for more information)\n\n.. _`documentation`: http://python-overpy.readthedocs.org/\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/DinoTools/python-overpy", "keywords": "OverPy Overpass OSM OpenStreetMap", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "overpy", "package_url": "https://pypi.org/project/overpy/", "platform": "", "project_url": "https://pypi.org/project/overpy/", "project_urls": { "Homepage": "https://github.com/DinoTools/python-overpy" }, "release_url": "https://pypi.org/project/overpy/0.4/", "requires_dist": null, "requires_python": "", "summary": "Python Wrapper to access the OpenStreepMap Overpass API", "version": "0.4" }, "last_serial": 2507629, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "1556bf48799e0439cc76039a829e2ad1", "sha256": "0ac4a5dec91c32b9433bfbc07990548e0adc785691ced708a3de88e97d83f0d4" }, "downloads": -1, "filename": "overpy-0.1.tar.gz", "has_sig": false, "md5_digest": "1556bf48799e0439cc76039a829e2ad1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5179, "upload_time": "2014-12-14T21:44:05", "url": "https://files.pythonhosted.org/packages/b6/83/09f0da58727769e5f2f62896ba4968df1b45beb90d5456edbf5863111b5d/overpy-0.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "8aa3d74372eb6148b13fd038cdcd5894", "sha256": "e4df64f3bd682f7748edcf7be3100c59d83fa5e76d59add7469bd78c6657e69d" }, "downloads": -1, "filename": "overpy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8aa3d74372eb6148b13fd038cdcd5894", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12298, "upload_time": "2014-12-27T19:23:44", "url": "https://files.pythonhosted.org/packages/61/b9/0577ba34b3304a5deef2106a44311407259b39da2483483bd0fe7b832368/overpy-0.2.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "f90c24cb083659f6733825508126a2a1", "sha256": "3c6f6afe262ccf50c983617fc4ec5f381c2e1f6391aa974fbcc39203802bc3ff" }, "downloads": -1, "filename": "overpy-0.3.1.tar.gz", "has_sig": false, "md5_digest": "f90c24cb083659f6733825508126a2a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13510, "upload_time": "2015-04-30T21:49:04", "url": "https://files.pythonhosted.org/packages/5d/7d/01d2b0fa05c43cc789151aff0efa25ca6d09ee30c1eb7e9a2e41d36c474b/overpy-0.3.1.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "e30522fe044deeeccb33956c809765c6", "sha256": "6e5bfcd9368f0c33a5d7615b18dbcac18444157f447639287c6743aa2de8964d" }, "downloads": -1, "filename": "overpy-0.4.tar.gz", "has_sig": false, "md5_digest": "e30522fe044deeeccb33956c809765c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41571, "upload_time": "2016-12-08T21:24:36", "url": "https://files.pythonhosted.org/packages/9d/20/31f2e2af0dbc05a358259b9cdf67056d34b002d8041944628d05adfab9ba/overpy-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e30522fe044deeeccb33956c809765c6", "sha256": "6e5bfcd9368f0c33a5d7615b18dbcac18444157f447639287c6743aa2de8964d" }, "downloads": -1, "filename": "overpy-0.4.tar.gz", "has_sig": false, "md5_digest": "e30522fe044deeeccb33956c809765c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41571, "upload_time": "2016-12-08T21:24:36", "url": "https://files.pythonhosted.org/packages/9d/20/31f2e2af0dbc05a358259b9cdf67056d34b002d8041944628d05adfab9ba/overpy-0.4.tar.gz" } ] }