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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file country_viewport-0.1.9.tar.gz.
File metadata
- Download URL: country_viewport-0.1.9.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/2.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c8d1ab44568595e96b3e8561cae7193efdcf05cdb0fc053a198cc97acd0d9c8
|
|
| MD5 |
1b243e2a5354486bd294c6b778c1d1a7
|
|
| BLAKE2b-256 |
f37ffb2801826b459a24abc7f6c7a3278f08c825398b260c5b248d08eda24198
|
File details
Details for the file country_viewport-0.1.9-py3-none-any.whl.
File metadata
- Download URL: country_viewport-0.1.9-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/2.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a568c6d4abc69bdf45a4cf68b36b1185e9e071c925d546cea5cb240dead6b39
|
|
| MD5 |
c60a4b053271fe0a25b92dc0315457cc
|
|
| BLAKE2b-256 |
881a4d13329de6cb59f0de93bc8c52d2e70d7eac60176e167bd71bc1d5808c30
|