Skip to main content

Blockchain Lab | Open In Colab Open in Cloud Shell

A fully functional blockchain lab.

Install

pip3 install blockchain_lab

Using

In another script

You can give these parameters in blockchain_lab()

  • Node number with "node_number"
  • Security circle number with "security_circle_number"
  • Path with "path"

Docker | Create & Delete

from blockchain_lab import blockchain_lab

blockchain_lab().create_docker()
from blockchain_lab import blockchain_lab

blockchain_lab().delete_docker()

Local | Create & Delete

from blockchain_lab import blockchain_lab

blockchain_lab().create_local()
from blockchain_lab import blockchain_lab

blockchain_lab().delete_local()

Status

from blockchain_lab import blockchain_lab

blockchain_lab.status()

Test with a transaction

from blockchain_lab import blockchain_lab

blockchain_lab.send_transaction(receiver = "naruno", amount = 5000, data = "blockchain-lab")

In command line

You can give these parameters in command line arguments of create and delete functions.

  • Node number with "-nn" or "--nodenumber"
  • Security circle number with "-scn" or "--securitycirclenumber"
  • Path with "-p" or "--path"

Docker | Create & Delete

blockchain_lab_create_docker
blockchain_lab_delete_docker

Local | Create & Delete

blockchain_lab_create_local
blockchain_lab_delete_local

Status

blockchain_lab_status

Test with a transaction

blockchain_lab_send_transaction -r naruno -a 5000 -d blockchain-lab

Metadata

Release files for blockchain-lab 0.9.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-lab 0.9.0
File Size Uploaded Provenance
blockchain_lab-0.9.0.tar.gz 9.1 kB Without provenance Details

Release files / blockchain_lab-0.9.0.tar.gz

Download URL blockchain_lab-0.9.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a61116b6969effadc5d6e2b0188b431ade4b9b563feeb82ca1d2a36b08d23cba
BLAKE2b-256 checksum
How to use checksums
c300f24aa5a2c9a5681479fa6b5fd0aeb4d6a44d09d849fcca1faa070329eda5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Security for blockchain-lab 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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