Extract viewports from country codes, without the need of relying on Google APIs.
Project description
Country-viewport
If you are in need of fetching viewports from countries, but do not want to use Google APIs, this package is for you.
Installation
$ pip3 install country-viewport
Usage
>>> import country_viewport
>>> country_viewport.get('CU')
{
'min_latitude': 19.90553,
'min_longitude': -84.28599,
'max_latitude': 23.15917,
'max_longitude': -74.15181,
}
License
MIT
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
country_viewport-0.1.7.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for country_viewport-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d44d0077029069923ac28a5ab26612aaf2d7f137dfae77e3fd286c50fa625467 |
|
MD5 | 00c8109f17dd5ac2cb3e55e8914a3e11 |
|
BLAKE2b-256 | 6f7e2535d330302024a0bdc075f2fe660ce1c39e094a64c5ecd6d859cbd5a2c6 |