Skip to main content

Bitcoin

This is a small command line tool that gives you the price of the Bitcoin cryptocurrency. You can use it for every currency as long as coinbase supports it

Installation

# For your user
pip install bitcoin-cli
# Globally
sudo pip install bitcoin-cli

Usage

The default currency is GBP, so by just running bitcoin you will see the price in GBP If you wish to use another currency, use:

bitcoin USD # US Dollars
bitcoin EUR # Euros
bitcoin AUD # Australian Dollars
# etc.

It will return an output like this:

--------------------------------------------------
Current Bitcoin Price in GBP:
£34,557.00
--------------------------------------------------
Price Change over 24 Hours:
Down 11.71%
--------------------------------------------------
Date & Time (BST):
18:55:31, Thursday 13 May 2021
--------------------------------------------------
Source:
Coin Gecko API (coingecko.com)
--------------------------------------------------

Metadata

Release files for bitcoin-cli 1.0.1.post2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bitcoin-cli 1.0.1.post2
File Size Uploaded Provenance Actions
bitcoin-cli-1.0.1.post2.tar.gz 2.7 kB Without provenance Details for bitcoin-cli-1.0.1.post2.tar.gz

Release files / bitcoin-cli-1.0.1.post2.tar.gz

Download URL bitcoin-cli-1.0.1.post2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3340a894e901b5fc72e47ab421599e902dfafa6f0e6e4673b18a6af151c456b2
BLAKE2b-256 checksum
How to use checksums
59f2ac18486f92fbb13ec9bd4ac763f8e875fd9f38e6009ede321774d679fdb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Security for bitcoin-cli 1.0.1.post2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page