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 search_decimals
>>> search_decimals('USD')
>>> 2
>>> from currency_iso4217 import show_list >>> show_list() >>> [...]
Written by Marcelo Daniel Iacobucci. Distributed under Public Domain.
Metadata
Release files for currency-iso4217 0.9.220208
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.9.220208.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| currency_iso4217-0.9.220208-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / currency_iso4217-0.9.220208.tar.gz
| Download URL | currency_iso4217-0.9.220208.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f599d7f53cb6cb8b12e3e8a88485026dc96868c33add99f6fec6eefaf977463f
|
|
BLAKE2b-256 checksum How to use checksums |
3d2638bae5b6db3d578f0f4442e1b78e75dab9bac6cf2169845e41ddf35a54df
|
| 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.9.220208-py3-none-any.whl
| Download URL | currency_iso4217-0.9.220208-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21203cb273cc612d576151abdd822a852be6df6af45ed3a5534431c6c7fb5702
|
|
BLAKE2b-256 checksum How to use checksums |
dab83267ef3aab71ce20ea2b3de633fb3868581d843ed3f052046f380f9234ac
|
| 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
|