Librería para buscar y validar divisas conforme listado ISO 4217
Project description
Por Marcelo Daniel Iacobucci
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() >>> [...]
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.1.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for currency_iso4217-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e30e75c86850cfea4925ac66d68a141b5810fd7a32c03052019d8991dd5dc4 |
|
MD5 | d1fceb0f67eaa8aeb0d0a41fc9e1362c |
|
BLAKE2b-256 | 7e7042006300fe621c2f207f5a336132325680558b3941ab7f015faa3d2d2079 |