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.2.tar.gz (9.0 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.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: labcli44044-0.1.2.tar.gz
  • Upload date:
  • Size: 9.0 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.2.tar.gz
Algorithm Hash digest
SHA256 8b6a7c76d38dcd484258a82ff9644fc0aa8ee271e34e87ba005e122d5d7ec623
MD5 e93aab683d8748bccab4f7534e38675c
BLAKE2b-256 b45e17b561cbd8a5c56deddfa56ea44c6e900dd31ff1874b45d6a000ad51250e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: labcli44044-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 692fc4a25a7a5773ca0af355941397da1069cfcc03076fba6af33e49d2b3606f
MD5 b919136c69343ee92ce2b5cebbc956e8
BLAKE2b-256 5fc9cfc6c491f5be5438a0e6e8d16edbfacf64ea8963101939f18bd53a18eb5b

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