gaard-client 0.2.8__tar.gz → 0.2.10__tar.gz
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.
- {gaard_client-0.2.8 → gaard_client-0.2.10}/PKG-INFO +2 -2
- {gaard_client-0.2.8 → gaard_client-0.2.10}/pyproject.toml +8 -2
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client/cli_commands.py +2 -2
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client/client-web/assets/main.js +439 -36
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client/client-web/assets/styles.css +16 -2
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client/main.py +216 -51
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client.egg-info/PKG-INFO +2 -2
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client.egg-info/requires.txt +1 -1
- {gaard_client-0.2.8 → gaard_client-0.2.10}/tests/test_cli.py +3 -2
- {gaard_client-0.2.8 → gaard_client-0.2.10}/tests/test_client_app.py +223 -79
- {gaard_client-0.2.8 → gaard_client-0.2.10}/README.md +0 -0
- {gaard_client-0.2.8 → gaard_client-0.2.10}/setup.cfg +0 -0
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client/__init__.py +0 -0
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client/cli.py +0 -0
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client/client-web/assets/getgaard.svg +0 -0
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client/client-web/index.html +0 -0
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client.egg-info/SOURCES.txt +0 -0
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client.egg-info/dependency_links.txt +0 -0
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client.egg-info/entry_points.txt +0 -0
- {gaard_client-0.2.8 → gaard_client-0.2.10}/src/gaard_client.egg-info/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gaard-client
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.10
|
|
4
4
|
Summary: GAARD frontend web services providing client interface
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
|
-
Requires-Dist: gaard-plugin-api<0.3.0,>=0.2.
|
|
7
|
+
Requires-Dist: gaard-plugin-api<0.3.0,>=0.2.10
|
|
8
8
|
Requires-Dist: fastapi>=0.111.0
|
|
9
9
|
Requires-Dist: uvicorn[standard]>=0.30.0
|
|
10
10
|
Requires-Dist: pydantic>=2.7.0
|
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "gaard-client"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.10"
|
|
8
8
|
description = "GAARD frontend web services providing client interface"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
11
11
|
|
|
12
12
|
dependencies = [
|
|
13
|
-
"gaard-plugin-api>=0.2.
|
|
13
|
+
"gaard-plugin-api>=0.2.10,<0.3.0",
|
|
14
14
|
"fastapi>=0.111.0",
|
|
15
15
|
"uvicorn[standard]>=0.30.0",
|
|
16
16
|
"pydantic>=2.7.0",
|
|
@@ -46,5 +46,11 @@ gaard_client = [
|
|
|
46
46
|
line-length = 100
|
|
47
47
|
target-version = "py311"
|
|
48
48
|
|
|
49
|
+
[tool.ruff.flake8-bugbear]
|
|
50
|
+
extend-immutable-calls = ["fastapi.Depends", "fastapi.File", "fastapi.param_functions.Depends", "fastapi.param_functions.File", "fastapi.params.Depends", "fastapi.params.File"]
|
|
51
|
+
|
|
52
|
+
[tool.ruff.lint.per-file-ignores]
|
|
53
|
+
"tests/*.py" = ["PYI034", "PYI036"]
|
|
54
|
+
|
|
49
55
|
[tool.pytest.ini_options]
|
|
50
56
|
testpaths = ["tests"]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
import os
|
|
3
|
+
import os as os
|
|
4
4
|
from argparse import ArgumentParser, ArgumentTypeError, Namespace, _SubParsersAction
|
|
5
5
|
from urllib.parse import urlparse
|
|
6
6
|
|
|
7
|
-
import uvicorn
|
|
7
|
+
import uvicorn as uvicorn
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
def normalize_api_url(value: str) -> str:
|