No project description provided
Project description
Python library for easy convert currencies
Features:
List of currency rates relatively base currency
List of currencies
Get history currency rate
Convert one currency to another with specific amount
Currency symbols
Currency description
Installation
Install using python package
pip install currency-rate Or directly cloning the repo: python setup.py install
Usage Examples:
>>> from currency_rate.converter import Converter >>> converter = Converter() >>> converter.rate('USD', 'GEL') 2.683433 >>> converter.rate('EUR', 'USD', 50) 52.880896 >>> from datetime import date >>> converter.rate('EUR', 'USD', 50, date(2022, 4, 10)) 54.453328 >>> converter.rate('EUR', 'UNK', 50) InvalidCurrencyException: UNK >>> converter.rate('EUR', 'UNK', 50, verify=False) None
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file currency_rate-0.1.2-py3-none-any.whl.
File metadata
- Download URL: currency_rate-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc2bde9102670f34b7888b4e87383268bb176771ef9c25e536f345728dc4dd29
|
|
| MD5 |
fb5e36cac48f3f0d9ecd11ccd9ed0c43
|
|
| BLAKE2b-256 |
332b1ff52d6d4d55bca33aa27885ee66907fed3607df9d00439388b1263a7b9e
|