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.8.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for country_viewport-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 874071ccd5cede713bde106d2bd4b5e2cc17c32956be2a6a4066da322246bb20 |
|
MD5 | 673bc756680bab7f250a4832afaac52d |
|
BLAKE2b-256 | 329d832b6f86f7a279cfcc7217c63320618faa79836e6270e9ae3bb340bcd359 |