Skip to main content

Blockchain lab practicals — print instructions and scaffold project folders

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

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

blockchain_practicals-1.0.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blockchain_practicals-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 blockchain_practicals-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1a14cae8219982976ec09d0cb16d12aca4e7628a2f596bd827bd15e08f15167a
MD5 8a86d92764befa6e79a059c1943a5128
BLAKE2b-256 bc8070dc2cb051e7a3e94a7cc6674b123a234201ea4886934a6bdbe80ddfb665

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blockchain_practicals-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b5eb8dd686a5f986d18fb627b8068cf62b7a04c50ac214576c7dca582529122
MD5 f3c43c8b9596418dfe2c60bc68bd6cda
BLAKE2b-256 68052c9ef1c095561bb0f9e232839d1f1f5f91a69adbf1cc1a82418e09b0b217

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