Skip to main content

Librería para buscar 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, ‘code’: ‘CLP’, ‘country’: ‘Chile’, ‘currency’: ‘Peso chileno’, ‘decimals’: ‘0’}]

>>> search_by_country('Chile')
>>> [{'id': 41, 'code': 'CLP', 'country': 'Chile', 'currency': 'Unidad de fomento', 'decimals': '4'}, {'id': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> search_by_currency('Peso chileno')
>>> [{'id': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> show_list()
>>> [...]

Por Marcelo Daniel Iacobucci

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.5.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

currency_iso4217-0.0.5-py3-none-any.whl (9.6 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