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.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 | |
|---|---|---|---|
| blockchain_visualizer-0.1.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blockchain_visualizer-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / blockchain_visualizer-0.1.1.tar.gz
| Download URL | blockchain_visualizer-0.1.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b23052079e145c5d2d77f9bf77bb66c86df538f72ea4e0b9e18c928d6a9bb7a5
|
|
BLAKE2b-256 checksum How to use checksums |
05ddd15a9d6b70c2202fadebd5604911604103e1b3b6e7873f20b94b90324361
|
| 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.1-py3-none-any.whl
| Download URL | blockchain_visualizer-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
527408c2c358b2dbcb21a123d4ede09a1e2077a80cdc8fbea271e76691302cf9
|
|
BLAKE2b-256 checksum How to use checksums |
3ba0fa3a64d68699c391028cd3c05dcd93aedb37b115ffcbd67dd8a3ce9be091
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|