Skip to main content

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

This version

1.0

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)

Uploaded Source

Built Distribution

mchange-1.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

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