Skip to main content

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

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)

Release files for mygmap 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mygmap 1.0.3
File Size Uploaded
mygmap-1.0.3.tar.gz 2.0 kB Details

Release files / mygmap-1.0.3.tar.gz

Download URL mygmap-1.0.3.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f52a91cc6d49f2490f9e8ce0bfaddb6ebbd5c69a7eb2b91b0ca32c7cd12759ff
BLAKE2b-256 checksum
How to use checksums
1c64344a88cdef25796915d9f4b425a9c3f6e889dc133c6b35a42ef602093786
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page