Skip to main content

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


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.9.220208.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

currency_iso4217-0.9.220208-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file currency_iso4217-0.9.220208.tar.gz.

File metadata

  • Download URL: currency_iso4217-0.9.220208.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for currency_iso4217-0.9.220208.tar.gz
Algorithm Hash digest
SHA256 f599d7f53cb6cb8b12e3e8a88485026dc96868c33add99f6fec6eefaf977463f
MD5 84765ecc3d63400b43c98ee19f27c9c6
BLAKE2b-256 3d2638bae5b6db3d578f0f4442e1b78e75dab9bac6cf2169845e41ddf35a54df

See more details on using hashes here.

File details

Details for the file currency_iso4217-0.9.220208-py3-none-any.whl.

File metadata

  • Download URL: currency_iso4217-0.9.220208-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for currency_iso4217-0.9.220208-py3-none-any.whl
Algorithm Hash digest
SHA256 21203cb273cc612d576151abdd822a852be6df6af45ed3a5534431c6c7fb5702
MD5 638bae419d15d5c154c42fb58ba6dc95
BLAKE2b-256 dab83267ef3aab71ce20ea2b3de633fb3868581d843ed3f052046f380f9234ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page