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.2.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for currency_iso4217-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9323521da8dcb5ce79efc7efb0a7339ad3901b0adef61f7e313e7f1dd2faeb36 |
|
MD5 | f9f9913d730d5721306fb66caef58f2f |
|
BLAKE2b-256 | cd1e0e38c13f8bd5bdd846049889bf45fff6ffadf2ba40640ff9b115b8d2080c |