Librería para buscar y validar divisas conforme listado ISO 4217
Project description
Librería que permite buscar en el listado ISO 4217 las divisas por código, país o moneda.
# 💡 Prerequisitos
Python >=3.6
# 📚 Ejemplo de uso
## Import - from currency_iso4217 import search_by_code - from currency_iso4217 import search_by_country - from currency_iso4217 import search_by_currency - from currency_iso4217 import show_list
## Call functions >>> search_by_code(‘CLP’) >>> [{‘id’: 42, ‘country’: ‘Chile’, ‘currency’: ‘Peso chileno’, ‘decimals’: ‘0’}]
>>> search_by_country('Chile') >>> [{'id': 41, 'country': 'Chile', 'currency': 'Unidad de fomento', 'decimals': '4'}, {'id': 42, 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> search_by_currency('Peso chileno') >>> [{'id': 42, 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> show_list() >>> [...]
Por Marcelo Daniel Iacobucci
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
currency_iso4217-0.0.4.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for currency_iso4217-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db5e7abfecc0bd2bf05e36090b40baee7723476a75960974d751a828152a4a76 |
|
MD5 | c7651bc4bfcf19dd08ffa133a1e8e7aa |
|
BLAKE2b-256 | 3fbbd7fbc9b04ea7b850e3cd2259c42e698c64cf5e096e0b8d75dd362669b75f |