Tryton module with countries
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.
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.
A subdivision is defined by a name, a code and a type (e.g, Capital City, Province, Emirate, etc)
A zip links a zip code of a country to a city.
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.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size trytond_country-5.4.0-py3-none-any.whl (58.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size trytond_country-5.4.0.tar.gz (46.5 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for trytond_country-5.4.0-py3-none-any.whl