Skip to main content

PLCT CLI App

This Command-Line Interface (CLI) app, named PLCT (Petlja Learning Content Tools), provides a set of commands to streamline the management and generation of learning content using Sphinx.

Installation

  1. Clone the repository:

    pip install plct-cli
    

Commands

build

Generate learning content using sphinx-build. You have the option to pass specific options to Sphinx using the -so flag. If no options are passed, they will be deduced or read from the plct_config file.

plct build [-so <sphinx-options>] [-sf <sphinx-files>]
  • -so, --sphinx-options: Specify additional options for Sphinx-build.
  • -sf, --sphinx-files: Specify filenames for Sphinx-build.

preview

Starts a local server using sphinx-autobuild. The root of this server corresponds to the root of the generated content. This allows you to edit files in the source directory and see the changes reflected in real-time on the server, as it will automatically refresh the content.

plct preview [-so <sphinx-options>]
  • -so, --sphinx-options: Specify additional options for Sphinx-autobuild.

publish

Publish learning content. Provides an easy way to create doc folder that can be used as the root for git hub pages.

plct publish

clean

Clean the generated output directory.

plct clean

get_markdown

Command zips all markdown files from the source directory.

plct get_markdown

Configuration

The app tries to determine the command arguments (source and output directories) of the sphinx command based on the project file structure. You can also specify these configurations plct_config.yaml.

License

This CLI app is licensed under the MIT License. Feel free to customize and extend it according to your needs.

Metadata

Release files for plct-cli 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plct-cli 0.0.5
File Size Uploaded Provenance Actions
plct_cli-0.0.5.tar.gz 4.2 kB Without provenance Details for plct_cli-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plct-cli 0.0.5
File Interpreter ABI Platform Actions
plct_cli-0.0.5-py2.py3-none-any.whl Python 2, Python 3 none any Details for plct_cli-0.0.5-py2.py3-none-any.whl

Total release size: 9.5 kB

Release files / plct_cli-0.0.5.tar.gz

Download URL plct_cli-0.0.5.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c96519042c01a4a05f1d3234d449b813c36c668d9611f9bb0759437956a2bcde
BLAKE2b-256 checksum
How to use checksums
923f0e6bf7b558458d2d1f73b719733c105cfcac795e2613b918d447df407131
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / plct_cli-0.0.5-py2.py3-none-any.whl

Download URL plct_cli-0.0.5-py2.py3-none-any.whl
Size 5.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9795d99a120134effbccdba3bd771f49652a22b160e4f5506de444e3a4e5bb04
BLAKE2b-256 checksum
How to use checksums
12755491192f05175e62745fd83015d6898f6130706c4fcd0a83bfcf54a7723f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for plct-cli 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page