A python library to get information on countries
Project description
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.
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 Distributions
Built Distribution
Hashes for pynations-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21417a313bab2cd11a5e18f2b2ac2b8a52efd3b3c4a8f5732c535ae5268e7839 |
|
MD5 | 714f3bf1820805376bdb10f20919ad5f |
|
BLAKE2b-256 | 1862e72d0cb823a258fa87516183b544309743b03fe18ce0e619fee54be1cc7e |