Description: | Module and command-line tool for currency conversion and rate retrieval. |
Latest Version: | 2021 |
Source Code: | src/ |
Architecture: |
|
Dependencies: |
|
Build Dependencies: |
|
Arch Repositories: |
|
AUR Page: | python3-currencyconverter |
Tags: |
The module provides dynamic retrieval of current currency exchange rates with 5 minute caching of results by default.
The package includes a command-line tool named
currency_converter
that follows a simple input format for
quick conversions.
Check the source code or currency_converter
help message
for information about the source of the rates, as it occasionally
changes due to interface issues.
$ currency_converter USD EUR 100 500 57.34
USD EUR
-------- --------
100.0000 72.7834
500.0000 363.9170
57.3400 41.7340
$ currency_converter --help
usage: currency_converter [-h] [--ttl TTL]
<fromCurrency> <toCurrency> <amount> [<amount> ...]
Convert currencies using rates retrieved from
http://download.finance.yahoo.com/d/quotes.csv
positional arguments:
<fromCurrency>
<toCurrency>
<amount>
options:
-h, --help show this help message and exit
--ttl TTL Cached data time-to-live, in seconds.
See http://finance.yahoo.com/currency-converter/ for currency codes.