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.1.2.tar.gz (8.3 kB view hashes)

Uploaded Source

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