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.7.220205.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1686a2096b33133bd22109acc351d396f081848118e0199c1a3a17a34b89c82 |
|
MD5 | d01429e82df1f025adf7640c562ca435 |
|
BLAKE2b-256 | 5ffdb9ee3259e31ef4db1d6e88325c6734a7044d90db9149075f6334ba63d2ab |
Close
Hashes for currency_iso4217-0.7.220205-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed0b1ff1e4d43cc2575cbec9c7d149f06901f602216d7df3195211731addd442 |
|
MD5 | 315e0f06d66ddcb7554a573839141c45 |
|
BLAKE2b-256 | 5b9d4c4e2333d9a5e4ef6c8952d8318ca31a6cc7abbda7a14810cc9f3c617be6 |