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
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.5.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for currency_iso4217-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34b68f0bcc0f364b70b821ebc880f2542e594de2edb42e0e4133226eb51b020c |
|
MD5 | 93496cf63ebf255d2a500f94de2eb6d2 |
|
BLAKE2b-256 | cdcc7203fdd110a2c31ddef505e9ac749886b202a41794ebbe804c91706845cf |