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).
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file phx-filters-iso-2.0.0.tar.gz
.
File metadata
- Download URL: phx-filters-iso-2.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146cdfc05a197ab3cb324e1f0adceae183e6874f6c2113f2e90050ac38762f77 |
|
MD5 | 259e32deaf3a29fe4189705cdb39739b |
|
BLAKE2b-256 | 0019c7c32c8347649e816b9407d26bcefec915a999a856ebcae89e4c4b2fc829 |
File details
Details for the file phx_filters_iso-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: phx_filters_iso-2.0.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa82cf84ff193a1986c05397267f2df5143d15751ddd707aac1c0e8864db8e00 |
|
MD5 | 1e3c8120472421490183c345f8d640c0 |
|
BLAKE2b-256 | a50b1e9e8b415772d2fa5249b98b28b0b351c5e93262ea0ea5eb7b9c239c3ba4 |