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.


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.

Download files

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

Files for trytond-country, version 5.8.1
Filename, size File type Python version Upload date Hashes
Filename, size trytond_country-5.8.1-py3-none-any.whl (68.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size trytond_country-5.8.1.tar.gz (52.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page