A CLI to interact with several cloud services providers
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 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
costngn-cli-0.0.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for costngn_cli-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9eadcb801fa47c2c66d533d46725a5fa42c10f6410de3d7ab91ebbee57c1a22 |
|
MD5 | 5ad9e8d0d0e253d97f5c48838c478f21 |
|
BLAKE2b-256 | 3149b4e100fda34ccc585c5e4435459ae45402cc06e6f8e99eb4868470467c20 |