Scan your whole stack
From OX Research Newsroom
Are you using simplibs-guide?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0
simplibs-guide was last scanned on 1 Dec 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0 LATEST | 1 Dec 2026 | No rules fired |
Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
simplibs-guideOne command makes the files of a new library, and one command lists what is not ready for the upload.
simplibs-guide is the ground of the simplibs system, level 00. It holds the guides that say how a
library of the system is made, and the tools that apply them: a generator that makes the files of a new
library from the templates, a check that compares a folder with those templates and with the facts of the
checklist, and small helpers for handing files over (a zip, a batch of files written as one text, and a folder packed into a batch).
The guides, the templates and the tools read the same MANIFEST.toml, so what a guide says is what the
generator makes and what the check looks for. No other library imports it: it is used at the command
line, and the functions behind the commands are there for scripts.
simplibs-guide new simplibs-text # the files of a new library, made from the templates
simplibs-guide check simplibs-text # what is not ready for the upload, and where
from pathlib import Path
from simplibs.guide import check_library
findings = check_library(Path("simplibs-text"))
findings[0]["id"] # -> 'todo-left:CHANGELOG.md'
simplibs-guidestands beforesimplibs-exceptionand has no dependency, so its one error,GuideError, is a plain error with the same shape of message and not a card of that library.
A guide for building libraries usually lives in a wiki or in the history of a chat, and a template lives in a
copy of the last library. Both drift: the guide says one thing, the last library did another, and nobody knows
which is right until the upload fails. simplibs-guide takes those traps seriously:
MANIFEST.toml lists every file of the skeleton.
The generator makes them, the check compares them, and the guide describes them, so none of the three can
drift away from the others unnoticed.check reads and reports. new and zip say what they would
do with --dry-run, and new skips a file that exists unless --force is given.pyproject.toml with its reason, and a rule that matches no file is itself a finding.GuideError says what happened, which value failed, what was expected and what
to do next.1.exceptions ← derive_library_names, load_manifest, archive_library ← pack_and_unpack_batches
← scaffold_library ← check_library ← cli — every layer imports only from those before it.from simplibs.guide import plan_batch
plan_batch("# >>> ../outside.txt\nx\n") # -> raises: GUIDE_BATCH_PATH_INVALID_ERROR, the path leaves the folder
pip install simplibs-guide
Requires Python 3.11+. The library has no runtime dependency. It installs the command simplibs-guide,
which python -m simplibs.guide starts as well.
The command and the function do the same; use one of them, because the second run skips every file that exists.
simplibs-guide new simplibs-text # asks once; --yes does not, --dry-run only lists
from pathlib import Path
from simplibs.guide import scaffold_library
report = scaffold_library(Path("simplibs-text")) # the name of the folder is the name of the library
"README.md" in report["created"] # -> True
report["skipped"] # -> [] (a file that exists is skipped, unless force=True)
simplibs-guide check simplibs-text # nothing is changed; exit code 1 when something is found
from pathlib import Path
from simplibs.guide import check_library
findings = check_library(Path("simplibs-text"))
sorted({finding["check"] for finding in findings}) # -> ['comment-left', 'placeholder-left', 'todo-left']
findings[0]["id"] # -> 'todo-left:CHANGELOG.md'
simplibs-guide zip simplibs-text # the zip without what git leaves out
simplibs-guide create-batch simplibs-text # simplibs-text_batch.txt: the whole folder as one text
simplibs-guide create-bare-batch simplibs-text # only the Python code, without comments, to be read
from pathlib import Path
from simplibs.guide import archive_folder, plan_batch, write_batch
report = archive_folder(Path("simplibs-text"), dry_run=True) # the zip without what git leaves out
report["written"], ".gitignore" in report["files"] # -> (False, True)
plan = plan_batch("# >>> notes/a.txt\nhello\n# >>> b.txt\nworld\n") # one text, two files
plan # -> {'notes/a.txt': 'hello', 'b.txt': 'world'}
write_batch(Path("out"), plan, dry_run=True)["files"] # -> ['notes/a.txt', 'b.txt']
The other way round, a folder becomes one batch, whole or only its Python code:
from pathlib import Path
from simplibs.guide import create_batch, create_bare_batch
report = create_batch(Path("simplibs-text"), dry_run=True) # the whole folder as one text
len(report["files"]), report["skipped"] # -> (11, {})
create_bare_batch(Path("simplibs-text"), dry_run=True)["files"] # -> ['src/simplibs/text/__init__.py', 'tests/test_architecture.py', 'tests/test_public_api.py']
from simplibs.guide import GuideError, derive_name_tokens, plan_batch
derive_name_tokens("simplibs-text-case") # -> {'NAME': 'text-case', 'IMPORT': 'text_case', 'UPPER': 'TEXT_CASE'}
try:
plan_batch("no marker line, so no file")
except GuideError as error:
error.error_name # -> 'GUIDE_BATCH_EMPTY_ERROR'
src/simplibs/guide/
├── __init__.py ◄── the functions and the types of the tools
├── __main__.py ◄── python -m simplibs.guide
├── cli/ ◄── the command line: new, check, zip, create-files, create-batch, create-bare-batch
├── exceptions/ ◄── GuideError, the one error
├── logic/ ◄── what the tools do; each folder is named by what it does
│ ├── archive_library/ ◄── pack a folder into a zip
│ ├── check_library/ ◄── list what is not ready for the upload
│ ├── derive_library_names/ ◄── the shapes of the name of a library
│ ├── load_manifest/ ◄── read MANIFEST.toml (internal)
│ ├── pack_and_unpack_batches/ ◄── make the files of a batch, and pack a folder into one
│ └── scaffold_library/ ◄── make the files of a new library
└── templates/ ◄── MANIFEST.toml, the templates and the scripts (data)
The root exports the functions and the types that appear in their signatures. The command line is started by the command, not imported, and the manifest is the file of the tools themselves, so neither is exported:
from simplibs.guide import check_library, scaffold_library, GuideError # functions and the error
from simplibs.guide import Finding, ScaffoldReport # types of the answers
cli/ — The command simplibs-guideOne command with six subcommands. Each prints what it did, asks before it writes when a whole library is made,
and ends with the exit code 0, or 1 for an error, for a finding of check and for a closed pipe.
| Command | Description / Parameters |
|---|---|
new |
Makes the files of a new library; the name of the folder is the name of the library (folder, --yes, --dry-run, --force). |
check |
Lists what is not ready for the upload; nothing is changed (folder). |
zip |
Packs a folder into a zip without what git leaves out (folder, --output, --dry-run). |
create-files |
Makes the files of a batch; the batch is always named (batch, --folder, --only, --dry-run). |
create-batch |
Packs the text files of a folder into one batch (folder, --output, --max-depth, --dry-run). |
create-bare-batch |
Packs only the Python code of a folder into one batch, without comments, docstrings and design notes, to be read (folder, --output, --max-depth, --dry-run). |
logic/ — What the tools doEach tool has a folder of its own, and each folder has a section below. A function plans first and writes second, so that a mistake is found before a file is touched.
| Folder | What it does |
|---|---|
scaffold_library/ |
Makes the files of a new library from the templates. |
check_library/ |
Lists what is not ready for the upload. |
archive_library/ |
Packs a folder into a zip. |
pack_and_unpack_batches/ |
Makes the files of a batch, and packs a folder into one. |
derive_library_names/ |
Turns the name of a library folder into the shapes of its name. |
load_manifest/ |
Reads MANIFEST.toml, the list of the files of the skeleton; internal, not exported. |
-------------|---------------------------------------------------------------------------------------|
| scaffold/ | Makes the files of a new library from the templates. |
| check/ | Lists what is not ready for the upload. |
| archive/ | Packs a folder into a zip. |
| batch/ | Makes the files of a batch, and packs a folder into one. |
| names/ | Turns the name of a library folder into the shapes of its name. |
| manifest/ | Reads MANIFEST.toml, the list of the files of the skeleton; internal, not exported. |
logic/scaffold_library/ — Make a new libraryThe name of the folder is the name of the library (simplibs- and its name), and the files are made from
the templates that MANIFEST.toml lists. A file that exists is skipped, unless force is given.
| Function | Description / Parameters |
|---|---|
plan_scaffold |
Builds the plan of a new library: its folders and the content of its files (folder_name, year, templates_root=None). |
scaffold_library |
Makes the files of a new library in a folder (folder, keyword-only: force=False, dry_run=False, year=None, templates_root=None). |
write_scaffold |
Writes a plan into a folder (root, plan, keyword-only: force=False, dry_run=False). |
| Type | Description |
|---|---|
ScaffoldPlan |
The folders and the content of the files that are going to be made. |
ScaffoldReport |
The folders and the files that were created, overwritten or skipped. |
➡️ README_GUIDE_SCAFFOLD_LIBRARY
logic/check_library/ — List what is not readyEleven checks run on a folder: the files of the skeleton that are missing or changed, a token, a TODO
marker, a comment or a placeholder that was left in a file, facts that two files say differently (the
version, the Python, the year of the licence), and a Markdown link that leads nowhere. The author leaves a
file out of a check with a rule and a reason in pyproject.toml; a rule that matches no file is a finding too.
| Function | Description / Parameters |
|---|---|
check_library |
Runs every check on the folder of a library (folder, keyword-only: templates_root=None). |
| Type | Description |
|---|---|
Finding |
One thing that is not ready: its id, its check, its path and a message. |
logic/archive_library/ — Pack a folderThe zip holds what git would keep: the folders that are not part of the repository (.git, .venv, the
caches) and the working files are left out. The paths in the zip start in the folder itself.
| Function | Description / Parameters |
|---|---|
archive_folder |
Packs a folder into a zip, or only lists what would be packed (folder, keyword-only: output=None, dry_run=False). |
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.