Skip to main content

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
  • 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

cryptik-3.11.0.tar.gz (16.8 kB view hashes)

Uploaded Source

Built Distribution

cryptik-3.11.0-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

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