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 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
Metadata
Release files for forx 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| forx-1.0.4.tar.gz | 23.5 kB | Without provenance | Details for forx-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forx-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for forx-1.0.4-py3-none-any.whl |
Total release size: 46.2 kB
Release files / forx-1.0.4.tar.gz
| Download URL | forx-1.0.4.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
639fb37ab806c2056daaae49794ecc72ba71da138782da424ba2267cb223848b
|
|
BLAKE2b-256 checksum How to use checksums |
64102cdc30e13af130ed09100b713df0bc8e92dd721105f37e4781a5420786ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / forx-1.0.4-py3-none-any.whl
| Download URL | forx-1.0.4-py3-none-any.whl |
|---|---|
| Size | 22.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
112def146bc387683177cffb058c22f8d3411adea3ba410cdc30da990519f825
|
|
BLAKE2b-256 checksum How to use checksums |
48e3816f86989af8e56eb2054f24420a2024321c4bae57404b0555ffe12c0474
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for forx 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.