Skip to main content

A pip CLI tool to download programs for ML, SDP, and MAD labs

Project description

Lab Downloader ๐Ÿ“š

A pip CLI tool to easily download programs for ML (Machine Learning), SDP (Software Development Project), and MAD (Mobile Application Development) labs.

Features โœจ

  • โšก Quick Setup: Install via pip and start downloading labs instantly
  • ๐ŸŽฏ Multi-Lab Support: Download ML, SDP, or MAD labs individually or all at once
  • ๐Ÿ“‹ Status Tracking: Check which labs are downloaded and where
  • ๐Ÿ”ง Flexible: Customize download directory
  • ๐Ÿ“– Easy to Use: Simple CLI commands with helpful documentation

Installation ๐Ÿš€

From source (local development):

cd lab-downloader
pip install -e .

From PyPI (once published):

pip install lab-downloader

Quick Start ๐Ÿƒ

Download a specific lab:

# Download ML lab
lab-downloader download ml

# Download SDP lab
lab-downloader download sdp

# Download MAD lab
lab-downloader download mad

Download all labs:

lab-downloader download all

List available labs:

lab-downloader list

Check download status:

lab-downloader status

Use custom download directory:

lab-downloader download ml --dir ./my_labs
lab-downloader download all --dir /path/to/labs

Verbose output:

lab-downloader download ml --verbose
# or
lab-downloader download ml -v

Available Labs ๐Ÿ“š

๐Ÿค– ML (Machine Learning)

  • Description: Machine Learning lab with datasets and jupyter notebooks
  • Files: PCA analysis, multiple lab notebooks, breast cancer dataset
  • Command: lab-downloader download ml

๐Ÿ’ผ SDP (Software Development Project)

  • Description: Software Development Project lab programs
  • Command: lab-downloader download sdp

๐Ÿ“ฑ MAD (Mobile Application Development)

  • Description: Mobile Application Development lab programs and resources
  • Command: lab-downloader download mad

Usage Examples ๐Ÿ’ก

# Download ML lab with detailed output
lab-downloader download ml -v

# Download all labs to a custom location
lab-downloader download all --dir ~/my_projects/labs

# Check what labs are available
lab-downloader list

# See current download status
lab-downloader status

# Get version info
lab-downloader version

File Locations ๐Ÿ“

By default, labs are downloaded to: ./lab_programs/

Structure:

lab_programs/
โ”œโ”€โ”€ ML_Lab-main/
โ”‚   โ”œโ”€โ”€ lab6_PCA.ipynb
โ”‚   โ”œโ”€โ”€ ML_lab_1.ipynb
โ”‚   โ”œโ”€โ”€ breast-cancer.csv
โ”‚   โ””โ”€โ”€ ... (more notebooks)
โ”œโ”€โ”€ sdp-program-main/
โ”‚   โ””โ”€โ”€ ... (SDP files)
โ””โ”€โ”€ MAD-program-main/
    โ””โ”€โ”€ MAD (1).txt

Requirements ๐Ÿ“‹

  • Python 3.7+
  • No external dependencies (uses only Python standard library)

Development ๐Ÿ› ๏ธ

Clone the repository:

git clone https://github.com/user/lab-downloader.git
cd lab-downloader

Install in development mode:

pip install -e .

Run tests:

python -m pytest

Build the package:

python -m build

Troubleshooting ๐Ÿ”ง

Command not found after installation:

# Try reinstalling
pip install --force-reinstall -e .

Permission denied:

# On Unix/Linux/Mac
chmod +x $(which lab-downloader)

# Or use sudo
sudo pip install lab-downloader

Download fails:

  • Check your internet connection
  • Verify the lab name is correct: lab-downloader list
  • Try verbose mode: lab-downloader download ml -v

Contributing ๐Ÿค

Contributions are welcome! Please feel free to submit a Pull Request.

License ๐Ÿ“„

This project is licensed under the MIT License - see the LICENSE file for details.

Support ๐Ÿ’ฌ

For issues, questions, or suggestions, please open an issue on GitHub.


Made with โค๏ธ for students learning ML, SDP, and MAD

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_downloader-1.0.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

lab_downloader-1.0.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file lab_downloader-1.0.0.tar.gz.

File metadata

  • Download URL: lab_downloader-1.0.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for lab_downloader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 30935d735bf8b84289653110e2c9ffb54e222ba99ddac64424e61cde2c99e624
MD5 21aa96ff041113ab9df045e2d95984d8
BLAKE2b-256 03cf730f11e9c866853b1ebdfd4f3170bd39075bbf408a1a47a213f234b9ff73

See more details on using hashes here.

File details

Details for the file lab_downloader-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: lab_downloader-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for lab_downloader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac413bc1e2093456a24cee54a8f374babf56fc0cb7c6ed271cc0a07e0f6a8f30
MD5 2b698849a8378dbbcf9cc1e4ae4c54b4
BLAKE2b-256 1063b645c32ee8ac1be7fe708d6989076fb423830b1a8338197f402aa2135ec0

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