Librería para buscar divisas conforme listado ISO 4217. Last update: 2022-03-22
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
## Usage
>>> from currency_iso4217 import search_by_code >>> search_by_code('CLP') >>> [{'position': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import search_by_country >>> search_by_country('Chile') >>> [{'position': 41, 'code': 'CLP', 'country': 'Chile', 'currency': 'Unidad de fomento', 'decimals': '4'}, {'position': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import search_by_currency >>> search_by_currency('Peso chileno') >>> [{'position': 42, 'code': 'CLP', 'country': 'Chile', 'currency': 'Peso chileno', 'decimals': '0'}]
>>> from currency_iso4217 import search_decimals >>> search_decimals('USD') >>> 2
>>> 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.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d47b78a59a23225bd0f0425c6bad315324b9c347935c4bf1f6de9badc6852b3 |
|
MD5 | ca0c4368259644441e4abd134c3d44ec |
|
BLAKE2b-256 | de1024d1f44fc8022e572db96e1515e5768bc22911d154c368ceef5b013566ea |