llamactl 0.3.0a5__py3-none-any.whl → 0.3.0a6__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.
- llama_deploy/cli/__init__.py +2 -2
- llama_deploy/cli/commands/profile.py +7 -7
- {llamactl-0.3.0a5.dist-info → llamactl-0.3.0a6.dist-info}/METADATA +3 -3
- {llamactl-0.3.0a5.dist-info → llamactl-0.3.0a6.dist-info}/RECORD +6 -6
- {llamactl-0.3.0a5.dist-info → llamactl-0.3.0a6.dist-info}/WHEEL +0 -0
- {llamactl-0.3.0a5.dist-info → llamactl-0.3.0a6.dist-info}/entry_points.txt +0 -0
llama_deploy/cli/__init__.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from llama_deploy.cli.commands.deployment import deployments
|
|
2
|
-
from llama_deploy.cli.commands.profile import
|
|
2
|
+
from llama_deploy.cli.commands.profile import profiles
|
|
3
3
|
from llama_deploy.cli.commands.serve import serve
|
|
4
4
|
|
|
5
5
|
from .app import app
|
|
@@ -10,7 +10,7 @@ def main() -> None:
|
|
|
10
10
|
app()
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
__all__ = ["app", "deployments", "
|
|
13
|
+
__all__ = ["app", "deployments", "profiles", "serve"]
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
if __name__ == "__main__":
|
|
@@ -18,13 +18,13 @@ from ..textual.profile_form import create_profile_form, edit_profile_form
|
|
|
18
18
|
no_args_is_help=True,
|
|
19
19
|
)
|
|
20
20
|
@global_options
|
|
21
|
-
def
|
|
21
|
+
def profiles() -> None:
|
|
22
22
|
"""Manage profiles"""
|
|
23
23
|
pass
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
# Profile commands
|
|
27
|
-
@
|
|
27
|
+
@profiles.command("create")
|
|
28
28
|
@global_options
|
|
29
29
|
@click.option("--name", help="Profile name")
|
|
30
30
|
@click.option("--api-url", help="API server URL")
|
|
@@ -69,7 +69,7 @@ def create_profile(
|
|
|
69
69
|
raise click.Abort()
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
@
|
|
72
|
+
@profiles.command("list")
|
|
73
73
|
@global_options
|
|
74
74
|
def list_profiles() -> None:
|
|
75
75
|
"""List all profiles"""
|
|
@@ -100,7 +100,7 @@ def list_profiles() -> None:
|
|
|
100
100
|
raise click.Abort()
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
@
|
|
103
|
+
@profiles.command("switch")
|
|
104
104
|
@global_options
|
|
105
105
|
@click.argument("name", required=False)
|
|
106
106
|
def switch_profile(name: str | None) -> None:
|
|
@@ -124,7 +124,7 @@ def switch_profile(name: str | None) -> None:
|
|
|
124
124
|
raise click.Abort()
|
|
125
125
|
|
|
126
126
|
|
|
127
|
-
@
|
|
127
|
+
@profiles.command("delete")
|
|
128
128
|
@global_options
|
|
129
129
|
@click.argument("name", required=False)
|
|
130
130
|
def delete_profile(name: str | None) -> None:
|
|
@@ -150,7 +150,7 @@ def delete_profile(name: str | None) -> None:
|
|
|
150
150
|
raise click.Abort()
|
|
151
151
|
|
|
152
152
|
|
|
153
|
-
@
|
|
153
|
+
@profiles.command("edit")
|
|
154
154
|
@global_options
|
|
155
155
|
@click.argument("name", required=False)
|
|
156
156
|
def edit_profile(name: str | None) -> None:
|
|
@@ -189,7 +189,7 @@ def edit_profile(name: str | None) -> None:
|
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
# Projects commands
|
|
192
|
-
@
|
|
192
|
+
@profiles.command("list-projects")
|
|
193
193
|
@global_options
|
|
194
194
|
def list_projects() -> None:
|
|
195
195
|
"""List all projects with deployment counts"""
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: llamactl
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.0a6
|
|
4
4
|
Summary: A command-line interface for managing LlamaDeploy projects and deployments
|
|
5
5
|
Author: Adrian Lyjak
|
|
6
6
|
Author-email: Adrian Lyjak <adrianlyjak@gmail.com>
|
|
7
7
|
License: MIT
|
|
8
|
-
Requires-Dist: llama-deploy-core>=0.3.
|
|
9
|
-
Requires-Dist: llama-deploy-appserver>=0.3.
|
|
8
|
+
Requires-Dist: llama-deploy-core>=0.3.0a6,<0.4.0
|
|
9
|
+
Requires-Dist: llama-deploy-appserver>=0.3.0a6,<0.4.0
|
|
10
10
|
Requires-Dist: httpx>=0.24.0
|
|
11
11
|
Requires-Dist: rich>=13.0.0
|
|
12
12
|
Requires-Dist: questionary>=2.0.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
llama_deploy/cli/__init__.py,sha256=
|
|
1
|
+
llama_deploy/cli/__init__.py,sha256=a7ac1d286680f8b95d046ed3f116c54d6301cf524ba39f0c19b39f9c95978d22,366
|
|
2
2
|
llama_deploy/cli/app.py,sha256=5200b4ac01b0ad0c405ce841fc01a12ed32f7b6474472f00a7d6c75fe274ea45,2324
|
|
3
3
|
llama_deploy/cli/client.py,sha256=b0a1f002bd3feab188459c6e56f75a995048016d135666a17e53c4588beea9cc,6911
|
|
4
4
|
llama_deploy/cli/commands/aliased_group.py,sha256=6e2457cdea51de83bb7f02b37abb77cb9b5bff0a61bdddd66c43240b66b13f13,986
|
|
5
5
|
llama_deploy/cli/commands/deployment.py,sha256=d1aacc8c6cbe4d73b3284d04e805fb044af591f9b323cc5c4acb2c07b0ad649c,8463
|
|
6
|
-
llama_deploy/cli/commands/profile.py,sha256=
|
|
6
|
+
llama_deploy/cli/commands/profile.py,sha256=933d7a434c2684c7b47bfbd7340a09e4b34d56d20624886e15fdb4e0af97ce0b,6765
|
|
7
7
|
llama_deploy/cli/commands/serve.py,sha256=38e29816529af97bf00b8abea3ba6eb39e9a51e6b03616c2d8611b557079ddf2,1945
|
|
8
8
|
llama_deploy/cli/config.py,sha256=1759e502ee77e72cce5358a4a85296f3e4182dd1495d21a3d9f308f92690e702,6251
|
|
9
9
|
llama_deploy/cli/debug.py,sha256=e85a72d473bbe1645eb31772f7349bde703d45704166f767385895c440afc762,496
|
|
@@ -18,7 +18,7 @@ llama_deploy/cli/textual/llama_loader.py,sha256=468213a504057f21838b01f48d51f52e
|
|
|
18
18
|
llama_deploy/cli/textual/profile_form.py,sha256=6c2d55b7c0a1712796eebc8f05bb0597e955cf1dd6f96d37a6f0dce7865a2554,5984
|
|
19
19
|
llama_deploy/cli/textual/secrets_form.py,sha256=b46b0e5999cd7c92433b91dcfb560bb5f8de9e5c4e96abbad63ee68544c387be,7082
|
|
20
20
|
llama_deploy/cli/textual/styles.tcss,sha256=536cec7627d2a16dd03bf25bb9b6e4d53f1e0d18272b07ec0dc3bf76b0a7c2e0,3056
|
|
21
|
-
llamactl-0.3.
|
|
22
|
-
llamactl-0.3.
|
|
23
|
-
llamactl-0.3.
|
|
24
|
-
llamactl-0.3.
|
|
21
|
+
llamactl-0.3.0a6.dist-info/WHEEL,sha256=66530aef82d5020ef5af27ae0123c71abb9261377c5bc519376c671346b12918,79
|
|
22
|
+
llamactl-0.3.0a6.dist-info/entry_points.txt,sha256=b67e1eb64305058751a651a80f2d2268b5f7046732268421e796f64d4697f83c,52
|
|
23
|
+
llamactl-0.3.0a6.dist-info/METADATA,sha256=6bf285b99000994431ec30eb1d6a97881e6fbd2a85785ca1d36dcb25156a4abc,3166
|
|
24
|
+
llamactl-0.3.0a6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|