Skip to main content

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 narration is the frame’s \pnote. In the document’s audio/, two sources are kept side by side, and a relative link selects what plays:

tts-<label>.*

text-to-speech of the narration (Piper), redone when it changes

rec-<label>.*

your recording

<label>.mp3, .length

links to one of them

lcntAudio-seed.cs -i audioPlant .      # in the document: audio/audioProc.spcs, .gitignore, ttsLexicon
cd audio
./audioProc.spcs -i ttsGenerate        # tts for changed frames; links frames that play nothing
./audioProc.spcs -i recordCmnds        # the audacity commands to record rec-<label>.wav
./audioProc.spcs -i recFinalize        # rec-<label>.wav -> .mp3, .length, .textHash
./audioProc.spcs -i audioSelect rec    # recordings where there are some, tts elsewhere
./audioProc.spcs -i audioReport        # per frame: what plays, stale recordings, total time
./audioProc.spcs -i ttsClean           # delete all that ttsGenerate makes again; recordings are kept

A recording 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. The audio stays out of git; copy the link targets when publishing.

Part of BISOS and ByStar — ByStar Internet Services Operating System

Layered on top of Debian, BISOS: (By* Internet Services Operating System) is a unified and universal framework for developing both internet services and software-service continuums that use internet services. See Bootstrapping ByStar, BISOS and Blee for information about getting started with BISOS.
BISOS is a foundation for The Libre-Halaal ByStar Digital Ecosystem which is described as a cure for losses of autonomy and privacy in a book titled: Nature of Polyexistentials

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

For support, criticism, comments and questions; please contact the author/maintainer

Metadata

Release files for bisos.lcnt 0.17

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

Source distribution (sdist)

Source distribution for bisos.lcnt 0.17
File Size Uploaded Provenance Actions
bisos_lcnt-0.17.tar.gz 106.9 kB Without provenance Details for bisos_lcnt-0.17.tar.gz

Release files / bisos_lcnt-0.17.tar.gz

Download URL bisos_lcnt-0.17.tar.gz
Size 106.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bb4e37f090716a1fe65ca930bc1b3d4bac5d450fd270e2064e1eaeb30c7859fd
BLAKE2b-256 checksum
How to use checksums
6ca86eee87291696b54d6f39c2b59d08d7478ebbac3c85ef83f8377b9ffb9af9
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.17

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