mygmap
======
A simple python wrapper for Google Maps API.
Use it to get the formatted address or co-ordinates of any location.
The code is Python 2, but Python 3 compatible.
Installation
------------
Fast install:
::
pip install mygmap
For a manual install get this package:
::
wget https://github.com/nikhilkumarsingh/mygmap/archive/master.zip
unzip master.zip
rm master.zip
cd mygmap-master
Install the package:
::
python setup.py install
Example
--------
.. code:: python
from geo import locator
# get formatted address of any location
print locator.get_address("rohini, delhi")
# get co-ordinates of location
print locator.get_coordinates("delhi")
Here is the output:
Rohini, New Delhi, Delhi, India
(28.7040592, 77.10249019999999)
Raw data
{
"_id": null,
"home_page": "https://github.com/gastonmichelotti/rapiboy.git",
"name": "rapiboy",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "maps location address",
"author": "Nikhil Kumar Singh",
"author_email": "nikhilksingh97@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/3b/92/a60adbf6b42251a1977a954ebd4f6217bbae9e0f451bfa43cd68999c5d9c/rapiboy-1.0.3.tar.gz",
"platform": null,
"description": "\nmygmap\n======\n\nA simple python wrapper for Google Maps API.\nUse it to get the formatted address or co-ordinates of any location.\n\nThe code is Python 2, but Python 3 compatible.\n\nInstallation\n------------\n\nFast install:\n\n::\n\n pip install mygmap\n\nFor a manual install get this package:\n\n::\n\n wget https://github.com/nikhilkumarsingh/mygmap/archive/master.zip\n unzip master.zip\n rm master.zip\n cd mygmap-master\n\nInstall the package:\n\n::\n\n python setup.py install \n\nExample\n--------\n\n.. code:: python\n\n from geo import locator\n\n # get formatted address of any location\n print locator.get_address(\"rohini, delhi\")\n\n # get co-ordinates of location\n print locator.get_coordinates(\"delhi\")\n\n \n\nHere is the output:\n\nRohini, New Delhi, Delhi, India\n(28.7040592, 77.10249019999999)\n\n \n \n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A small wrapper around google maps api",
"version": "1.0.3",
"split_keywords": [
"maps",
"location",
"address"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "7abfa4530e930a1dada2791dfa1b5adb",
"sha256": "bff981c3389b8a7ae6303800b1808e32107b8c24745fb49e4557a2beef3f4c7c"
},
"downloads": -1,
"filename": "rapiboy-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "7abfa4530e930a1dada2791dfa1b5adb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3786,
"upload_time": "2023-01-02T07:26:59",
"upload_time_iso_8601": "2023-01-02T07:26:59.683866Z",
"url": "https://files.pythonhosted.org/packages/3b/92/a60adbf6b42251a1977a954ebd4f6217bbae9e0f451bfa43cd68999c5d9c/rapiboy-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-02 07:26:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "gastonmichelotti",
"github_project": "rapiboy.git",
"lcname": "rapiboy"
}