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')
>>> [{'position': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import search_by_country
>>> search_by_country('Chile')
>>> [{'position': 41, 'code': 'CLP', 'country': 'Chile', 'currency': 'Unidad de fomento', 'decimals': '4'}, {'position': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import search_by_currency
>>> search_by_currency('Peso chileno')
>>> [{'position': 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.10.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.10.220208.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| currency_iso4217-0.10.220208-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / currency_iso4217-0.10.220208.tar.gz
| Download URL | currency_iso4217-0.10.220208.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f320e6125f7e164ac3870c46f53d31151bdbb58cd8f5e6368fd4e090e4540b5
|
|
BLAKE2b-256 checksum How to use checksums |
58463cdad0fa87ebdb3a204fef5757dc83fbe4f87ef0daf25092ab7168b86d48
|
| 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.10.220208-py3-none-any.whl
| Download URL | currency_iso4217-0.10.220208-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
492cc4eb875db97d0d618873afda1b6c31a7461c9c2b7c4708fb7d9b358fe008
|
|
BLAKE2b-256 checksum How to use checksums |
df73e9cd0cbad9c76e9416d7f1531f5b240c9cbd14f1228fccda729388bcb2ca
|
| 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
|