Skip to main content

a

Project description

blockchain-practicals

Blockchain lab practicals as a Python package. Each function prints the full step-by-step instructions and creates a workspace folder with an INSTRUCTIONS.md file.

Install

pip install blockchain-practicals

Or install locally from source:

cd block-package
pip install .

Usage

import block

# Prints practical 1 instructions and creates ./practical1/
block.practical1()

# Create folder in a custom location
block.practical2(output_dir="/home/user/labs")

CLI

# After pip install
block-practical practical1

# Or
python -m block practical3 -o ~/labs

Available practicals

Function Topic
block.practical1() Install Ethereum, Truffle, Ganache
block.practical2() Smart contract with Truffle + Ganache
block.practical3() Hyperledger Fabric setup
block.practical4() IPFS storage and retrieval
block.practical5() Model integrity verification
block.practical6() Data provenance system
block.practical7() Supply chain management
block.practical8() Hyperledger chaincode
block.practical9() Voting system
block.practical10() IoT data on blockchain

Publish to PyPI

cd block-package
pip install build twine
python -m build
twine upload dist/*

You need a PyPI account and an API token.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blockch-1.0.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blockch-1.0.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file blockch-1.0.0.tar.gz.

File metadata

  • Download URL: blockch-1.0.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for blockch-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2487a6f8daa71ba2393279209aa3228853d97a7ec626bc1da89241515fd5b490
MD5 f7dbb6a229eb178e8041bbc3f57fcd80
BLAKE2b-256 56359f5ccf6ba4254c719384ec33c8c52e3888bb795c4f367820bdcb56d6597e

See more details on using hashes here.

File details

Details for the file blockch-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: blockch-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for blockch-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f058632e2162308879e9e4c6394d29b05913b4ec466087b5afa5712b0df796e
MD5 34b49b07feeb0a9b2b0165ee8c31e156
BLAKE2b-256 1673330caede9aa1bf5640d459e98251dd0359e18f7e7dc655cad1e63c8ace83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page