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

Uploaded Python 3

File details

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

File metadata

  • Download URL: labcli44044-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 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.1.tar.gz
Algorithm Hash digest
SHA256 6e6599cc333b4c966eb0356d336c1bc725e663da39253f56f25bdc2591932d69
MD5 1521a2b73e80400e513d9a4c0e27bae0
BLAKE2b-256 6ab1fcebde25e8cb238ac2323fa560fba8f7ca57a2c914b2d723c601698e9984

See more details on using hashes here.

File details

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

File metadata

  • Download URL: labcli44044-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f37ed328194316be06e5568719cc47fa8d15cf50c48891c361b51c7e9fac1b7
MD5 065f99677b924be45a38151a8f732990
BLAKE2b-256 35f7557046009c3c2fc1932fbe3eefaae8965ddf38921e6d54dcc01b60d6785a

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