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.9.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for country_viewport-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a568c6d4abc69bdf45a4cf68b36b1185e9e071c925d546cea5cb240dead6b39 |
|
MD5 | c60a4b053271fe0a25b92dc0315457cc |
|
BLAKE2b-256 | 881a4d13329de6cb59f0de93bc8c52d2e70d7eac60176e167bd71bc1d5808c30 |