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

Downloads GitHub code size in bytes PyPI

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

forx-demo

Features

  • Conversions between all major world currencies.
  • Supports major cryptocurrencies, exchange rates via Coinbase's API
  • 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 favorite 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 buy me a coffee, I'd really appreciate it.

Donate: https://www.buymeacoffee.com/Gbox4

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.3.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

forx-1.0.3-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: forx-1.0.3.tar.gz
  • Upload date:
  • Size: 23.5 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.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4

File hashes

Hashes for forx-1.0.3.tar.gz
Algorithm Hash digest
SHA256 c992ce6d58d7494e6a22f9fa2b910caa80e03c024a230f16c5b83fc0b7c6def9
MD5 78b99c7ba742f077ac4efe01f492edaa
BLAKE2b-256 650f0d6411cc4f429e62e4b972eeff6afc5d012b75cef1069e31009f8bc56f0f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: forx-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.7 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.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.4

File hashes

Hashes for forx-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9ec020d0d9b3bbfa0fdf3e159aafa5cc99a7495e11371eac729d50acc6432b89
MD5 14966118105523c08395fd61ad55027a
BLAKE2b-256 7fe73effcd6d0d7806d5e463a5503a4131a136c42da614eb04fc57911e8c1fc3

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