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.
Project details
Release history Release notifications | RSS feed
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
Hashes for trytond_country-5.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2ca0c8b433555116085ae14102f8dbd1f1bc2d1aa337b7f46259f9d69dae32d |
|
MD5 | d5b83ab493c6f206c935849018d9d4d8 |
|
BLAKE2b-256 | 8ed40cfa16b2a5fa03418a7625aa219a061f4eff6424e30afd73d9d6ee042a5a |