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)
| File | Size | Uploaded | |
|---|---|---|---|
| blockchain_visualizer-0.1.3.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blockchain_visualizer-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
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
|