Description
Heavily based on python-bitcoinrpc and Savoir but replacing the httplib with requests.
Installation
git clone https://github.com/chainstack/bitcoincli
Usage
After cloning this repository, run:
python setup.py develop
Use the Bitcoin API documentacion and make calls to the wrapper.
Remember to replace the RPC variables with your Bitcoin node access credentials.
from bitcoincli import Bitcoin
host = "nd-123-456-789.p2pify.com"
port = "80"
username = "user-name"
password = "pass-word-pass-word-pass-word"
bitcoin = Bitcoin(username, password, host, port)
info = bitcoin.getblockchaininfo()
print(info)
Metadata
Release files for bitcoincli 1.0.0
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 | Actions |
|---|---|---|---|---|
| bitcoincli-1.0.0.tar.gz | 2.6 kB | Without provenance | Details for bitcoincli-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bitcoincli-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for bitcoincli-1.0.0-py3-none-any.whl |
Total release size: 6.4 kB
Release files / bitcoincli-1.0.0.tar.gz
| Download URL | bitcoincli-1.0.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11e8413e7173aa5040fc3682f170856076bc1ddbb80b925198b4127e88e46180
|
|
BLAKE2b-256 checksum How to use checksums |
773f1af483bce5e418aaa5c7e59784a495b80670353190b58f8261c5072eebff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9
|
Release files / bitcoincli-1.0.0-py3-none-any.whl
| Download URL | bitcoincli-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c2889cf4879c9dbf802c427c152b39b97bdff5865f9867b9baa54b505c37365
|
|
BLAKE2b-256 checksum How to use checksums |
fe8f3d3316f2ffc2223c7f8cafa58746a9e956abb6578df3a9f812ac1f032260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.9
|
Security for bitcoincli 1.0.0
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.