A premium cross-platform CLI tool to package and distribute lab assets.
Project description
lab 🧪
A production-ready Python CLI package that packages and distributes lab assets (including .docx, .txt, .ipynb, .csv datasets, and whole projects) cross-platform on Windows, macOS, and Linux.
Installation
You can install lab directly from source:
pip install .
CLI Commands
1. Download All Labs
Downloads all labs (ML, SDP, MAD) to the default Downloads directory (~/Downloads):
lab download-all
Optional Flags
--dir,-d: Specify a custom directory.--verbose,-v: Enable verbose progress logging.--force,-f: Overwrite files if they already exist in the target directory (without this flag, existing files are safely skipped).
Example:
lab download-all --verbose --force
2. Download to User Directory
Downloads all labs to a user-specified directory:
lab download --dir ~/Desktop/Labs
Directory Handling
- Handles relative paths (e.g.
Labs,./Labs) - Handles absolute paths (e.g.
C:\Labson Windows or/usr/local/labson Linux) - Handles home relative paths (e.g.
~/Desktop/Labs) - Handles direct shortcuts (e.g.
/Desktop/Labsor\Desktop\Labson Windows) - Automatically creates any missing directories in the path.
3. Asset Integrity Verification
Includes internal automated byte-for-byte copy validation and structural integrity validation (e.g., zip validity check on Word files, JSON parser check on Jupyter Notebooks, CSV column check on dataset tables) to prevent 0KB or corrupt files.
Project Structure
src/
└── lab/
├── assets/
│ ├── ML/
│ ├── SDP/
│ └── MAD/
├── cli.py
├── downloader.py
└── __init__.py
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
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
File details
Details for the file lab_ia_suite-0.1.0.tar.gz.
File metadata
- Download URL: lab_ia_suite-0.1.0.tar.gz
- Upload date:
- Size: 4.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9485319baea7e896bcf8e99d460ef1d69a6a38da0df41434d0ef9d1c35b69340
|
|
| MD5 |
d995ceab34c7d3cc4cc61195cb18d2fb
|
|
| BLAKE2b-256 |
5bd2a9a589f47036fc13ca59f260c389c3e662d63c3a2b82d3287fa10fd7b173
|
File details
Details for the file lab_ia_suite-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lab_ia_suite-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cde3231a0df236578ff7190308a737050c9b43275210b845c6db748b6dda1939
|
|
| MD5 |
b7370232e2e043eb85499d1de05afb20
|
|
| BLAKE2b-256 |
e910b44a77fd9db45fc54d81ab255d62f388eb36c309df03ffee704e3e9ba8bd
|