Skip to main content

CLI to list and run lab programs stored in a programs/ directory

Project description

labmanager

A small CLI tool to list and show Python lab programs stored in the repository's program/ folder.

Quick usage (run from the repository root):

List available program files:

python -m labmanager.cli list

Show a program file:

python -m labmanager.cli show Average_Temperature_by_City.py

Install locally for global usage (editable/development install):

pip install -e .

After installing, the labcli console script becomes available:

labcli list
labcli show README.md

Install directly from GitHub (useful for other machines):

pip install git+https://github.com/Shakthi44044/labcli.git

Publishing to PyPI (optional):

  • Build the package: python -m build (requires build package)
  • Upload with Twine: python -m twine upload dist/* (requires twine)

Notes

  • show reads files as UTF-8. Use --dir if you installed the package and want to point to a different program/ folder on disk.
  • The package uses a console script labcli (configured in pyproject.toml).

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

labcli44044-0.1.3.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

labcli44044-0.1.3-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file labcli44044-0.1.3.tar.gz.

File metadata

  • Download URL: labcli44044-0.1.3.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for labcli44044-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6a6f387b44aac7e20c7d1bf49dcefd485e79387c4d862e58224de00812205120
MD5 da5d7c486eedc33a08c33448aba31445
BLAKE2b-256 ed76c07aa1294f6fc297da8432122d7aa9609a01736dfe6aa0f3abf8dcb13e41

See more details on using hashes here.

File details

Details for the file labcli44044-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: labcli44044-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for labcli44044-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 acda6e422fcd23ff7b85d77877ae405c233054a0bdecdf15384fbf79eb91b2d2
MD5 21adb24bd21374cc20af6f5deefda747
BLAKE2b-256 6cc6bf20e8c24206ca5b3947bbb2cc685cfd01d2e2fe195bfd1f2ca5dffdd5e9

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