bisos.lcnt: Command Services (CS) and libraries to support ByStar Libre Content (LCNT) capabilities for impressive (pdf presentations), screenstudio (desktop recorder), etc.
Overview
bisos.lcnt: Command Services (CS) and libraries to support ByStar Libre Content (LCNT) capabilities for impressive (pdf presentations), screenstudio (desktop recorder), etc.
Package Documentation At Github
The information below is a subset of the full of documentation for this bisos-pip package. More complete documentation is available at: https://github.com/bisos-pip/lcnt-cs
Realted Resources
bisos Capabilities Panel |
file:/panels/capab ilities/_nodeBase_/fullUsagePanel-en.org |
Table of Contents TOC
Installation
The sources for the bisos.lcnt pip package is maintained at: https://github.com/bisos-pip/lcnt.
The bisos.lcnt pip package is available at PYPI as https://pypi.org/project/bisos.lcnt
You can install bisos.lcnt with pip or pipx.
Installation With pip
If you need access to bisos.lcnt as a python module, you can install it with pip:
pip install bisos.lcnt
Installation With pipx
If you only need access to bisos.lcnt as a command on command-line, you can install it with pipx:
pipx install bisos.lcnt
The following commands are made available: /usr/local/bin/beamerExternalExtensions.py /usr/local/bin/screenstudioWebClientIcm.py
Capability Bundles (CBM): lcntCore, lcntBases, lcntMultiMedia
bisos.lcnt supplies the CBSs (capability bundle specifications), sboms and assemble steps behind three CBM leaves of capabilityType induct, realm collective, at sys/cbm/collective/induct/<name>/. Each leaf is a cbmProc.spcs that only points at the CBS (see bisos.capability); it is gated by cbmProc.control (available, enabled, disabled). Materialize them in this order:
Capability |
What it provides |
|---|---|
lcntCore |
texlive-full, hevea, evince, the Persian fonts (nested fonts sbom) |
lcntBases |
/de/sys/lcnt and /lcnt, linked into the bases BXO (rawBisos only) |
lcntMultiMedia |
reveal.js, display tools; audio on a VM, video recording on a Box |
Each has <name>-sbom.pcs, <name>-assemble.cs and <name>-cbs.pcs in py3/bin/, and a pointer cbmProc-<name>.spcs to copy to its leaf. Materialize and verify:
cd /bisos/platform/sys/cbm/collective/induct/lcntCore
./cbmProc.spcs -i cbm_enable
./cbmProc.spcs -i cbm_materialize
lcntCore-assemble.cs -i toolchainCheck # the verdict: it fails loudly
The legacy scripts and the CBM walker exit 0 even when a step failed, so only toolchainCheck (in each <name>-assemble.cs) tells whether a capability is complete.
lcntBases
The bases BXO on rawBisos is the clone bxlcnt/bro_lcntBases-rawBisos (override for tests: LCNT_BASES_BXO). The assemble step makes /de/sys and /lcnt with sudo. Inside /de/sys/lcnt it links bxdpt, BIB, CENTRAL and REGISTRY into the clone, and makes three real directories:
lgpc (Libre Generated Public Content), holding the link rawBisos to the clone’s lcnt/lgpc/rawBisos; other hierarchies (such as bystar) are added beside it by the user, never inside the clone.
lgcc (Libre Generated Confidential Content), empty: a placeholder for the user’s own hierarchy.
outputs/all/lists, where every build keeps /lcnt/outputs/all/lists/nuBaseDir.
lcntBases-assemble.cs -i fullUpdate repairs a broken link, turns the old lgpc link into the real directory, and refuses to replace a real file or directory. It never links inside the clone. On the sited BISOS the bases come from a BPO instead and this leaf stays available.
lcntMultiMedia
The environment decides what is installed: Container (PDF and the reveal HTML; display-only tools), VM (adds audio), Box (adds video recording and editing). It is detected with systemd-detect-virt; override it with LCNT_MM_ENV=Container|VM|Box. lcntMultiMedia-assemble.cs -i environment reports it and -i toolchainCheck verifies it (and that lcntCore is complete, which it never installs). The OBS profile and websocket, aeneas, whisper and subed are not done.
reveal.js comes from the nested revealJs-sbom.pcs (it replaced lcaJsRevealBinsPrep.sh): reveal.js, reveal.js-plugins and reveal.js-menu at the versions pinned in lcntMultiMediaInfo.py, global under /usr/local/lib/node_modules by the system’s /usr/bin/npm under sudo, and the link reveal.js-plugins/menu -> ../reveal.js-menu. reveal.js is a library the HTML loads by path, not a command, so it does not go into the user’s nvm as command-line npm packages do. toolchainCheck checks each version and the link.
Publishing on an Astro Site: the localWeb Export
An export spec (LCNT-INFO/Exports/<spec>/) whose exportMethod is localWeb publishes a released document on astro sites of the same system, so that it can be read and cited there: a Library tab lists the documents, and each release has an access page (vitals, formats, and for an article the document itself). The spec’s file-vars:
exportMethod |
localWeb |
buildSpecs |
the build specs whose released pdf (and html) are exported |
(e.g. ./LCNT-INFO/Builds/art-8.5x11) |
|
destinations |
FQDNs of the sites on this system, whitespace separated |
lcntProc.sh -p extent="build+release" -i lcntBuild all
lcntProc.sh -i lcntExport ./LCNT-INFO/Exports/localWeb
The export copies nothing into a site. It writes a spec of the release (a pointer: its canonical /de/sys/lcnt path, its BXO and the path in it, the last commit, the files and the metadata from LCNT-INFO) into each site’s lcntSpecs/, as <pubcategory>-<number>-<release>.pyl, then rebuilds the site (<siteBase>/astroProc.spcs -i siteBuild). The site (bisos.webCap) lands the release in its var/lcnt/ and writes the pages; commit the spec in the site’s repository, so that the site rebuilds the same way on another host. The export notes a release with uncommitted changes. An article may export its html (embedded in its access page) and its pdf; a presentation, for now, exports its pdf only. Reveal.js and the other multimedia presentations are to be added later. The command is lcntExportLocalWeb.cs (module exportLocalWeb_csu.py); the export spec is described in the lcntProc Blee-Panel.
The spec and landing contracts, what a site needs and the generator are documented with the shared astro facilities, in /bisos/asc/web/astro/lcntLibrary/README.org (start at /bisos/asc/web/astro/README.org).
Narration Audio: Text-to-Speech and Recordings
Each frame of a presentation names its audio, \frameaudio{"audio/<label>.mp3"}, and Reveal plays it. The frames are those of the deck, disposition.gened (made by lcntProc.sh -i beamerDerivedFullBuild); each frame’s narration is its \pnote. In the document’s audio/, two sources are kept side by side, and a relative link selects what plays:
rec-<label>.mp3, .textHash |
your recording, the original (192 kbps CBR, 48 kHz, mono; no .wav) |
tts-<label>.* |
text-to-speech of the narration (Piper), redone when it changes |
<label>.mp3, <label>.length |
links to one of them; a .length is a file parameter (ms) |
<label>.narr, narrations.txt |
the narration as text, for a tele-prompter |
beamerDerivedFullBuild runs it after the frame images, wherever audio/audioProc.spcs is planted; lcntProc.sh -i audioBuild runs only the audio. By hand:
lcntAudio-seed.cs -i audioPlant . # in the document: audio/audioProc.spcs, .gitignore, ttsLexicon
cd audio
./audioProc.spcs -i audioBuild # all of it, incrementally; ends "audioBuild: ok|fail ..."
./audioProc.spcs -i narrationList # deck frames, words, estimated time
./audioProc.spcs -i narrationsExtract # <label>.narr and narrations.txt
./audioProc.spcs -i recordCmnds # where each recording goes, and the export settings
./audioProc.spcs -i audioSelect tts <label> # what plays, per frame (rec: recordings everywhere)
./audioProc.spcs -i audioReport # per frame: what plays, stale, recording format, total time
./audioProc.spcs -i audioClean # all that audioBuild makes again (ttsClean: the tts only)
./audioProc.spcs -i audioOrphans # files of labels no longer in the deck (--clean=tts)
./audioProc.spcs -i recImport # once, from mmUniteAudio.sh's <label>.wav
A new or replaced recording is marked current and selected by audioBuild; one older than its \pnote is reported stale. ttsLexicon holds how to say names (term = spoken). Piper and its voices (public-domain recordings only) are installed by piperTts-sbom.pcs; the facts are in lcntTtsInfo.py. git keeps the recordings and the <label>.mp3 links; a release copies what plays. audioProc.spcs replaces the Bash mmUniteAudio.sh, now obsolete.
Part of BISOS and ByStar — ByStar Internet Services Operating System
bisos.lcnt is part of BISOS.
bisos.lcnt as a Standalone Piece of BISOS
bisos.lcnt is a standalone piece of BISOS. It can be used as a self-contained Python package separate from BISOS. Follow the installation and usage instructions below for your own use.
Documentation and Blee-Panels
bisos.lcnt is part of ByStar Digital Ecosystem http://www.by-star.net.
This module’s primary documentation is in the form of Blee-Panels. Additional information is also available in: http://www.by-star.net/PLPC/180047
bisos.lcnt Blee-Panels
bisos.lcnt Blee-Panels are in ./panels directory. From within Blee and BISOS these panels are accessible under the Blee “Panels” menu.
Support
Metadata
Release files for bisos.lcnt 0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bisos_lcnt-0.19.tar.gz | 116.3 kB | Without provenance | Details for bisos_lcnt-0.19.tar.gz |
Release files / bisos_lcnt-0.19.tar.gz
| Download URL | bisos_lcnt-0.19.tar.gz |
|---|---|
| Size | 116.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfb83f4c51c617d6318191df2846ff546f472d927960c7d6b01baa3882d1f6c9
|
|
BLAKE2b-256 checksum How to use checksums |
b7b26ecd2f4818f3f8f00014925726d98e3cdfbb5c737cfabd7b8c877911c3c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Security for bisos.lcnt 0.19
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.