Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Release history Release notifications

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 hashes
Filename, size phx-filters-iso-2.0.0.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page