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.1.tar.gz (7.9 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.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lab_downloader-1.0.1.tar.gz
  • Upload date:
  • Size: 7.9 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.1.tar.gz
Algorithm Hash digest
SHA256 fa77c117143788b6ad58ef71cda784d7c682e4b94202135e13ce5eed95aae65a
MD5 faa89d78715278d6819d5c509fc77ca9
BLAKE2b-256 85dcc8dc4a7bcc1231cdb2a3d5bae35171eebd546b99f1ff346d8faf52cc0d63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lab_downloader-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 497f798ca37da62e1f3574c850024b5510ecd58ec58e9fd4a992106ec46d76d2
MD5 47a33c618e644284198872c9eb157d21
BLAKE2b-256 cbacac5e167730afb9b2f2882d616acc47ac4547f74eddb3fc85747403c1e813

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