v0.0.11¶
New: Namespace Tags (lythonic.compose.namespace)¶
Tag-based querying for namespace nodes with a simple expression language.
NamespaceNode.tags—frozenset[str]field on every node, set at registration time via optionaltagsparameter onregister()andregister_all().Namespace.query(expr)— filter nodes with tag expressions supporting&(AND),|(OR),~(NOT) with standard precedence. Recursively searches all branches.- Tag validation — rejects bare strings (common mistake), operator characters, and whitespace in tag names.
- Config round-trip —
NamespaceEntryConfig.tagsfield for persisting tags throughload_namespace()/dump_namespace().
Documentation¶
- Rewrote README and index page with compose-forward framing.
- Added compose pipeline tutorial with dot-path namespace demo.
- Updated
lythonic.compose.namespacemodule docstring with tags usage examples.