Skip to main content

Adds filters for interpreting ISO codes.

Project description

https://travis-ci.org/todofixthis/filters-iso.svg?branch=master https://readthedocs.org/projects/filters/badge/?version=latest

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).

Installation

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 setup.py 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.

Source Distribution

phx-filters-iso-2.0.0.tar.gz (5.8 kB view hashes)

Uploaded source

Built Distribution

phx_filters_iso-2.0.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded py3

Supported by

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