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()

chain.create_new_block(Block(transaction=1302))
chain.create_new_block(Block(transaction=1300))
chain.create_new_block(Block(transaction=1500))
chain.create_new_block(Block(transaction=200))

print(chain)

Metadata

Release files for blockchain-visualizer 0.1.0

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.0
File Size Uploaded
blockchain_visualizer-0.1.0.tar.gz 4.1 kB Details

Built distribution (wheel)

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

Total release size: 9.2 kB

Release files / blockchain_visualizer-0.1.0.tar.gz

Download URL blockchain_visualizer-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
706851d44eba24ca8520722bad40a23dbc82f016a06121a988f60714b40cd320
BLAKE2b-256 checksum
How to use checksums
6e1352cf41d116210bea7e456f90a62117791c1b7744602ff7d066fb4c03ab0e
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.0-py3-none-any.whl

Download URL blockchain_visualizer-0.1.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fcb7cdcd5549c06a23f397bdaec79a5d6a852c7f2fda512e5d28dae2d29f8c6f
BLAKE2b-256 checksum
How to use checksums
61dae7e7565f0dd423317f766f0e7607dd93a014e6e7548dc8bdcc84653f8544
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

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

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