Skip to main content

Simple exchange rates

Project description

Exrates

Exrates is a simple Python application to get exchange rates from https://exchangeratesapi.io/

Installation

Exrates requires Python3 and depends on Requests library.

pip install exrates

Usage

usage: Exrates [-h] [-b BASE] [--version] symbols

positional arguments:
  symbols               Currencies seperated by comma

optional arguments:
  -h, --help            show this help message and exit
  -b BASE, --base BASE  Base currency (default: EUR)
  --version             show program's version number and exit

Examples

Base currency is EUR

# exrates try
Base currency is: EUR
TRY 6.5815

You can change base currency with -b option

# exrates try -b usd
Base currency is: USD
TRY 5.8842199374

You can use multiple currencies by seperating them with a comma

# exrates try,cad
Base currency is: EUR
CAD 1.5098
TRY 6.5815

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exrates-1.0.5.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

exrates-1.0.5-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