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.
Metadata
Release files for fancy-btc-price 0.1.1
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 | |
|---|---|---|---|---|
| fancy_btc_price-0.1.1.tar.gz | 15.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fancy_btc_price-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.9 kB
Release files / fancy_btc_price-0.1.1.tar.gz
| Download URL | fancy_btc_price-0.1.1.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1570b22d177adf385ff6da1b801ff94ce715bc83c8c3350c90456dad89004107
|
|
BLAKE2b-256 checksum How to use checksums |
05731e8a9bb14c5e4b31a082c93d69f187480ca8dd111ea6f918e00693220c03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / fancy_btc_price-0.1.1-py3-none-any.whl
| Download URL | fancy_btc_price-0.1.1-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0dce00afa074278a1c87369afa4fe252b6d63af7a9bbfcd4eaa6fc3aaff59fe
|
|
BLAKE2b-256 checksum How to use checksums |
a67d819f965458174602f3b4f461e7a828d7915c8d28bce640b2a4fe3d31ce09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for fancy-btc-price 0.1.1
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.