{
"info": {
"author": "Micha\u0142 Jaworski",
"author_email": "swistakm@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5"
],
"description": "|Build Status| |Coverage Status|\n\npython-gmaps\n============\n\nGoogle Maps API client. For full API documentation go to:\n\nhttp://python-gmaps.readthedocs.org\n\nWhy yet another python google maps client?\n------------------------------------------\n\nThere are a bunch of libraries for Google Maps Web Service. To name a\nfew: \\* `googlemaps `__ \\*\n`google.directions `__\n\nWhat's wrong with them? googlemaps uses deprecated google API and forces\nyou to format your parameters instead of using native python datatypes.\nAnd what about google.directions? Just take a look inside it's code...\n\nSo here is code for new Google Maps API endpoints. It requires\n`requests `__, supports native\npython datatypes and is sweetened with some syntactic sugar. Nothing\nmore. No bells and whistles.\n\nAny contributions (code/issues) are welcome.\n\nInstalation\n-----------\n\n::\n\n pip install python-gmaps\n\nUsage\n-----\n\nJust import API endpoint of your choice and start querying:\n\n.. code:: python\n\n from gmaps import Geocoding\n api = Geocoding()\n\n api.geocode(\"somwhere\")\n api.reverse(51.123, 21.123)\n\nIf you need to use Google Maps API for Business then instantiate your\nendpoint with ``api_key`` param\n\n.. code:: python\n\n from gmaps import Geocoding\n api = Geocoding(api_key='your_secret_api_key')\n\nEach endpoint method raises adequate exception when status of query is\ndifferent than ``OK``. It also unpacks results list from Google API\noutput dict so you have one key less to access but it does nothing more.\nSo if Google geocoding api outputs something like:\n\n::\n\n {\n results: [\n ...\n ],\n status: 'OK'\n }\n\nYou will get only get list that was inside ``result`` value. At least\none element returned is always assured, otherwise\n``gmnaps.errors.NoResults`` exception is raised.\n\nFor each API endpoint you can specify: \\* default ``sensor`` value \\*\nprotocol (http/https) \\* api key (only for http)\n\nAvailable endpoints: \\* ``Geocoding()`` \\* ``Directions()`` \\*\n``Timezone()`` \\* ``Elevation()``\n\nFor detailed documentation of each endpoint refer to dosctrings or `this\nAPI documentation `__.\nIf you need list of available values for some parameters (like geocoding\ncomponents, languages, regions etc.) refer to `Google Maps API\ndocs `__.\nThese values can change anytime so there is no reason to check for them\nin this lib - they will be checked anyway.\n\nChanges\n-------\n\n0.3.1 (2016-03-23)\n~~~~~~~~~~~~~~~~~~\n\n- updated list of trove classifiers\n- nicer ``long_description`` on PyPI\n- simplified requirements in ``setup.py`` script\n\n0.3.0 (2015-08-31)\n~~~~~~~~~~~~~~~~~~\n\n- added two additional optional parameters to reverse geocoding that\n allow restricting type of results (``result_type`` and\n ``location_type``) thanks to @20tab\n- added ``gmaps.polyline.encode()`` utility function to encode paths\n using `Encoded Polyline Algorithm\n Format `__\n- ``Elevation`` endpoint added implemented\n\n0.2.1 (2014-11-11)\n~~~~~~~~~~~~~~~~~~\n\n- ``gmaps.errors.GmapException`` inherits from ``Exception`` instead of\n ``BaseException``\n\n0.2.0 (2014-10-02)\n~~~~~~~~~~~~~~~~~~\n\n- fixed lists serialization issue (#1) thanks to @feighter09\n- added pep8 compliance test using flake8\n- pep8 compliance\n\n0.1.1 (2014-05-16)\n~~~~~~~~~~~~~~~~~~\n\n- python 3.3 support\n\n0.1.0 (2014-05-09)\n~~~~~~~~~~~~~~~~~~\n\n- ``Timezone`` endpoint added\n\n0.0.2 (2013-10-03)\n~~~~~~~~~~~~~~~~~~\n\n- ``Directions`` endpoint added\n\n0.0.1 (2013-10-02)\n~~~~~~~~~~~~~~~~~~\n\n- initial release\n- ``Geocoding`` endpoint\n\n.. |Build Status| image:: https://travis-ci.org/swistakm/python-gmaps.svg?branch=master\n :target: https://travis-ci.org/swistakm/python-gmaps\n.. |Coverage Status| image:: https://img.shields.io/coveralls/swistakm/python-gmaps.svg\n :target: https://coveralls.io/r/swistakm/python-gmaps",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/swistakm/python-gmaps",
"keywords": null,
"license": "UNKNOWN",
"maintainer": null,
"maintainer_email": null,
"name": "python-gmaps",
"package_url": "https://pypi.org/project/python-gmaps/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/python-gmaps/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/swistakm/python-gmaps"
},
"release_url": "https://pypi.org/project/python-gmaps/0.3.1/",
"requires_dist": null,
"requires_python": null,
"summary": "Google Maps API client",
"version": "0.3.1"
},
"last_serial": 2022366,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "fd8c9c86cf192d352e0b0c5cdc438b91",
"sha256": "2891e354f657c2bf97553d076fa72f0a8f3e6ba06ef518fb396b871268a80438"
},
"downloads": -1,
"filename": "python-gmaps-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "fd8c9c86cf192d352e0b0c5cdc438b91",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2802,
"upload_time": "2013-10-02T14:22:26",
"url": "https://files.pythonhosted.org/packages/5b/4a/35157117ef5125456fbd8442d181ecf6f1cd9ce5985bcd74c83c1a02f52e/python-gmaps-0.0.1.tar.gz"
}
],
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "b9c21e59d848a8c901844e1e21b4df13",
"sha256": "fb0ba8b2195dbbc3d8d6073b06b0e3bc06e4b3f4f810a4d1d18ea70e7e85ee71"
},
"downloads": -1,
"filename": "python-gmaps-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "b9c21e59d848a8c901844e1e21b4df13",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5991,
"upload_time": "2013-10-03T13:51:46",
"url": "https://files.pythonhosted.org/packages/85/8b/7e1bb688c0a527979f741c9b033c21cf7c66361da45dc320477f2516b76d/python-gmaps-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "ee6f49d21aa8f13c848c98fd6ad88fd4",
"sha256": "675b0b5ed76629220205e2cfa17d81db53186bd5f4076fce1637245f3a975d3f"
},
"downloads": -1,
"filename": "python-gmaps-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "ee6f49d21aa8f13c848c98fd6ad88fd4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 6102,
"upload_time": "2013-10-07T08:33:12",
"url": "https://files.pythonhosted.org/packages/80/68/e86c65364f31787ec9c1939f0a42d623c47e98322f2fef2a72c646a15385/python-gmaps-0.0.3.tar.gz"
}
],
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "e426750df58c01e620e1498516dee9eb",
"sha256": "0b75176780f72695fd65adb2e2a0082b1d011a5387fe4156314f4d6ffc2f1877"
},
"downloads": -1,
"filename": "python-gmaps-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e426750df58c01e620e1498516dee9eb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7368,
"upload_time": "2014-05-09T15:56:46",
"url": "https://files.pythonhosted.org/packages/88/56/94e423c35f651f8ebdcc5851f1ce3a171d19ab5300ff4fa27e274579c14c/python-gmaps-0.1.0.tar.gz"
}
],
"0.1.1": [
{
"comment_text": "",
"digests": {
"md5": "b1206a3fbf9d2b5a9447e3bc02fd49ca",
"sha256": "5f434e39ecd2124cbe1a54a369d3e39603a259ae4b2caf28d2ab3d1a97daeeeb"
},
"downloads": -1,
"filename": "python-gmaps-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "b1206a3fbf9d2b5a9447e3bc02fd49ca",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7356,
"upload_time": "2014-05-19T08:23:49",
"url": "https://files.pythonhosted.org/packages/67/ce/760238af87555a3cde115b109c422020a9fe7ca044efcfad2d77d52bae38/python-gmaps-0.1.1.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "20334a665f9cf26024510d8a009423b4",
"sha256": "4339cc6372c1160f05f4d6c983ac9969b1928fb504e64a4d8d1d3bb858945586"
},
"downloads": -1,
"filename": "python-gmaps-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "20334a665f9cf26024510d8a009423b4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9351,
"upload_time": "2014-10-02T18:56:11",
"url": "https://files.pythonhosted.org/packages/e2/2d/85d936af50c26e8ffc36d04133a3c288e16194ba7ed4793abc10090e065a/python-gmaps-0.2.0.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "10876b5f133fa3047701409368a4c37e",
"sha256": "be3ff149c388ea080d5e92c163f020b967d0e10e92e3c75f65bf71f15015a721"
},
"downloads": -1,
"filename": "python-gmaps-0.2.1.zip",
"has_sig": false,
"md5_digest": "10876b5f133fa3047701409368a4c37e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15516,
"upload_time": "2014-11-11T16:07:34",
"url": "https://files.pythonhosted.org/packages/b2/8e/8469ca32606eb573c51f2712a10c45d24bac11b5667ebaf808f8446af50d/python-gmaps-0.2.1.zip"
}
],
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "8d1b94ccfe6bc25dfc8666c0d2a70e02",
"sha256": "4ba39267b28a3378d9081ef8867ada35b32be3e5a6dc499b127506be767fc222"
},
"downloads": -1,
"filename": "python-gmaps-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "8d1b94ccfe6bc25dfc8666c0d2a70e02",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10934,
"upload_time": "2015-08-31T10:29:05",
"url": "https://files.pythonhosted.org/packages/7b/c0/bbef7c2edeaf7b3ad40c21aac9e854f0dae1dc9741e09aa889f9b3680db7/python-gmaps-0.3.0.tar.gz"
}
],
"0.3.1": [
{
"comment_text": "",
"digests": {
"md5": "54e347a2b56628c9ccff8e9f555150f4",
"sha256": "b2b4cd186f2db6e18a1afaff4a3136f97ddf27c250f9bc27c04c36b4b6b69301"
},
"downloads": -1,
"filename": "python_gmaps-0.3.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "54e347a2b56628c9ccff8e9f555150f4",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 13641,
"upload_time": "2016-03-23T10:29:14",
"url": "https://files.pythonhosted.org/packages/71/1a/b5ac46de53b009327e4ce4ae6598069fc60d57e006b86bc40f251a9c9959/python_gmaps-0.3.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "8d1a529ba8501f10e35b54fc36a7ab06",
"sha256": "95a31c6098d6df01211395034328232e38565c6c35cd111329bb0caccd719b63"
},
"downloads": -1,
"filename": "python-gmaps-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "8d1a529ba8501f10e35b54fc36a7ab06",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11555,
"upload_time": "2016-03-23T10:29:07",
"url": "https://files.pythonhosted.org/packages/f8/1a/223335d0cd1ae3788b6b5e64325fb54ed8e36d996bfccae7e92774785e18/python-gmaps-0.3.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "54e347a2b56628c9ccff8e9f555150f4",
"sha256": "b2b4cd186f2db6e18a1afaff4a3136f97ddf27c250f9bc27c04c36b4b6b69301"
},
"downloads": -1,
"filename": "python_gmaps-0.3.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "54e347a2b56628c9ccff8e9f555150f4",
"packagetype": "bdist_wheel",
"python_version": "2.7",
"requires_python": null,
"size": 13641,
"upload_time": "2016-03-23T10:29:14",
"url": "https://files.pythonhosted.org/packages/71/1a/b5ac46de53b009327e4ce4ae6598069fc60d57e006b86bc40f251a9c9959/python_gmaps-0.3.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "8d1a529ba8501f10e35b54fc36a7ab06",
"sha256": "95a31c6098d6df01211395034328232e38565c6c35cd111329bb0caccd719b63"
},
"downloads": -1,
"filename": "python-gmaps-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "8d1a529ba8501f10e35b54fc36a7ab06",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11555,
"upload_time": "2016-03-23T10:29:07",
"url": "https://files.pythonhosted.org/packages/f8/1a/223335d0cd1ae3788b6b5e64325fb54ed8e36d996bfccae7e92774785e18/python-gmaps-0.3.1.tar.gz"
}
]
}