Skip to main content

a library to convert between currencies using google server

Project description

PyLeb_CurrencyConverter Documentation

PyLeb_CurrencyConverter Documentation

Overview

PyLeb_CurrencyConverter is a Python library for converting between different currencies using Google's currency conversion service.

Installation

Install PyLeb_CurrencyConverter using pip:

pip install PyLeb_CurrencyConverter

Quick Start

from CurrencyConverter import convert result = convert("USD", "EUR", 100) print(result)

API Reference

convert(currency_from, currency_to, amount)

Converts an amount from one currency to another.

Parameters:

  • currency_from: Currency code from which the amount needs to be converted.
  • currency_to: Currency code to which the amount needs to be converted.
  • amount: Amount to be converted.

Returns:

Returns result as float.

Currencies

Returns:

Returns a dictionary with currency codes as keys and currency names as values.

License

PyLeb_CurrencyConverter is distributed under the GNU General Public License v3.0.

Project Information

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

PyLeb_CurrencyConverter-1.0.0.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

PyLeb_CurrencyConverter-1.0.0-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file PyLeb_CurrencyConverter-1.0.0.tar.gz.

File metadata

File hashes

Hashes for PyLeb_CurrencyConverter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 be825c5a5fc1d2b307840ee65e0724c308a784eb900dec7016ff1dc462ee332f
MD5 7504a835f78fea76547f0da0719a22ae
BLAKE2b-256 97db897c4c70421f9741c82a6a3a20947ff44ed6b014c099eaabf02bd6ccbe18

See more details on using hashes here.

File details

Details for the file PyLeb_CurrencyConverter-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for PyLeb_CurrencyConverter-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ef0b7932565441ed74b35ff45f5e64c6f8de4bffd99e4dd13fc3d9df5caa3a2
MD5 23cb5ff8d3b45ab61fb0cb686ba40261
BLAKE2b-256 ded8251e0ea77a23cde4177b9a48a779dac4792c80661e2c9b7d72351973f437

See more details on using hashes here.

Supported by

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