basemode-loom 0.1.1__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.
- basemode_loom/__init__.py +24 -0
- basemode_loom/cli.py +990 -0
- basemode_loom/display.py +326 -0
- basemode_loom/loom_formats.py +239 -0
- basemode_loom/naming.py +80 -0
- basemode_loom/session.py +494 -0
- basemode_loom/stats.py +343 -0
- basemode_loom/store.py +506 -0
- basemode_loom/tui/__init__.py +0 -0
- basemode_loom/tui/app.py +21 -0
- basemode_loom/tui/app.tcss +125 -0
- basemode_loom/tui/screens/__init__.py +0 -0
- basemode_loom/tui/screens/confirm.py +36 -0
- basemode_loom/tui/screens/int_input.py +35 -0
- basemode_loom/tui/screens/loom.py +288 -0
- basemode_loom/tui/screens/model_picker.py +57 -0
- basemode_loom/tui/screens/stats.py +99 -0
- basemode_loom/tui/screens/tree_picker.py +93 -0
- basemode_loom/tui/widgets/__init__.py +0 -0
- basemode_loom/tui/widgets/loom_view.py +88 -0
- basemode_loom/tui/widgets/stream_view.py +78 -0
- basemode_loom/tui/widgets/tree_picker.py +146 -0
- basemode_loom-0.1.1.dist-info/METADATA +7 -0
- basemode_loom-0.1.1.dist-info/RECORD +26 -0
- basemode_loom-0.1.1.dist-info/WHEEL +4 -0
- basemode_loom-0.1.1.dist-info/entry_points.txt +2 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Persistent branching exploration for basemode."""
|
|
2
|
+
|
|
3
|
+
__all__ = [
|
|
4
|
+
"GenerationStore",
|
|
5
|
+
"LoomSession",
|
|
6
|
+
"Node",
|
|
7
|
+
"default_db_path",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def __getattr__(name: str):
|
|
12
|
+
if name in {"GenerationStore", "Node", "default_db_path"}:
|
|
13
|
+
from .store import GenerationStore, Node, default_db_path
|
|
14
|
+
|
|
15
|
+
return {
|
|
16
|
+
"GenerationStore": GenerationStore,
|
|
17
|
+
"Node": Node,
|
|
18
|
+
"default_db_path": default_db_path,
|
|
19
|
+
}[name]
|
|
20
|
+
if name == "LoomSession":
|
|
21
|
+
from .session import LoomSession
|
|
22
|
+
|
|
23
|
+
return LoomSession
|
|
24
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|