Skip to main content

Adds filters for interpreting ISO codes.

Project description

ISO Filters

Adds filters for interpreting standard codes and identifiers, including:

  • ISO 3166-1 alpha-2 and alpha-3 country codes.
  • ISO 4217 currency codes.
  • IETF Language Tags (aka BCP 47).


This package is an extension for the Filters library, so you can install it as an extra to phx-filters:

pip install phx-filters[iso]

If desired, you can install this package separately. This allows you to control the package version separately from phx-filters:

pip install phx-filters-iso

Running Unit Tests

To run unit tests after installing from source:

python test

This project is also compatible with tox, which will run the unit tests in different virtual environments (one for each supported version of Python).

Install the package with the test-runner extra to set up the necessary dependencies, and then you can run the tests with the tox command:

pip install -e .[test-runner]
tox -p all

Project details

Download files

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

Files for phx-filters-iso, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size phx_filters_iso-2.0.0-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size phx-filters-iso-2.0.0.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page