Skip to main content

A package to print Java source code from Distributed Computing Lab experiments

Project description

DCLab

A Python package to print Java source code from Distributed Computing Lab (DC_lab) experiments.

Installation

Install the package using pip:

For Windows

pip install krithik-dclab

For Ubuntu

sudo pip install krithik-dclab

Usage

After installation, use the dclab-print command to print the contents of .java files for a specific experiment.

List Available Experiments

dclab-print

Print Java Files for an Experiment

dclab-print exp1

This will print the contents of all .java files in the exp1 folder (e.g., LoadBalancers.java).

Downloading files

Downloading in the same directory

dclab-print exp1 —download

Downloading in your own directory

dclab-print exp1 —outdir <directory_name/path>

Experiments

The package includes the following experiments:

  • exp1: LoadBalancing
  • exp2: Multithreading
  • exp3: RPC
  • exp4: BullyElection
  • exp5: GroupCommunication
  • exp6: ChandyHaasMisra
  • exp7: IPC
  • exp8: MutualExclusion
  • exp9: BerkleyClockSync
  • lab_assign_exp1: LoadBalancing
  • lab_assign_exp3: RPC
  • lab_assign_exp4: RingElection
  • lab_assign_exp6: PathPushing

Requirements

  • Python 3.6 or higher
  • click library (installed automatically)

License

MIT License

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

krithik-dclab-0.1.2.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

krithik_dclab-0.1.2-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file krithik-dclab-0.1.2.tar.gz.

File metadata

  • Download URL: krithik-dclab-0.1.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for krithik-dclab-0.1.2.tar.gz
Algorithm Hash digest
SHA256 33d601324a4b3b28c90c26f47f0ed4807291b53a78280ecb0e50e9c787683e3c
MD5 bf8d0b062a3e8a4b7e0fee7c410006c9
BLAKE2b-256 b485089cb2587dd2be00f2a950c2f2cd8548d9988921ae0574277106cdc731f0

See more details on using hashes here.

File details

Details for the file krithik_dclab-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: krithik_dclab-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 24.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for krithik_dclab-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 43dd9a67bcafb27b518725145dbac9a0466d2f0b84f485bb726979df45022500
MD5 2d90b0ada2b1838810dff1db74f35125
BLAKE2b-256 46e21b74be2555473068ce377a216da94ca15043179a86ea866a54daed966a0f

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