Socket
Socket
Sign inDemoInstall

currency-iso4217

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    currency-iso4217

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


Maintainers
1

Readme

ISO 4217 currency definitions

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.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc