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 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.9.220208.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f599d7f53cb6cb8b12e3e8a88485026dc96868c33add99f6fec6eefaf977463f |
|
MD5 | 84765ecc3d63400b43c98ee19f27c9c6 |
|
BLAKE2b-256 | 3d2638bae5b6db3d578f0f4442e1b78e75dab9bac6cf2169845e41ddf35a54df |
Close
Hashes for currency_iso4217-0.9.220208-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21203cb273cc612d576151abdd822a852be6df6af45ed3a5534431c6c7fb5702 |
|
MD5 | 638bae419d15d5c154c42fb58ba6dc95 |
|
BLAKE2b-256 | dab83267ef3aab71ce20ea2b3de633fb3868581d843ed3f052046f380f9234ac |