Distribute and print the ML lab programs for quick reference.
Project description
mllabbms
Publishable Python package that bundles all “ML Lab” programs and offers a single command to print them in order.
Installation
python3 -m pip install mllabbms
To test changes locally before publishing, run the same command inside the repo root. Pip will build the wheel/sdist and install the package into the active environment.
Usage
The package exposes a console script named mllabbms.
# list all labs with their titles and short summaries
mllabbms --list
# print a single lab (1-based index from --list)
mllabbms --lab 3
# print every program in order
mllabbms
You can also call the helpers directly from Python:
from mllabbms import print_all_labs, get_lab_programs
print_all_labs()
first = get_lab_programs()[0]
print(first.title)
Publishing workflow
- Install the packaging tools:
python3 -m pip install --upgrade build twine
- Build the artifacts from the repository root:
python3 -m build
The wheel and sdist will be placed insidedist/. - Upload to TestPyPI first, then to PyPI:
python3 -m twine upload dist/* -r testpypi # verify, then python3 -m twine upload dist/*
- Users can now
pip install mllabbmsand run the CLI.
Remember to bump version in setup.py before each release.
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 mllabbms-0.1.0.tar.gz.
File metadata
- Download URL: mllabbms-0.1.0.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa4c47aa0f90ce148df0b5e01d95215c5dad601419c6c4f7f3f8c2f09be9314
|
|
| MD5 |
400bc39c4f348ffb65502e35958180d3
|
|
| BLAKE2b-256 |
6b20649dde6d59465d923d651f544f82fbdff6a2963b6df905bb5791ae664e69
|
File details
Details for the file mllabbms-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mllabbms-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d389779f57bf637e811966be2314c1e933ecb6a79a7b7330a9b1b1ace07f6a4
|
|
| MD5 |
53ef69b2a1d8dd7c09e79a903c245a1c
|
|
| BLAKE2b-256 |
b9f810532cd0cee812641d11ddebcff2e4c06ab48f2b7229f8033d6d60e7d31b
|