Skip to main content

a command line tool for checking exchange rates between currencies, both crypto and fiat.

Project description

ForX - get forex quotes from the terminal

forx is a command line tool for checking exchange rates between currencies, both crypto and fiat.

Features

  • Conversions between all major world currencies.
  • Supports major cryptocurrencies, exchange rates
  • Formatted output and raw output
  • Convert different quantities of currency

Dependencies

Python 3.6 or above.

Installation

AUR

For archlinux based systems, forx is available on the AUR. Install it with your favority AUR helper. Example using yay:

yay -S forx

PyPI

forx is also available as a python package. Simply install using pip:

pip install forx

Usage

Here are some examples of using forx:

forx btc usd # Price of 1 BTC in USD
forx btc usd -q 2 # Price of 2 BTC in USD
forx cny usd -f # Price of 1 CNY in USD, with no formatting

Donate

I develop forx for free in my spare time. If you like it, and want to by me a coffee, I'd really appreciate it.

Bitcoin: (QR) bc1qusuztegpfuh7jk25l2dx5xyjvasgryrqg42d5n

Monero: (QR) 87wuCKbbchKV8Dz3JRoSN3jaqWBSiEShFXkFrYUaKT8Bew4P7dFvUJWVVR6RLr84J44QCdtNVyR6QC7aCSKYUWfnGK9y4K2

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

forx-1.0.1.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

forx-1.0.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file forx-1.0.1.tar.gz.

File metadata

  • Download URL: forx-1.0.1.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for forx-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b40f646c347b785c4a0cbf34d9cffae8561f447c540e7970e88e1b706fd9d4d2
MD5 10c4be4a66a001040cfef5804e887074
BLAKE2b-256 defd6f5d32b69be864f2924cd47ca6b9614327a93c1f9fc46c1e06d51955b52b

See more details on using hashes here.

File details

Details for the file forx-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: forx-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for forx-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9accfa8e48312e90c921da2bcdf4a6f614be8aad387b998752811abb51e356a
MD5 6a83fa0eeddeed894461be73495c7919
BLAKE2b-256 d5fed4038060e6d8849f8f72e2e253ec1e173be0ba463f5e1c9107cdcb3d83d0

See more details on using hashes here.

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