docs | |
---|---|
tests | |
package |
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
pip install pynations
You can also install the in-development version with:
pip install https://github.com/suvinks/python-pynations/archive/master.zip
https://python-pynations.readthedocs.io/
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 |
Data used in this project is downloaded from Geonames licensed under Creative Commons 4.0