Package currency_iso4217 is a self-contained module that allows search currency by code, country or currency definition returning the corresponding active currency information.
# Pre requirements
Python >=3.6
# Installation
pip install currency-iso4217
# Use
>>> from currency_iso4217 import search_by_code
>>> search_by_code('CLP')
>>> [{'id': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import search_by_country
>>> search_by_country('Chile')
>>> [{'id': 41, 'code': 'CLP', 'country': 'Chile', 'currency': 'Unidad de fomento', 'decimals': '4'}, {'id': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import search_by_currency
>>> search_by_currency('Peso chileno')
>>> [{'id': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import show_list >>> show_list() >>> [...]
Written by Marcelo Daniel Iacobucci. Distributed under Public Domain.
Metadata
Release files for currency-iso4217 0.7.220205
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| currency_iso4217-0.7.220205.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| currency_iso4217-0.7.220205-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / currency_iso4217-0.7.220205.tar.gz
| Download URL | currency_iso4217-0.7.220205.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1686a2096b33133bd22109acc351d396f081848118e0199c1a3a17a34b89c82
|
|
BLAKE2b-256 checksum How to use checksums |
5ffdb9ee3259e31ef4db1d6e88325c6734a7044d90db9149075f6334ba63d2ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0
|
Release files / currency_iso4217-0.7.220205-py3-none-any.whl
| Download URL | currency_iso4217-0.7.220205-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed0b1ff1e4d43cc2575cbec9c7d149f06901f602216d7df3195211731addd442
|
|
BLAKE2b-256 checksum How to use checksums |
5b9d4c4e2333d9a5e4ef6c8952d8318ca31a6cc7abbda7a14810cc9f3c617be6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0
|