Skip to main content

Librería para buscar divisas conforme listado ISO 4217

Project description

Package currency_iso4217 is a self-contained module that allows search currency by code, country or currency definition returning the corresponding active currency information.

# Pre requirements

Python >=3.6

# Installation

pip install currency-iso4217

# Use

>>> from currency_iso4217 import search_by_code
>>> search_by_code('CLP')
>>> [{'id': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import search_by_country
>>> 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'}]
>>> from currency_iso4217 import search_by_currency
>>> search_by_currency('Peso chileno')
>>> [{'id': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import show_list
>>> show_list()
>>> [...]

Written by Marcelo Daniel Iacobucci. Distributed under Public Domain.

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

Uploaded Source

Built Distribution

currency_iso4217-0.6.220205-py3-none-any.whl (15.8 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