cryptocurrency prices on the command line
Project description
About
a cli application for displaying the current price of a cryptocurrency, designed (but not limited) to be ran in conky. cryptik supports multiple exchanges and multiple currencies.
Please see the project wiki for supported currencies and supported exchanges or to request new currencies/exchanges.
Latest Changes
- changed version to use importlib.metadata
- update copyright date
- package updates: python-dateutil, types-python-dateutil
- change python version requirement from 3.8+ to 3.11+ (for speed and to leverage internal tomllib)
NOTICES
- version 3.11.0 requires python 3.11+ (for internal toml processing capabilities and...its faster)
Install
We recommend using pipx to install cryptik: pipx install cryptik
. You can also install via pip: pip install --user cryptik
.
cryptik uses a config file to store your setup. This file contains information such as the exchange(s) to use. You can grab the sample config file from cryptik/example/config.toml and place it in ~/.config/cryptik
as this is where cryptik looks for the file by default or you can place it anywhere you like and use the --config-file
parameter to specify the location.
Usage
- call cryptik from command line:
cryptik -e BITSTAMP -t BTC
- show full response:
cryptik.py -d full
- show full response:
- list all available exchanges:
cryptik.py -l
- get help on cryptik:
cryptik.py -h
- example conky usage (note: this will show prices from two exchanges):
CRYPTIK
${texeci 600 cryptik -e KRAKEN -t BTC}
${texeci 600 cryptik -e BITSTAMP -t BTC}
Example Response
- direct call:
$ cryptik -e BITSTAMP -t BTC
BTMP:BTC $9711.24 @12:33
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
Built Distribution
File details
Details for the file cryptik-3.11.0.tar.gz
.
File metadata
- Download URL: cryptik-3.11.0.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.6.29-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8a7e4a765033560df6089ccae5fdf608ea8dfffe75cdf863fb10077b0feb8ce |
|
MD5 | 6998cf1d4e05b5eb5e2e27bd9a12938f |
|
BLAKE2b-256 | e28d30d515184b6eb91ce03f5d932cc834799ce01b93091c25d3d65bb3605fef |
File details
Details for the file cryptik-3.11.0-py3-none-any.whl
.
File metadata
- Download URL: cryptik-3.11.0-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.6.29-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed00db3cc2358fe357ec5edf82aa47cadbeb7c4ad2dfee22fbf4614334b20ba |
|
MD5 | 08147ba2c6a19da40a1cccc87dbb2577 |
|
BLAKE2b-256 | 03f22363488832f5f32892ad41b4abc2550be7a0d899fd50ceb45a8697156b8c |