A Django-based Countries data toolkit. Part of the Valuehorizon application ecosystem.
Project description
A Django-based Countries data toolkit. It also includes documentation, test coverage and the official ISO-3166 seed data for all current (and former) countries. This app is a part of the Valuehorizon application ecosystem.
Why a new Countries app?
This app is not a fork of the excellent django-countries app. The aim of valuehorizon-countries is to provide similar functionality but to actually include a Country model. From an architectural point-of-view, we prefer this method for the following reasons:
Country data are constantly evolving. ISO-3166 aims to keep track of all recognized countries and their current status. For example, in 1991, the country known as Yugoslavia split into several states. We want to be able to keep a “Yugoslavia” object, but set its status to something “non-current”;
We want to keep the aforementioned country data as up-to-date as possible. Valuehorizon provides an API to do so;
We want to make ORM queries on that data; and
We want the data to be part of the database, and not hard-coded in our source-code. This allows us to maintain the country data without changing or adding source code.
Again, this app is not meant to replace django-countries, but simply to provide similar functionality via Django models and not a field.
Contributing
Please file bugs and send pull requests to the GitHub repository and issue tracker.
Commercial Support
This project is sponsored by Valuehorizon. If you require assistance on your project(s), please contact us: support@valuehorizon.com.
Project details
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
File details
Details for the file valuehorizon-countries-0.2.1.tar.gz
.
File metadata
- Download URL: valuehorizon-countries-0.2.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e46f0a91722f0398c14f849f9deb6eb8896ed1c9c830d477008ea11c954777 |
|
MD5 | b73750147952877cee3fe27bd99c9276 |
|
BLAKE2b-256 | 9a7ae011e2118d966906c87e8ac0dfebde265aadb4e3cd707766cb884b020f83 |
File details
Details for the file valuehorizon_countries-0.2.1-py2-none-any.whl
.
File metadata
- Download URL: valuehorizon_countries-0.2.1-py2-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18558b36854408c8a77eeb96d696323cfa43fcd1a500b610099c24ebd6b843aa |
|
MD5 | fe05f611887953f7c69ca58830113d1f |
|
BLAKE2b-256 | ecdaaccb353ae12b0e17864af1eac030611590376624d41ccec17f77349577c4 |