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
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
Built Distribution
Close
Hashes for currency_iso4217-0.8.220205.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07b362205411e2feecd5a6822d55ef9510423f7ac195cd78c26f0f1ca68b01d3 |
|
MD5 | bda1d43fc55cb738080bf5cedfef0a21 |
|
BLAKE2b-256 | 0b7d7a1f42c5819ed4fa4eea3f89488059f31658d3cc164c02e60a3ba5115e5c |
Close
Hashes for currency_iso4217-0.8.220205-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b82b44a3fd578f06d717372394b3e5aad7a48f9bced9367a8821f539c4b7962 |
|
MD5 | 7983403963cbb4258aeba77fb2324540 |
|
BLAKE2b-256 | 8f825eec5215a28f7b8d96c066d76b6c8e2d1f42999e1f2a3de461a9cdfd3dac |