Skip to main content

Blockchain Visualizer

A lightweight Python library for learning and experimenting with blockchain concepts using Python data structures.

Features

  • Block creation
  • SHA-256 hashing
  • Proof-of-work style nonce generation
  • Previous block hash linking
  • Blockchain integrity verification
  • Tamper detection
  • Simple Python API

Installation

pip install blockchain-visualizer

USage

from blockchain_visualizer import Blockchain

chain = Blockchain()


# it will generate PoW.json file at the root dir.
chain.create_new_block(1302)
chain.create_new_block(1300)
chain.create_new_block(1500)
chain.create_new_block(200)

print(chain)
# this will print the chain.

Metadata

Release files for blockchain-visualizer 0.1.3

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

Source distribution (sdist)

Source distribution for blockchain-visualizer 0.1.3
File Size Uploaded Provenance Actions
blockchain_visualizer-0.1.3.tar.gz 5.5 kB Without provenance Details for blockchain_visualizer-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blockchain-visualizer 0.1.3
File Interpreter ABI Platform Actions
blockchain_visualizer-0.1.3-py3-none-any.whl Python 3 none any Details for blockchain_visualizer-0.1.3-py3-none-any.whl

Total release size: 12.0 kB

Release files / blockchain_visualizer-0.1.3.tar.gz

Download URL blockchain_visualizer-0.1.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1353b678f73a1ebc073080d5e3f095ccb2640a2acc982a0fb6a1d7f81cdc6be0
BLAKE2b-256 checksum
How to use checksums
264d44c801e89240e13d475c6501058c6ade31f3b0cf1dbab2d65e5edfe4ee7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / blockchain_visualizer-0.1.3-py3-none-any.whl

Download URL blockchain_visualizer-0.1.3-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a3a43592936dc3b9baa62d888c70cd7132f8c9c102313e668728e859d11065f
BLAKE2b-256 checksum
How to use checksums
5d6d85151f619751af96a9ad6f60a92121975508b2a6bcbb24f158b4c3bbd1ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for blockchain-visualizer 0.1.3

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.

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