Comment-only archive package for distributed computing practice source files
Project description
manual_dc
A Python package that archives existing Python and Java source files as docstring-based comment archive modules.
What this package does
- Ships source archives as module docstrings.
- Does not execute the original scripts, algorithms, or socket/chat logic on import.
- Lets you install and import the package, then inspect module source files.
Install
pip install -e .
Usage
import manual_dc
print(manual_dc.AVAILABLE_ARCHIVES)
print(manual_dc.list_archives())
python_text = manual_dc.get_archive_text("python", "bankers_source")
java_text = manual_dc.get_archive_text("java", "ricart_agrawala_source")
print(python_text[:200])
print(java_text[:200])
Archived files
- Python: bankers.py, berkley.py, bully.py, distributedSharedLoad.py, loadBalancing.py, multiThreading.py
- Java: Client.java, GroupChatClient.java, GroupChatServer.java, RaymondTree.java, RicartAgrawala.java, Server.java
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
manual_dc-0.1.0.tar.gz
(10.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
manual_dc-0.1.0-py3-none-any.whl
(14.9 kB
view details)
File details
Details for the file manual_dc-0.1.0.tar.gz.
File metadata
- Download URL: manual_dc-0.1.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42914701f02830e7e5ecfaf3b457bc2eee09e0430bb656ff4b2d30ac643279c5
|
|
| MD5 |
0c888f90adaa62124662189e09d1478d
|
|
| BLAKE2b-256 |
8f24fc23d7a1b2a259224c84ec177319cdd54516168d7b074580539d7f3d0866
|
File details
Details for the file manual_dc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: manual_dc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f15a5b24c8cffa1f0bb9547db4c9f8d8589870f49b66e6170effadc76b06339
|
|
| MD5 |
6429986d1897c4501e86a3a1398fe763
|
|
| BLAKE2b-256 |
de49fa2128a541469cd11b756a3e37f1a106bc9e11c8f4cd9c51ecf757c37fbf
|