teritorio: ISO codes for countries and currencies#

Tests License PyPI Downloads code style: black build automation: yam Lint: ruff

teritorio two iterable singletons that Countries and Currencies, that contain all the relevant ISO information about countries and currencies, respectively.

In a nutshell#

Installation#

The easiest way is to use poetry to manage your dependencies and add teritorio to them. It requires Python 3.7.0+ to run.

[tool.poetry.dependencies]
teritorio = "*"

It is advised to always use the latest release, so that you’ll get the latest ISO codes

Usage#

There are two iterable singletons that can be imported from teritorio: Countries and Currencies.

from teritorio import Countries
from teritorio import Currencies

Versioning#

The project project adheres to Calendar Versioning. The reason is that the data are dominated by political decisions, making semantic versioning largely irrelevant.