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.
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
Release history Release notifications | RSS feed
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 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1570b22d177adf385ff6da1b801ff94ce715bc83c8c3350c90456dad89004107 |
|
MD5 | a6ef030789dc4bdc984c6c2aa24b2acb |
|
BLAKE2b-256 | 05731e8a9bb14c5e4b31a082c93d69f187480ca8dd111ea6f918e00693220c03 |
File details
Details for the file fancy_btc_price-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: fancy_btc_price-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0dce00afa074278a1c87369afa4fe252b6d63af7a9bbfcd4eaa6fc3aaff59fe |
|
MD5 | a173035f75884e843a683eb61ab2ca4b |
|
BLAKE2b-256 | a67d819f965458174602f3b4f461e7a828d7915c8d28bce640b2a4fe3d31ce09 |