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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mygmap-1.0.3.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file mygmap-1.0.3.tar.gz.

File metadata

  • Download URL: mygmap-1.0.3.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mygmap-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f52a91cc6d49f2490f9e8ce0bfaddb6ebbd5c69a7eb2b91b0ca32c7cd12759ff
MD5 759e49492c5f9e00358c1343da9a6bbe
BLAKE2b-256 1c64344a88cdef25796915d9f4b425a9c3f6e889dc133c6b35a42ef602093786

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page