This release is a pre-release and may not be stable for production use.
dazzlecmd-lib
The aggregator/dispatch engine behind the dazzlecmd pattern: tool discovery, kit/FQCN dispatch, the runtime registry, and the DazzleEntity continuum object model. It is a standalone framework — it does not require dazzlecmd to be installed; dazzlecmd is just its first consumer.
Build your own dz-pattern CLI in ~10 lines
from dazzlecmd_lib import AggregatorEngine
def main():
engine = AggregatorEngine(
name="my-tools",
command="mt",
tools_dir="tools",
manifest=".mt.json",
version_info=("1.0", "1.0.0_main_1"),
)
return engine.run()
That gives you mt list, mt info <tool>, mt kit, mt version, mt tree, mt setup — plus the whole FQCN surface: a property store (mt .note=hi, mt prop list), bang-path addressing (mt :.meta, mt :core:tool.version), and a derived tree where every axis, verb, and rung is inspectable (mt info <anything>) — for free. Customize via the meta-command registry:
engine.meta_registry.register("mycmd", parser_factory, handler)
engine.meta_registry.override("list", handler=my_custom_list)
engine.meta_registry.unregister("tree")
What's inside
AggregatorEngine— a configurable CLI tool aggregator (discovery + dispatch).FQCNIndex— dual-index lookup for Fully-Qualified Collection Names (kit:tool,aggregator:kit:tool).RunnerRegistry— extensible runtime dispatch (Python, PowerShell, passthrough, …).MetaCommandRegistry— per-engine meta-command registry (override/extend the stock commands).default_meta_commands— stocklist/info/kit/version/tree/setup.ConfigManager— per-aggregator config reading/writing.- The mode subsystem — embedded / submodule / symlink tool-source detection and the dev↔publish toggle.
- The
DazzleEntityobject model and the kit/continuum machinery (built on thedazzle-libbedrock). fqcn_grammar— the bang-path address grammar::selects a child,.reads a property,:.steps into a fiber (hidden machinery),:+steps to the parent. Forgiving canonicalization with visible rewrites (-> dz.note (canonical)), never silent.property_store/prop_commands— the property surface (mt .note=hi,mt prop get/set/add/delete/list) over a discoverableproperties.json: validated keys, registered defaults (tool (default)), one-node value aliases, and derived read-only properties (engine.derived_reads— values answered from an item's own data, shadow-proof).fqcn_tree— the derived tree: every axis, rung, verb pole, and (via engine extensions) instance becomes an addressable node, derived from the live structures rather than hand-listed. Channels-by-existing, the verbosity cascade (one write on an outer node quiets its subtree), prefix-aware aliases with lazy key migration, and the seams an aggregator customizes:engine.tree_extensions,engine.tree_mounts,engine.tree_aliases.verb_axis— verbs as poles on signed-rank axes (enable↔disable,attach↔detach, …) with universalon/offsynonyms, the containment ladder (fiber < lib < internaltool < tool < kit < aggregator < supra), and the composed verb×level space that routesmt <verb> <target>with zero per-verb branches.interrogation— the identity/state card machinery behindmt infoat every level.
The DazzleLib stack
dazzlecmd-lib is an upper-layer member of the DazzleLib library stack. It builds on the bedrock and file-ops layers:
dazzle-lib— Protocols, TypedDict schemas, the continuum/state primitives.dazzle-filekit— cross-platform file operations + metadata preservation.unctools— UNC / drive-type path tools (Windows volume routing).
Consumers built on dazzlecmd-lib include dazzlecmd, amdead, and wtf-windows.
Install
pip install dazzlecmd-lib
Developing alongside a consumer (editable, shadow-proof)
When a consumer (e.g. dazzlecmd) is installed from PyPI, its dazzlecmd-lib dependency comes from PyPI too. To develop against a local checkout, install it editable with --no-deps so the local copy wins over any PyPI copy:
pip install -e C:/code/dazzlecmd-lib --no-deps
Versioning
Pre-1.0: the library reserves the right to make breaking changes during MINOR bumps until 1.0. Consumers should pin dazzlecmd-lib>=0.X.Y,<1.0.
History through 0.8.55 lives in the dazzlecmd monorepo git log (under packages/dazzlecmd-lib/), from which this repository was extracted on 2026-06-24. See CHANGELOG.md.
Contributing
See CONTRIBUTING.md. Issues and roadmap: Issue #1 (Roadmap).
License
GPL-3.0-or-later. See LICENSE.
Metadata
Release files for dazzlecmd-lib 0.10.35a0
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 |
|---|---|---|---|---|
| dazzlecmd_lib-0.10.35a0.tar.gz | 354.2 kB | With provenance | Details for dazzlecmd_lib-0.10.35a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dazzlecmd_lib-0.10.35a0-py3-none-any.whl | Python 3 | none | any | Details for dazzlecmd_lib-0.10.35a0-py3-none-any.whl |
Total release size: 682.6 kB
Release files / dazzlecmd_lib-0.10.35a0.tar.gz
| Download URL | dazzlecmd_lib-0.10.35a0.tar.gz |
|---|---|
| Size | 354.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89491d1d3f2248956c470a810ed0442900500a3895b7571829ff97433442408b
|
|
BLAKE2b-256 checksum How to use checksums |
f7408660fb8dead899f98e27b2902eb31b09cc0fe5abeb1724a5a5182d751470
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logRelease files / dazzlecmd_lib-0.10.35a0-py3-none-any.whl
| Download URL | dazzlecmd_lib-0.10.35a0-py3-none-any.whl |
|---|---|
| Size | 328.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36c1e5d4a9648af3fbd88b0da5eb105bf14c89b1ae18c283e08c6b68f2fef9af
|
|
BLAKE2b-256 checksum How to use checksums |
b798596ab988797084c18d0844ae76be74855aa882b7e441cfec6d313c3de3f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logSecurity for dazzlecmd-lib 0.10.35a0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for dazzlecmd_lib-0.10.35a0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logA 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.