Skip to main content

A small wrapper around google maps api

Project description

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 vrv-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)

Project details


Download files

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

Source Distribution

vrv_mygmap-1.0.4.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vrv_mygmap-1.0.4-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file vrv_mygmap-1.0.4.tar.gz.

File metadata

  • Download URL: vrv_mygmap-1.0.4.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for vrv_mygmap-1.0.4.tar.gz
Algorithm Hash digest
SHA256 b4c13400e8138c1bbd2cac3a17e3f577c767524af223d3a25a86a286b6f4ddd0
MD5 a7cc0baddbf2f9d75c6f999c1e4dd74f
BLAKE2b-256 3c97b06566fa6bb1845cdc8ccea2da2b1776c82ab05fe380ddc66ee18793f3ee

See more details on using hashes here.

File details

Details for the file vrv_mygmap-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: vrv_mygmap-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for vrv_mygmap-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f145c0452a24a363fe95f1ea67325c033bfd12002bade264276836b6a1c708b7
MD5 91c17afe6489c53bb3397a013d0e1405
BLAKE2b-256 d741e888ded0965add09f9a06b2e00906d2082b652f158790bc514b99556ca29

See more details on using hashes here.

Supported by

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