Skip to main content

A premium cross-platform CLI tool to package and distribute lab assets.

Project description

lab-ia 🧪

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-ia directly from source:

pip install .

CLI Commands

1. Download All Labs

Downloads all labs (ML, SDP, MAD) to the default Downloads directory (~/Downloads):

lab-ia 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-ia download-all --verbose --force

2. Download to User Directory

Downloads all labs to a user-specified directory:

lab-ia download --dir ~/Desktop/Labs

Directory Handling

  • Handles relative paths (e.g. Labs, ./Labs)
  • Handles absolute paths (e.g. C:\Labs on Windows or /usr/local/labs on Linux)
  • Handles home relative paths (e.g. ~/Desktop/Labs)
  • Handles direct shortcuts (e.g. /Desktop/Labs or \Desktop\Labs on 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_ia/
      ├── assets/
      │    ├── ML/
      │    ├── SDP/
      │    └── MAD/
      ├── cli.py
      ├── downloader.py
      └── __init__.py

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

lab_ia-0.1.0.tar.gz (4.5 MB view details)

Uploaded Source

Built Distribution

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

lab_ia-0.1.0-py3-none-any.whl (4.5 MB view details)

Uploaded Python 3

File details

Details for the file lab_ia-0.1.0.tar.gz.

File metadata

  • Download URL: lab_ia-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

Hashes for lab_ia-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d35892e6b387dd5f41c318563bfdcfb9c25753ff9712b1ab7e0b39a89a31e558
MD5 1e1172608d669cdc7a4a19c99ae6e2f5
BLAKE2b-256 87a9da1ce4d19d4bb95a6f7e3aadf2dbbffbab333c2ac684fc6aabe017b8aea6

See more details on using hashes here.

File details

Details for the file lab_ia-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lab_ia-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

Hashes for lab_ia-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fb0375a81a6dd5eccaf7d1bc70669f0d09b648b26a8b432d658708eb1a9d787
MD5 1986335249fd21f2cec60970aa5e6b31
BLAKE2b-256 c1923fb68b135c455fb2937049f320b6fcdb7d399d06b7a450b57f4b7899972a

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