throughline 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- throughline/__init__.py +38 -0
- throughline/cli.py +1007 -0
- throughline/fingerprint.py +43 -0
- throughline/graph.py +113 -0
- throughline/grounding.py +112 -0
- throughline/model.py +176 -0
- throughline/schema.py +237 -0
- throughline/storage.py +327 -0
- throughline/uid.py +58 -0
- throughline/validate.py +243 -0
- throughline-0.1.0.dist-info/METADATA +268 -0
- throughline-0.1.0.dist-info/RECORD +17 -0
- throughline-0.1.0.dist-info/WHEEL +5 -0
- throughline-0.1.0.dist-info/entry_points.txt +3 -0
- throughline-0.1.0.dist-info/licenses/LICENSE +201 -0
- throughline-0.1.0.dist-info/licenses/NOTICE +12 -0
- throughline-0.1.0.dist-info/top_level.txt +1 -0
throughline/__init__.py
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Copyright (c) 2026 Time Back Solutions Limited
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
"""throughline — a Git-native requirements management tool with a grounding layer.
|
|
4
|
+
|
|
5
|
+
Public surface: the pure model, the storage layer, the link-graph index, the
|
|
6
|
+
fingerprint, the validation pipeline, and the grounding operations. The ``tl``
|
|
7
|
+
CLI (``throughline.cli``) is the primary entry point.
|
|
8
|
+
"""
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
from .fingerprint import fingerprint
|
|
12
|
+
from .graph import Index
|
|
13
|
+
from .grounding import (
|
|
14
|
+
GroundingError,
|
|
15
|
+
invalidate,
|
|
16
|
+
ratify,
|
|
17
|
+
reaches_root,
|
|
18
|
+
scout_ingest,
|
|
19
|
+
)
|
|
20
|
+
from .model import Document, Item, Link, Project
|
|
21
|
+
from .schema import AttrSpec, LinkRule, Schema, SchemaError
|
|
22
|
+
from .storage import ProjectError, init_project, load_project, write_item, write_manifest
|
|
23
|
+
from .uid import UID_RE, collisions, format_uid, next_uid, parse_uid
|
|
24
|
+
from .validate import Finding, validate
|
|
25
|
+
|
|
26
|
+
__version__ = "0.1.0"
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"Document", "Item", "Link", "Project",
|
|
30
|
+
"load_project", "init_project", "write_item", "write_manifest", "ProjectError",
|
|
31
|
+
"Index", "fingerprint",
|
|
32
|
+
"UID_RE", "parse_uid", "format_uid", "next_uid", "collisions",
|
|
33
|
+
"validate", "Finding",
|
|
34
|
+
"Schema", "AttrSpec", "LinkRule", "SchemaError",
|
|
35
|
+
"GroundingError", "reaches_root", "ratify", "invalidate",
|
|
36
|
+
"scout_ingest",
|
|
37
|
+
"__version__",
|
|
38
|
+
]
|