Skip to main content

Countries, by Valuehorizon

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.

Metadata

Release files for valuehorizon-countries 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for valuehorizon-countries 0.2.1
File Size Uploaded Provenance Actions
valuehorizon-countries-0.2.1.tar.gz 10.4 kB Without provenance Details for valuehorizon-countries-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for valuehorizon-countries 0.2.1
File Interpreter ABI Platform Actions
valuehorizon_countries-0.2.1-py2-none-any.whl Python 2 none any Details for valuehorizon_countries-0.2.1-py2-none-any.whl

Total release size: 24.1 kB

Release files / valuehorizon-countries-0.2.1.tar.gz

Download URL valuehorizon-countries-0.2.1.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
23e46f0a91722f0398c14f849f9deb6eb8896ed1c9c830d477008ea11c954777
BLAKE2b-256 checksum
How to use checksums
9a7ae011e2118d966906c87e8ac0dfebde265aadb4e3cd707766cb884b020f83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / valuehorizon_countries-0.2.1-py2-none-any.whl

Download URL valuehorizon_countries-0.2.1-py2-none-any.whl
Size 13.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
18558b36854408c8a77eeb96d696323cfa43fcd1a500b610099c24ebd6b843aa
BLAKE2b-256 checksum
How to use checksums
ecdaaccb353ae12b0e17864af1eac030611590376624d41ccec17f77349577c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for valuehorizon-countries 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page