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
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
>>> 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.3.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for currency_iso4217-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a021525580957532a6c2f258f4de5037ca6812a51692d6b814dde4289fcd9f38 |
|
MD5 | a29f21241604abe906427c0a76b88a05 |
|
BLAKE2b-256 | 322dcaac319104e3c350d6a0eba6c2b03f2f7ac074ae99c90e28d82934c75a26 |