Skip to main content

show live BTC price in prompt line

Project description

btcprompt

Customize your bash prompt, and show BTC price in the prompt.

  1. git clone to your local

  2. cd into project, run the server end in the background

nohup python3 btcprompt.run  > /dev/null 2>&1 &
  1. activate your prompt config
source btcprompt/activate

deactivate it if you want

deactivate

Note: query BTC price from https://www.coingecko.com/en/coins/bitcoin, and set every 30 secs query once.

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

btcprompt-0.0.1.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

btcprompt-0.0.1-py2.py3-none-any.whl (14.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file btcprompt-0.0.1.tar.gz.

File metadata

  • Download URL: btcprompt-0.0.1.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for btcprompt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 931fad69565beb706c31157c042fbdb53e0a6ad43d498dd0d4d6f0731b1f43b3
MD5 138a01c87ebd9b3d97ee39dac5ef9a47
BLAKE2b-256 9038acd750e7b19cb20ff88927b047e7b888875ce20db760cbea2b72a6b92d60

See more details on using hashes here.

File details

Details for the file btcprompt-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: btcprompt-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for btcprompt-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e3b562a06444985f6d75822bfca70ffc43da587835ba64ce264921b0df376fb0
MD5 cb8c1bc546f4dfa89b2a453504cd183d
BLAKE2b-256 b6964a6c7cf4785a0f1c6030b06eaf72fe7d5399539b0d5bf15e74b2caeaa9e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page