Overview
A python library to get information on countries. The package has functions that enable you to download the datasets from geonames.org and also create sqlite db for the data.
The CountryInfo class allows you to get information of any given country. You can use any common name used for getting data about the country.
Free software: MIT license
Installation
pip install pynations
You can also install the in-development version with:
pip install https://github.com/suvinks/python-pynations/archive/master.zip
Documentation
Development
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
|---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
References
Data used in this project is downloaded from Geonames licensed under Creative Commons 4.0
Changelog
0.0.2 (2020-04-25)
Corrections to solve issues with Windows 10.
0.0.1 (2020-04-25)
First release on PyPI.
Metadata
Release files for pynations 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pynations-0.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pynations-0.0.2-py2.py3-none-any.whl |
Release files / pynations-0.0.2-py2.py3-none-any.whl
| Download URL | pynations-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 640.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
21417a313bab2cd11a5e18f2b2ac2b8a52efd3b3c4a8f5732c535ae5268e7839
|
|
BLAKE2b-256 checksum How to use checksums |
1862e72d0cb823a258fa87516183b544309743b03fe18ce0e619fee54be1cc7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
|
Security for pynations 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.