Skip to main content

btclib-node

PyPI version GitHub release development status license downloads supported Python versions implementation wheel

pre-commit.ci status lint workflow status test workflow status docs workflow status documentation build vendored-vectors workflow status bootstrap-dns workflow status mutation workflow status fuzz workflow status integration-bitcoind workflow status deps-latest workflow status pypi-install workflow status deps-oldest workflow status os-macos workflow status slow workflow status os-ubuntu workflow status links workflow status sdist-rebuild workflow status codeql workflow status

OpenSSF Scorecard OpenSSF Best Practices OpenSSF Baseline

btclib-node is a full node bitcoin implementation written in Python and based on btclib.

To install, or upgrade:

python -m pip install --upgrade btclib-node

Python 3.14 or newer: pyproject.toml's requires-python says so and says why, and pip refuses the wheel below it rather than installing something that will not import. btclib-node is the command this puts on PATH; btclib-node -h lists its options, spelled and read the way Bitcoin Core's own are, and -help-debug adds the ones Core registers for debugging. Read Security before running the node — the classifier is 3 - Alpha and the JSON-RPC listener is not something to expose.

A checkout of main is a cycle in progress, declaring the month with no day, so it is not the same thing as what pip installs; CONTRIBUTING.md has how to work from one.

Running a node

Running a node is what comes after pip install: the command against each of the four chains, pointing it at a peer of your own, reading its progress, the RPC methods it answers, what it validates and what it does not, and what a mainnet sync has actually been measured to cost.

Architecture

ARCHITECTURE.md is the design: the loop Node runs, the protocol and the RPC surface around it, and the store underneath. ASSURANCE_CASE.md is why the security section below holds.

Security

The JSON-RPC listener takes Bitcoin Core's cookie, -rpcauth and -rpcuser/-rpcpassword credentials, and any caller it accepts may call every method its -rpcwhitelist leaves it — SECURITY.md carries that and the rest of what is known and recorded rather than a vulnerability to report again, and how to report one that is not already there.

Contributing

CONTRIBUTING.md's last section has the commands, and they are the ones CI runs: uv sync builds the environment, uv run pytest is the suite and its coverage floor, and the lint gate is .pre-commit-config.yaml run as lint.yml runs it. uv is the only tool that has to be installed; it fetches the interpreter and every dependency group itself.

How the organization decides, and who holds which role, is its GOVERNANCE.md; what it intends to do, and what it deliberately does not, is its ROADMAP.md.

REVIEWING.md is what a pull request here is answered against.


The btclib organization and its projects are actively supported by DGI and CheckSig.

Metadata

Release files for btclib-node 2026.10.18

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

Source distribution (sdist)

Source distribution for btclib-node 2026.10.18
File Size Uploaded
btclib_node-2026.10.18.tar.gz 5.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for btclib-node 2026.10.18
File Interpreter ABI Platform
btclib_node-2026.10.18-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 MB

Release files / btclib_node-2026.10.18.tar.gz

Download URL btclib_node-2026.10.18.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
0ceea84ddbc1f59f4a3272535bdae01d8d53c7161c36f7eef7cd4eeaaefb9571
BLAKE2b-256 checksum
How to use checksums
ce8b1ac8fcea761bdbded625c46b7331260941c583549bf2b70e062aae9932f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / btclib_node-2026.10.18-py3-none-any.whl

Download URL btclib_node-2026.10.18-py3-none-any.whl
Size 824.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e20ff451b366393a5dcefef6b1f75cc6c20670ca2fb5a4f55c5255539337358
BLAKE2b-256 checksum
How to use checksums
31bbd085206cd4d4495bc6d6c23613bdc0bc5f2df6a21954e3b4071a0889b51d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2026.10.18 This release

2 release files

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