Skip to main content

Tryton module with countries

Project description

The country module defines the concepts of country and subdivision and comes preloaded with the ISO 3166 list of countries and subdivisions thanks to the pycountry module.

Country

A country is defined by the full name of the country, a code (the ISO country code made of two chars) and the list of subdivisions.

Subdivision

A subdivision is defined by a name, a code and a type (e.g, Capital City, Province, Emirate, etc)

Zip

A zip links a zip code of a country to a city.

Scripts

There are two scripts:

  • trytond_import_countries to create and update countries and subdivisions from the ISO database.

  • trytond_import_zip to create zips by country from the geonames database.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trytond_country-5.6.1.tar.gz (48.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trytond_country-5.6.1-py3-none-any.whl (68.8 kB view details)

Uploaded Python 3

File details

Details for the file trytond_country-5.6.1.tar.gz.

File metadata

  • Download URL: trytond_country-5.6.1.tar.gz
  • Upload date:
  • Size: 48.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for trytond_country-5.6.1.tar.gz
Algorithm Hash digest
SHA256 ce600837115b3ffd73d99884e27b63cdebd613a08f153b6787e067e388b2ab8d
MD5 d9bbb42547beef011e1c622fab2862f0
BLAKE2b-256 e25a564af8e5a35c579c602c8b8f7cd8bc5705ab9cb1e0c61c8192e58b1a9265

See more details on using hashes here.

File details

Details for the file trytond_country-5.6.1-py3-none-any.whl.

File metadata

  • Download URL: trytond_country-5.6.1-py3-none-any.whl
  • Upload date:
  • Size: 68.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for trytond_country-5.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd0bf4e5e4284a99b12ad205a65dc91fc353d2d86988654366007f37c09eb503
MD5 5b5b4fadb34c251d0e417f1ede902ae6
BLAKE2b-256 a83005db5fee9dd847b801a89a84c7a538110d4ae5c6481ae8fbe6f90ce20b27

See more details on using hashes here.

Supported by

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