Skip to main content

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


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)

Uploaded Source

Built Distribution

currency_iso4217-0.0.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page