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
- GitHub Repository: PyLeb_CurrencyConverter
- Author: mesteranas (Email: anasformohammed@gmail.com)
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
File details
Details for the file PyLeb_CurrencyConverter-1.0.0.tar.gz
.
File metadata
- Download URL: PyLeb_CurrencyConverter-1.0.0.tar.gz
- Upload date:
- Size: 41.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be825c5a5fc1d2b307840ee65e0724c308a784eb900dec7016ff1dc462ee332f |
|
MD5 | 7504a835f78fea76547f0da0719a22ae |
|
BLAKE2b-256 | 97db897c4c70421f9741c82a6a3a20947ff44ed6b014c099eaabf02bd6ccbe18 |
File details
Details for the file PyLeb_CurrencyConverter-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: PyLeb_CurrencyConverter-1.0.0-py3-none-any.whl
- Upload date:
- Size: 30.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef0b7932565441ed74b35ff45f5e64c6f8de4bffd99e4dd13fc3d9df5caa3a2 |
|
MD5 | 23cb5ff8d3b45ab61fb0cb686ba40261 |
|
BLAKE2b-256 | ded8251e0ea77a23cde4177b9a48a779dac4792c80661e2c9b7d72351973f437 |