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)
Release files for PyLeb-CurrencyConverter 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PyLeb_CurrencyConverter-1.0.0.tar.gz | 41.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyLeb_CurrencyConverter-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 72.3 kB
Release files / PyLeb_CurrencyConverter-1.0.0.tar.gz
| Download URL | PyLeb_CurrencyConverter-1.0.0.tar.gz |
|---|---|
| Size | 41.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be825c5a5fc1d2b307840ee65e0724c308a784eb900dec7016ff1dc462ee332f
|
|
BLAKE2b-256 checksum How to use checksums |
97db897c4c70421f9741c82a6a3a20947ff44ed6b014c099eaabf02bd6ccbe18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / PyLeb_CurrencyConverter-1.0.0-py3-none-any.whl
| Download URL | PyLeb_CurrencyConverter-1.0.0-py3-none-any.whl |
|---|---|
| Size | 30.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ef0b7932565441ed74b35ff45f5e64c6f8de4bffd99e4dd13fc3d9df5caa3a2
|
|
BLAKE2b-256 checksum How to use checksums |
ded8251e0ea77a23cde4177b9a48a779dac4792c80661e2c9b7d72351973f437
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|