cosma 0.1.3__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.
- cosma/__init__.py +17 -0
- cosma/__main__.py +4 -0
- cosma-0.1.3.dist-info/METADATA +24 -0
- cosma-0.1.3.dist-info/RECORD +6 -0
- cosma-0.1.3.dist-info/WHEEL +4 -0
- cosma-0.1.3.dist-info/entry_points.txt +3 -0
cosma/__init__.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import click
|
|
2
|
+
|
|
3
|
+
from cosma_backend import serve as serve_backend
|
|
4
|
+
from cosma_tui import start_tui
|
|
5
|
+
|
|
6
|
+
@click.group(invoke_without_command=True)
|
|
7
|
+
@click.pass_context
|
|
8
|
+
def cli(ctx: click.Context):
|
|
9
|
+
if ctx.invoked_subcommand is None:
|
|
10
|
+
result = start_tui()
|
|
11
|
+
if result:
|
|
12
|
+
print(result)
|
|
13
|
+
|
|
14
|
+
@cli.command()
|
|
15
|
+
def serve():
|
|
16
|
+
serve_backend()
|
|
17
|
+
|
cosma/__main__.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: cosma
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Requires-Dist: cosma-backend
|
|
5
|
+
Requires-Dist: cosma-tui
|
|
6
|
+
Requires-Python: >=3.12
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
|
|
9
|
+
# flow
|
|
10
|
+
|
|
11
|
+
Core packages for flow.
|
|
12
|
+
|
|
13
|
+
## Running
|
|
14
|
+
|
|
15
|
+
To start the backend:
|
|
16
|
+
|
|
17
|
+
```py
|
|
18
|
+
uv run flow serve
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
To start the TUI:
|
|
22
|
+
```py
|
|
23
|
+
uv run flow
|
|
24
|
+
```
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
cosma/__init__.py,sha256=vmoVEdQvoSybPWRuattSW6ew_q9Wva61s1ha4PExkOU,354
|
|
2
|
+
cosma/__main__.py,sha256=k9CgQa-3xvfVcIK_ja2WKsKtwjQma9kYJyQY7LagNe4,56
|
|
3
|
+
cosma-0.1.3.dist-info/WHEEL,sha256=DpNsHFUm_gffZe1FgzmqwuqiuPC6Y-uBCzibcJcdupM,78
|
|
4
|
+
cosma-0.1.3.dist-info/entry_points.txt,sha256=kKH2BCPkAj67Olc9YUYhGrz17zP_QV4UXWLjABZxX3Q,37
|
|
5
|
+
cosma-0.1.3.dist-info/METADATA,sha256=-1uqxFKOzJw-EPIIHT7q2iA8J6OwTGNZzagaGD-AP0U,305
|
|
6
|
+
cosma-0.1.3.dist-info/RECORD,,
|