Skip to main content

Librería para buscar divisas conforme listado ISO 4217. Last update: 2022-03-29

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


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.12.0.tar.gz (2.5 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.12.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: currency_iso4217-0.12.0.tar.gz
  • Upload date:
  • Size: 2.5 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.12.0.tar.gz
Algorithm Hash digest
SHA256 e9ae151271990dd0573ae0f7e6c79baa20b26ca8a90d8086c80a2301d214b4f2
MD5 65eb9b61fad8a4f1bb98794a7faf49ea
BLAKE2b-256 8021226298305b8bfa4f1b511ca92495f70c00328ab597b27ebf48aaf5db52a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: currency_iso4217-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13a6e8945ede4b7dd9ae1ced6fa9879223f21121d9eda424150020b9720955fc
MD5 5c5702c85f8c6afc2ff92f810d5b1384
BLAKE2b-256 195082ec73e09fd365f64ba846e05e98d7ec508a4be17bfcfee667bb5460c69d

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