bitview-client
Zero-dependency Python client for the Bitview Bitcoin analytics API.
Requires Python 3.9+.
PyPI | API Reference | Source
AI clients can use the same API through the official stateless, read-only MCP endpoint at mcp.bitview.space. No authentication is required.
Installation
pip install bitview-client
# or
uv add bitview-client
You can also copy bitview_client/__init__.py
into a project. The client has no runtime dependencies; Pandas and Polars are
only needed for their optional conversion helpers.
Quick start
from bitview_client import BitviewClient
# Use the public API or point the client at a self-hosted Bitview server.
client = BitviewClient("https://bitview.space")
# Mempool.space-compatible blockchain endpoints.
block_hash = client.get_block_by_height(800000)
tx = client.get_tx(
"a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d"
)
# Typed, chainable series access.
prices = (
client.series.price.split.close.usd.by.day1()
.tail(30)
.fetch()
)
# Programmatic access when the series name is only known at runtime.
same_prices = client.series_endpoint("price_close", "day1").tail(30).fetch()
Series endpoints support integer and date slices, head(n), tail(n),
skip(n).take(m), fetch_csv(), len(), and version().
Metadata
Release files for bitview-client 0.12.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bitview_client-0.12.1.tar.gz | 226.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bitview_client-0.12.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 325.8 kB
Release files / bitview_client-0.12.1.tar.gz
| Download URL | bitview_client-0.12.1.tar.gz |
|---|---|
| Size | 226.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2961f09a571f9b63da05f479e31b1a6d09c14b5dd777dbd02a93b4e7f09526f8
|
|
BLAKE2b-256 checksum How to use checksums |
21a6c63af43d5ec2a0efec579b716b9b8c143669a900febdb136f3f5a6b4f5ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / bitview_client-0.12.1-py3-none-any.whl
| Download URL | bitview_client-0.12.1-py3-none-any.whl |
|---|---|
| Size | 99.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1128150845b92e9d3c8c269a12b1f4d88e4b1a9a097f6bcddb8e4059d5614d3
|
|
BLAKE2b-256 checksum How to use checksums |
5936dd8398ed47321364c483a5d99a7f65c94ea2eef9e90aeb72a2b8eaebb3e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|