python-bitcoinrpc
Enhanced version of python-jsonrpc for use with Bitcoin
Decision gist · record as of 2026-08-14
Yes, with conditions. The package is suitable for Bitcoin Core RPC communication if you can verify Python version compatibility and confirm the library works with your target Bitcoin Core version. The dormant maintenance status and 2016 release date mean you should test thoroughly before relying on it in production. The LGPL license requires that any modifications or derivative works be released under compatible terms.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Bitcoin Core node accessible at the specified RPC endpoint with valid credentials configured in bitcoin.conf.
- High install friction: the package is dormant (last release 2016-08-24, last commit 2024-02-15) and provides no runtime dependencies, suggesting it may require manual setup or compatibility work with modern Python versions.
- Maintenance status is dormant.
License · maintenance · safety
UNKNOWN (copyleft) — Licensed under LGPL (copyleft), which requires derivative works to be released under compatible terms. Use in proprietary software requires careful licensing review.
last release 2016-08-24 (3642 days) · last repo commit 2024-02-15 · 664 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 110,191 downloads/mo, #12,479 on PyPI
Alternatives
Verify before relying
pip install python-bitcoinrpc
from bitcoinrpc.authproxy import AuthServiceProxy
rpc_connection = AuthServiceProxy("http://user:pass@127.0.0.1:8332")
best_block_hash = rpc_connection.getbestblockhash()- Whether the package works with Python 3.x (documentation references Python 2.x setup)
- Current compatibility with modern Bitcoin Core RPC API versions
- Whether persistent HTTP connections still function correctly with current Bitcoin Core implementations
What it is and what it does
python-bitcoinrpc is a JSON-RPC client library designed to communicate with Bitcoin Core nodes over HTTP. It wraps the lower-level JSON-RPC protocol with Bitcoin-specific conveniences: HTTP Basic authentication, persistent connections for efficiency, and automatic conversion of numeric values to Python Decimal objects to preserve financial precision without floating-point rounding errors.
The library supports both single RPC calls and batch operations, allowing multiple commands to be sent in fewer round-trips to the node. It can optionally log all RPC calls and responses for debugging. The package is dormant—its last release was in 2016—which means it may require adaptation for use with modern Python versions and current Bitcoin Core releases.
Use it for
- Query blockchain data from a local Bitcoin Core node (block hashes, transaction details, wallet balances).
- Batch-fetch multiple blocks or transactions in a single round-trip to reduce latency.
- Build a Bitcoin wallet or monitoring tool that needs precise decimal arithmetic for satoshi-level amounts.
- Automate Bitcoin node administration tasks via RPC (e.g., generate addresses, sign transactions).
- Log and audit all RPC interactions with a Bitcoin node for compliance or debugging.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
The package is suitable for Bitcoin Core RPC communication if you can verify Python version compatibility and confirm the library works with your target Bitcoin Core version. The dormant maintenance status and 2016 release date mean you should test thoroughly before relying on it in production. The LGPL license requires that any modifications or derivative works be released under compatible terms.
Install
python-bitcoinrpc on PyPI
Before you install
High install friction: the package is dormant (last release 2016-08-24, last commit 2024-02-15) and provides no runtime dependencies, suggesting it may require manual setup or compatibility work with modern Python versions. Maintenance status is dormant.
Requires a running Bitcoin Core node accessible at the specified RPC endpoint with valid credentials configured in bitcoin.conf.
License in practice
Licensed under LGPL (copyleft), which requires derivative works to be released under compatible terms. Use in proprietary software requires careful licensing review.
Quickstart
pip install python-bitcoinrpc
from bitcoinrpc.authproxy import AuthServiceProxy
rpc_connection = AuthServiceProxy("http://user:pass@127.0.0.1:8332")
best_block_hash = rpc_connection.getbestblockhash()
Verify before relying
- Whether the package works with Python 3.x (documentation references Python 2.x setup)
- Current compatibility with modern Bitcoin Core RPC API versions
- Whether persistent HTTP connections still function correctly with current Bitcoin Core implementations
Package facts
| License | UNKNOWN copyleft |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Dormant 3,642 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 110,191 / month, #12,479 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Operating System :: OS Independent |
Evidence: python-bitcoinrpc-1.0.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “bitcoin rpc client”
- python-bitcoinrpcProvides a JSON-RPC client library for communicating with Bitcoin…
- python-bitcoinlibProvides low-level Python tools to work with Bitcoin data structures,…
- opentimestamps-clientCommand-line tool to create and verify cryptographic timestamp proofs…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also jsonrpcclient · transmission-rpc · ajsonrpc · python-bitcoinlib · json-rpc · python-lsp-jsonrpc · opentimestamps-client · forex-python · smoldot-light · kanboard