dhis2w-cli 1.18.0__tar.gz → 1.19.0__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.
- {dhis2w_cli-1.18.0 → dhis2w_cli-1.19.0}/PKG-INFO +5 -5
- {dhis2w_cli-1.18.0 → dhis2w_cli-1.19.0}/pyproject.toml +5 -5
- {dhis2w_cli-1.18.0 → dhis2w_cli-1.19.0}/pyproject.toml.orig +5 -5
- {dhis2w_cli-1.18.0 → dhis2w_cli-1.19.0}/src/dhis2w_cli/main.py +2 -3
- {dhis2w_cli-1.18.0 → dhis2w_cli-1.19.0}/LICENSE +0 -0
- {dhis2w_cli-1.18.0 → dhis2w_cli-1.19.0}/README.md +0 -0
- {dhis2w_cli-1.18.0 → dhis2w_cli-1.19.0}/src/dhis2w_cli/__init__.py +0 -0
- {dhis2w_cli-1.18.0 → dhis2w_cli-1.19.0}/src/dhis2w_cli/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dhis2w-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.19.0
|
|
4
4
|
Summary: d2w command-line interface (Typer) — mounts plugins from dhis2w-core.
|
|
5
5
|
Author: Morten Hansen
|
|
6
6
|
Author-email: Morten Hansen <morten@winterop.com>
|
|
@@ -11,12 +11,12 @@ Classifier: Intended Audience :: Developers
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
13
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
14
|
-
Requires-Dist: dhis2w-core>=1.
|
|
14
|
+
Requires-Dist: dhis2w-core>=1.19.0,<2.0
|
|
15
15
|
Requires-Dist: typer>=0.27.1
|
|
16
16
|
Requires-Dist: rich>=15
|
|
17
|
-
Requires-Dist: dhis2w-fhir>=1.
|
|
18
|
-
Requires-Dist: dhis2w-browser>=1.
|
|
19
|
-
Requires-Dist: dhis2w-fhir-serve>=1.
|
|
17
|
+
Requires-Dist: dhis2w-fhir>=1.19.0,<2.0
|
|
18
|
+
Requires-Dist: dhis2w-browser>=1.19.0,<2.0 ; extra == 'browser'
|
|
19
|
+
Requires-Dist: dhis2w-fhir-serve>=1.19.0,<2.0 ; extra == 'serve'
|
|
20
20
|
Requires-Python: >=3.13
|
|
21
21
|
Project-URL: Homepage, https://github.com/winterop-com/dhis2w
|
|
22
22
|
Project-URL: Documentation, https://winterop-com.github.io/dhis2w/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dhis2w-cli"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.19.0"
|
|
4
4
|
description = "d2w command-line interface (Typer) — mounts plugins from dhis2w-core."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.13"
|
|
@@ -14,10 +14,10 @@ classifiers = [
|
|
|
14
14
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
15
15
|
]
|
|
16
16
|
dependencies = [
|
|
17
|
-
"dhis2w-core>=1.
|
|
17
|
+
"dhis2w-core>=1.19.0,<2.0",
|
|
18
18
|
"typer>=0.27.1",
|
|
19
19
|
"rich>=15",
|
|
20
|
-
"dhis2w-fhir>=1.
|
|
20
|
+
"dhis2w-fhir>=1.19.0,<2.0",
|
|
21
21
|
]
|
|
22
22
|
|
|
23
23
|
[[project.authors]]
|
|
@@ -25,8 +25,8 @@ name = "Morten Hansen"
|
|
|
25
25
|
email = "morten@winterop.com"
|
|
26
26
|
|
|
27
27
|
[project.optional-dependencies]
|
|
28
|
-
browser = ["dhis2w-browser>=1.
|
|
29
|
-
serve = ["dhis2w-fhir-serve>=1.
|
|
28
|
+
browser = ["dhis2w-browser>=1.19.0,<2.0"]
|
|
29
|
+
serve = ["dhis2w-fhir-serve>=1.19.0,<2.0"]
|
|
30
30
|
|
|
31
31
|
[project.scripts]
|
|
32
32
|
d2w = "dhis2w_cli.main:main"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dhis2w-cli"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.19.0"
|
|
4
4
|
description = "d2w command-line interface (Typer) — mounts plugins from dhis2w-core."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [{ name = "Morten Hansen", email = "morten@winterop.com" }]
|
|
@@ -15,16 +15,16 @@ classifiers = [
|
|
|
15
15
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
16
16
|
]
|
|
17
17
|
dependencies = [
|
|
18
|
-
"dhis2w-core>=1.
|
|
18
|
+
"dhis2w-core>=1.19.0,<2.0",
|
|
19
19
|
"typer>=0.27.1",
|
|
20
20
|
"rich>=15",
|
|
21
|
-
"dhis2w-fhir>=1.
|
|
21
|
+
"dhis2w-fhir>=1.19.0,<2.0",
|
|
22
22
|
]
|
|
23
23
|
|
|
24
24
|
[project.optional-dependencies]
|
|
25
|
-
browser = ["dhis2w-browser>=1.
|
|
25
|
+
browser = ["dhis2w-browser>=1.19.0,<2.0"]
|
|
26
26
|
serve = [
|
|
27
|
-
"dhis2w-fhir-serve>=1.
|
|
27
|
+
"dhis2w-fhir-serve>=1.19.0,<2.0",
|
|
28
28
|
]
|
|
29
29
|
|
|
30
30
|
[project.scripts]
|
|
@@ -11,7 +11,7 @@ from typing import Annotated
|
|
|
11
11
|
import typer
|
|
12
12
|
from dhis2w_core.cli_errors import run_app
|
|
13
13
|
from dhis2w_core.cli_output import JSON_OUTPUT
|
|
14
|
-
from dhis2w_core.plugin import DEFAULT_VERSION_KEY,
|
|
14
|
+
from dhis2w_core.plugin import DEFAULT_VERSION_KEY, load_plugin_host, resolve_startup_version
|
|
15
15
|
from dhis2w_core.rich_console import STDERR_CONSOLE
|
|
16
16
|
from rich.logging import RichHandler
|
|
17
17
|
|
|
@@ -196,8 +196,7 @@ def build_app() -> typer.Typer:
|
|
|
196
196
|
# invocation must not leak into the next one.
|
|
197
197
|
JSON_OUTPUT.set(json_)
|
|
198
198
|
|
|
199
|
-
|
|
200
|
-
plugin.register_cli(app)
|
|
199
|
+
load_plugin_host(resolve_startup_version()).mount_cli(app)
|
|
201
200
|
return app
|
|
202
201
|
|
|
203
202
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|