Skip to main content

Simple program that shows the BTC price taken from the Money on Chain API Rest

Project description

Fancy BTC Price

Simple program that shows the BTC price taken from the Money on Chain API Rest

Refrences

Requirements

  • Python 3.6+

Installation

From the Python package index (PyPI)

Run:

$ pip3 install fancy-btc-price

From source

Download from Github

Standing inside the folder, run:

$ pip3 install -r requirements.txt

For install the dependencies and then run:

$ pip3 install .

Run

user@host:~$ fancy_btc_price
1₿=21685$
user@host:~$

More options

user@host:~$ fancy_btc_price --help
Usage: fancy_btc_price [OPTIONS]

  Simple program that shows the BTC price

  Taken from the Money on Chain API Rest (moneyonchain.com)

Options:
  -v, --verbose                Enables verbose mode
  --version                    Show version and exit
  -m, --max-age INTEGER RANGE  Max price age without showing a warning (in
                               minutes)  [default: 3; 1<=x<=120]
  -h, --help                   Show this message and exit.
user@host:~$

Why?

Mainly to be used by the Gnome Shell Extension Executor. This Gnome extension execute multiple shell commands periodically with separate intervals and display the output in gnome top bar.

screenshot

Fancy BTC Price was developed some time ago but due to the need to install a new desktop pc, it was published to simplify this task.

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

fancy_btc_price-0.1.1.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

fancy_btc_price-0.1.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file fancy_btc_price-0.1.1.tar.gz.

File metadata

  • Download URL: fancy_btc_price-0.1.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for fancy_btc_price-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1570b22d177adf385ff6da1b801ff94ce715bc83c8c3350c90456dad89004107
MD5 a6ef030789dc4bdc984c6c2aa24b2acb
BLAKE2b-256 05731e8a9bb14c5e4b31a082c93d69f187480ca8dd111ea6f918e00693220c03

See more details on using hashes here.

File details

Details for the file fancy_btc_price-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fancy_btc_price-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0dce00afa074278a1c87369afa4fe252b6d63af7a9bbfcd4eaa6fc3aaff59fe
MD5 a173035f75884e843a683eb61ab2ca4b
BLAKE2b-256 a67d819f965458174602f3b4f461e7a828d7915c8d28bce640b2a4fe3d31ce09

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