BitBridge 🌉
BitBridge offers a seamless Python interface to the Bitcoin Core RPC, simplifying interactions with the Bitcoin protocol. With support for both synchronous and asynchronous operations, BitBridge is perfectly suited for diverse applications - from web platforms and backend services to data analytics tools.
🌟 Features
-
Dual Mode Operations: Supports both synchronous and asynchronous operations, giving you the flexibility to choose based on your application's needs.
-
Modularity at Core: Designed with a modular architecture, BitBridge can easily be extended and integrated into a variety of systems.
-
Complete RPC Integration: Comprehensive coverage of all RPC methods offered by Bitcoin Core, ensuring you have everything you need for Bitcoin interactions in one place.
🚀 Installation
pip install BitBridge
🎯 Quick Start
Synchronous Mode:
from bitbridge import BitBridgeFacade, BitBridgeConfig
# Configure RPC server details
config = BitBridgeConfig(url="http://127.0.0.1:8332", username="your_username", password="your_password")
bridge = BitBridgeFacade(config)
def fetch_best_block():
# Retrieve the best block hash
best_block_hash = bridge.blockchain.get_best_block_hash()
# Additional operations...
Asynchronous Mode:
from bitbridge import AsyncBitBridgeFacade, BitBridgeConfig
# Configure RPC server details
config = BitBridgeConfig(url="http://127.0.0.1:8332", username="your_username", password="your_password")
bridge = AsyncBitBridgeFacade(config)
async def fetch_best_block():
# Retrieve the best block hash
best_block_hash = await bridge.blockchain.get_best_block_hash()
# Additional operations...
🛠 Status
🚧 Development Phase: Please note that BitBridge is still in its initial development phase. Some features might be experimental.
📜 License
BitBridge is open-sourced under the MIT License.
Metadata
Release files for BitBridge 0.3.5
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 |
|---|---|---|---|---|
| bitbridge-0.3.5.tar.gz | 12.3 kB | Without provenance | Details for bitbridge-0.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bitbridge-0.3.5-py3-none-any.whl | Python 3 | none | any | Details for bitbridge-0.3.5-py3-none-any.whl |
Total release size: 24.5 kB
Release files / bitbridge-0.3.5.tar.gz
| Download URL | bitbridge-0.3.5.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e833322cc6d96bfa33f1a32c3bb90632bbe873ec54c458c802ec9975f6827216
|
|
BLAKE2b-256 checksum How to use checksums |
1775dd666f767d285c007549cfbb5c2add2f297e3b8559b7b36c7524adff5b60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.8.2 CPython/3.11.5
|
Release files / bitbridge-0.3.5-py3-none-any.whl
| Download URL | bitbridge-0.3.5-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b410df7cd60060358239a5e231a4b365ed4397fba6e2ecf5dd3754b2a81eb6c7
|
|
BLAKE2b-256 checksum How to use checksums |
3f53e20c936e34b47f5d005fa54cb95c3cd389e7a71b4ba4772226f053318b93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.8.2 CPython/3.11.5
|
Security for BitBridge 0.3.5
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.