Skip to main content

A Django-based Countries data toolkit. Part of the Valuehorizon application ecosystem.

Project description

https://travis-ci.org/Valuehorizon/valuehorizon-countries.svg?branch=master https://coveralls.io/repos/Valuehorizon/valuehorizon-countries/badge.svg https://codeclimate.com/github/Valuehorizon/valuehorizon-countries/badges/gpa.svg

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

valuehorizon-countries-0.2.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

valuehorizon_countries-0.2.1-py2-none-any.whl (13.7 kB view details)

Uploaded Python 2

File details

Details for the file valuehorizon-countries-0.2.1.tar.gz.

File metadata

File hashes

Hashes for valuehorizon-countries-0.2.1.tar.gz
Algorithm Hash digest
SHA256 23e46f0a91722f0398c14f849f9deb6eb8896ed1c9c830d477008ea11c954777
MD5 b73750147952877cee3fe27bd99c9276
BLAKE2b-256 9a7ae011e2118d966906c87e8ac0dfebde265aadb4e3cd707766cb884b020f83

See more details on using hashes here.

File details

Details for the file valuehorizon_countries-0.2.1-py2-none-any.whl.

File metadata

File hashes

Hashes for valuehorizon_countries-0.2.1-py2-none-any.whl
Algorithm Hash digest
SHA256 18558b36854408c8a77eeb96d696323cfa43fcd1a500b610099c24ebd6b843aa
MD5 fe05f611887953f7c69ca58830113d1f
BLAKE2b-256 ecdaaccb353ae12b0e17864af1eac030611590376624d41ccec17f77349577c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page