Fast and Free currency converter that uses Xe.
Project description
mchange - Fast and Free currency converter that uses Xe.
How to use
First, install a mchange package:
python -m pip install mchange
Code Examples
import mchange
converted = mchange.convert(1, mchange.Currency.USD, mchange.Currency.MDL) # First - Quantity to be changed; Second - From; Third - To.
print(converted)
In this example, we found out the exchange rate of 1 dollar in Moldovan lei All currencies are stored in the 'Currency' class.
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
mchange-1.0.tar.gz
(4.9 kB
view hashes)
Built Distribution
mchange-1.0-py3-none-any.whl
(4.7 kB
view hashes)