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.0.tar.gz (4.2 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.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: labcli44044-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 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.0.tar.gz
Algorithm Hash digest
SHA256 80500234f02bfd5eb42ee6691f5e65c108dbc1943a135567b5a2c69e91f4c713
MD5 b161694898648859c5dd6c4e74b7d256
BLAKE2b-256 58ec252f9930da5a888e4785781c2cf320e4be9403a4cc881a775910342ceddf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: labcli44044-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7bf8614408581198e61d210b83a36683dabf28f45a7d6b3fe4656de2ab146efb
MD5 5bcb5411914cfb21a8e96f4c5178ed55
BLAKE2b-256 167a2f3ea74404ac578bd09a45ffbd85d2bd889abfc0e505f7be370e8b33cddb

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