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.2

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.2
File Size Uploaded
blockchain_visualizer-0.1.2.tar.gz 4.2 kB Details

Built distribution (wheel)

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

Total release size: 9.6 kB

Release files / blockchain_visualizer-0.1.2.tar.gz

Download URL blockchain_visualizer-0.1.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
80e7f7c9239d372fb8f36d0511530c1fc30a20c81313cace4681a5506d908035
BLAKE2b-256 checksum
How to use checksums
7681851803863bd402b6e2cd752713188e108042ff8f50f679cf8cf5a4aa0a51
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.2-py3-none-any.whl

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

Release history Release notifications | RSS feed

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

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