ae-sys-core 0.3.26__tar.gz → 0.3.27__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.
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/LICENSE.md +1 -1
- {ae_sys_core-0.3.26/ae_sys_core.egg-info → ae_sys_core-0.3.27}/PKG-INFO +21 -21
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/README.md +18 -12
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/ae/sys_core.py +11 -8
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27/ae_sys_core.egg-info}/PKG-INFO +21 -21
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/ae_sys_core.egg-info/requires.txt +0 -6
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/pyproject.toml +1 -1
- ae_sys_core-0.3.27/setup.py +86 -0
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/tests/test_sys_core.py +7 -0
- ae_sys_core-0.3.26/setup.py +0 -117
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/ae_sys_core.egg-info/SOURCES.txt +0 -0
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/ae_sys_core.egg-info/dependency_links.txt +0 -0
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/ae_sys_core.egg-info/top_level.txt +0 -0
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/ae_sys_core.egg-info/zip-safe +0 -0
- {ae_sys_core-0.3.26 → ae_sys_core-0.3.27}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ae_sys_core
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.27
|
|
4
4
|
Summary: ae namespace module portion sys_core: dynamic system configuration, initialization and connection
|
|
5
5
|
Home-page: https://gitlab.com/ae-group/ae_sys_core
|
|
6
6
|
Author: AndiEcker
|
|
@@ -16,10 +16,10 @@ Classifier: Natural Language :: English
|
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
21
|
Classifier: Typing :: Typed
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.12
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE.md
|
|
25
25
|
Requires-Dist: ae_base
|
|
@@ -29,27 +29,21 @@ Provides-Extra: dev
|
|
|
29
29
|
Requires-Dist: aedev_project_tpls; extra == "dev"
|
|
30
30
|
Requires-Dist: ae_ae; extra == "dev"
|
|
31
31
|
Requires-Dist: anybadge; extra == "dev"
|
|
32
|
-
Requires-Dist: coverage-badge; extra == "dev"
|
|
33
|
-
Requires-Dist: aedev_project_manager; extra == "dev"
|
|
34
32
|
Requires-Dist: flake8; extra == "dev"
|
|
35
33
|
Requires-Dist: mypy; extra == "dev"
|
|
36
34
|
Requires-Dist: pylint; extra == "dev"
|
|
37
35
|
Requires-Dist: pytest; extra == "dev"
|
|
38
36
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
39
|
-
Requires-Dist: pytest-django; extra == "dev"
|
|
40
37
|
Requires-Dist: typing; extra == "dev"
|
|
41
38
|
Requires-Dist: types-setuptools; extra == "dev"
|
|
42
39
|
Provides-Extra: docs
|
|
43
40
|
Provides-Extra: tests
|
|
44
41
|
Requires-Dist: anybadge; extra == "tests"
|
|
45
|
-
Requires-Dist: coverage-badge; extra == "tests"
|
|
46
|
-
Requires-Dist: aedev_project_manager; extra == "tests"
|
|
47
42
|
Requires-Dist: flake8; extra == "tests"
|
|
48
43
|
Requires-Dist: mypy; extra == "tests"
|
|
49
44
|
Requires-Dist: pylint; extra == "tests"
|
|
50
45
|
Requires-Dist: pytest; extra == "tests"
|
|
51
46
|
Requires-Dist: pytest-cov; extra == "tests"
|
|
52
|
-
Requires-Dist: pytest-django; extra == "tests"
|
|
53
47
|
Requires-Dist: typing; extra == "tests"
|
|
54
48
|
Requires-Dist: types-setuptools; extra == "tests"
|
|
55
49
|
Dynamic: author
|
|
@@ -67,15 +61,15 @@ Dynamic: requires-dist
|
|
|
67
61
|
Dynamic: requires-python
|
|
68
62
|
Dynamic: summary
|
|
69
63
|
|
|
70
|
-
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.
|
|
71
|
-
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.
|
|
72
|
-
# sys_core 0.3.
|
|
64
|
+
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.104 -->
|
|
65
|
+
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.31 -->
|
|
66
|
+
# sys_core 0.3.27
|
|
73
67
|
|
|
74
68
|
[](
|
|
75
69
|
https://gitlab.com/ae-group/ae_sys_core)
|
|
76
70
|
[](
|
|
72
|
+
https://gitlab.com/ae-group/ae_sys_core/-/tree/release0.3.27)
|
|
79
73
|
[](
|
|
80
74
|
https://pypi.org/project/ae-sys-core/#history)
|
|
81
75
|
|
|
@@ -104,8 +98,8 @@ Dynamic: summary
|
|
|
104
98
|
https://pypi.org/project/ae-sys-core/#files)
|
|
105
99
|
|
|
106
100
|
|
|
107
|
-
## installation
|
|
108
101
|
|
|
102
|
+
## installation
|
|
109
103
|
|
|
110
104
|
execute the following command to install the
|
|
111
105
|
ae.sys_core module
|
|
@@ -123,13 +117,17 @@ following command in the root folder of this repository
|
|
|
123
117
|
(ae_sys_core):
|
|
124
118
|
|
|
125
119
|
```shell script
|
|
126
|
-
pip install
|
|
120
|
+
pip install --editable .[dev]
|
|
127
121
|
```
|
|
128
122
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
123
|
+
this command installs this module portion project
|
|
124
|
+
along with the necessary tools to modify the source code,
|
|
125
|
+
run unit tests, and build documentation. to install only
|
|
126
|
+
the dependencies required for a specific task, replace
|
|
127
|
+
`dev` with one of the following:
|
|
128
|
+
|
|
129
|
+
* `tests`: for contributing to the unit test suite
|
|
130
|
+
* `docs`: for maintaining and building documentation
|
|
133
131
|
|
|
134
132
|
more detailed explanations on how to contribute to this project
|
|
135
133
|
[are available here](
|
|
@@ -138,7 +136,9 @@ https://gitlab.com/ae-group/ae_sys_core/-/blob/develop/CONTRIBUTING.rst)
|
|
|
138
136
|
|
|
139
137
|
## namespace portion documentation
|
|
140
138
|
|
|
141
|
-
|
|
139
|
+
the documentation of the source code of this portion is available at
|
|
142
140
|
[ReadTheDocs](
|
|
143
141
|
https://ae.readthedocs.io/en/latest/_autosummary/ae.sys_core.html
|
|
144
142
|
"ae_sys_core documentation").
|
|
143
|
+
|
|
144
|
+
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.
|
|
2
|
-
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.
|
|
3
|
-
# sys_core 0.3.
|
|
1
|
+
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.104 -->
|
|
2
|
+
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.31 -->
|
|
3
|
+
# sys_core 0.3.27
|
|
4
4
|
|
|
5
5
|
[](
|
|
6
6
|
https://gitlab.com/ae-group/ae_sys_core)
|
|
7
7
|
[](
|
|
9
|
+
https://gitlab.com/ae-group/ae_sys_core/-/tree/release0.3.27)
|
|
10
10
|
[](
|
|
11
11
|
https://pypi.org/project/ae-sys-core/#history)
|
|
12
12
|
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
https://pypi.org/project/ae-sys-core/#files)
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
## installation
|
|
39
38
|
|
|
39
|
+
## installation
|
|
40
40
|
|
|
41
41
|
execute the following command to install the
|
|
42
42
|
ae.sys_core module
|
|
@@ -54,13 +54,17 @@ following command in the root folder of this repository
|
|
|
54
54
|
(ae_sys_core):
|
|
55
55
|
|
|
56
56
|
```shell script
|
|
57
|
-
pip install
|
|
57
|
+
pip install --editable .[dev]
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
this command installs this module portion project
|
|
61
|
+
along with the necessary tools to modify the source code,
|
|
62
|
+
run unit tests, and build documentation. to install only
|
|
63
|
+
the dependencies required for a specific task, replace
|
|
64
|
+
`dev` with one of the following:
|
|
65
|
+
|
|
66
|
+
* `tests`: for contributing to the unit test suite
|
|
67
|
+
* `docs`: for maintaining and building documentation
|
|
64
68
|
|
|
65
69
|
more detailed explanations on how to contribute to this project
|
|
66
70
|
[are available here](
|
|
@@ -69,7 +73,9 @@ https://gitlab.com/ae-group/ae_sys_core/-/blob/develop/CONTRIBUTING.rst)
|
|
|
69
73
|
|
|
70
74
|
## namespace portion documentation
|
|
71
75
|
|
|
72
|
-
|
|
76
|
+
the documentation of the source code of this portion is available at
|
|
73
77
|
[ReadTheDocs](
|
|
74
78
|
https://ae.readthedocs.io/en/latest/_autosummary/ae.sys_core.html
|
|
75
79
|
"ae_sys_core documentation").
|
|
80
|
+
|
|
81
|
+
|
|
@@ -33,9 +33,9 @@ items of this dict are also dicts with string keys and called `system configs`.
|
|
|
33
33
|
these system configs. the following system config dict keys are supported:
|
|
34
34
|
|
|
35
35
|
* **name** : system name (long name of system-id, only used for repr() and debugging).
|
|
36
|
-
* **credential_keys** :
|
|
37
|
-
* **feature_keys** :
|
|
38
|
-
* **available_rec_types** :
|
|
36
|
+
* **credential_keys** : list[str] of credential keys needed to connect to this system.
|
|
37
|
+
* **feature_keys** : list[str] of feature keys supported by this system.
|
|
38
|
+
* **available_rec_types** : dict[str, str] of supported rec type ids and names.
|
|
39
39
|
* **connector_module** : name of the connector package.module (def=ae.sys_data_<system-id-in-lower-case>).
|
|
40
40
|
* **connector_class** : name of the connector class (def=<system-id>SysConnector),
|
|
41
41
|
|
|
@@ -60,13 +60,14 @@ import importlib
|
|
|
60
60
|
|
|
61
61
|
from abc import ABC, abstractmethod
|
|
62
62
|
from collections import OrderedDict
|
|
63
|
-
from
|
|
63
|
+
from collections.abc import Sequence
|
|
64
|
+
from typing import Any, cast
|
|
64
65
|
|
|
65
66
|
from ae.core import DEBUG_LEVEL_DISABLED, DEBUG_LEVEL_VERBOSE, HIDDEN_CREDENTIALS # type: ignore # mypy
|
|
66
67
|
from ae.console import ConsoleApp # type: ignore # mypy doesn't find namespace pkg
|
|
67
68
|
|
|
68
69
|
|
|
69
|
-
__version__ = '0.3.
|
|
70
|
+
__version__ = '0.3.27'
|
|
70
71
|
|
|
71
72
|
|
|
72
73
|
SYS_SECTION_NAME = 'aeSystems' #: section name for system config variables
|
|
@@ -94,7 +95,7 @@ class SystemBase:
|
|
|
94
95
|
|
|
95
96
|
# pylint: disable=too-many-arguments,too-many-positional-arguments
|
|
96
97
|
def __init__(self, sys_id: str, console_app: ConsoleApp, credentials: dict[str, str], features: Sequence[str] = (),
|
|
97
|
-
rec_types:
|
|
98
|
+
rec_types: dict[str, str] | None = None):
|
|
98
99
|
""" create new :class:`SystemBase` instance.
|
|
99
100
|
|
|
100
101
|
:param sys_id: unique str to identify a system (also used as prefix/suffix).
|
|
@@ -127,6 +128,7 @@ class SystemBase:
|
|
|
127
128
|
cre = self.credentials
|
|
128
129
|
ret += "&" + repr(cre if self.console_app.debug_level >= DEBUG_LEVEL_VERBOSE else
|
|
129
130
|
{k: v for k, v in cre.items() if k.lower() not in HIDDEN_CREDENTIALS})
|
|
131
|
+
# noinspection PyStringConversionWithoutDunderMethod
|
|
130
132
|
ret += "_" + repr(self.features)
|
|
131
133
|
ret += "@" + repr(self.console_app.app_name)
|
|
132
134
|
return ret
|
|
@@ -197,6 +199,7 @@ class SystemConnectorBase(ABC):
|
|
|
197
199
|
cre = self.system.credentials
|
|
198
200
|
ret += "&" + repr(cre if self.console_app.debug_level >= DEBUG_LEVEL_VERBOSE else
|
|
199
201
|
{k: v for k, v in cre.items() if k.lower() not in HIDDEN_CREDENTIALS})
|
|
202
|
+
# noinspection PyStringConversionWithoutDunderMethod
|
|
200
203
|
ret += "_" + repr(self.system.features)
|
|
201
204
|
ret += "@" + repr(self.console_app.app_name)
|
|
202
205
|
return ret
|
|
@@ -244,7 +247,7 @@ class UsedSystems(OrderedDict):
|
|
|
244
247
|
self.console_app.po(f"**** UsedSystems don't found the 'availableSystems' option or config variable"
|
|
245
248
|
f"in the config files ({self.console_app._cfg_files})")
|
|
246
249
|
return
|
|
247
|
-
self.available_systems: dict[str, dict[str,
|
|
250
|
+
self.available_systems: dict[str, dict[str, dict[str, str] | str]]
|
|
248
251
|
if selected_systems:
|
|
249
252
|
self.available_systems = {k: v for k, v in conf_systems.items() if k in selected_systems}
|
|
250
253
|
else:
|
|
@@ -296,7 +299,7 @@ class UsedSystems(OrderedDict):
|
|
|
296
299
|
"""
|
|
297
300
|
assert sys_id in self.available_systems, f"UsedSystems._add_system(): unsupported system id {sys_id}"
|
|
298
301
|
assert sys_id not in self._systems, f"UsedSystems._add_system(): system id {sys_id} already specified"
|
|
299
|
-
rec_types = cast(
|
|
302
|
+
rec_types = cast(dict[str, str] | None, self.available_systems[sys_id].get('available_rec_types'))
|
|
300
303
|
self._systems[sys_id] = SystemBase(sys_id, self.console_app, credentials, features, rec_types)
|
|
301
304
|
|
|
302
305
|
def connect(self, force_reconnect: bool = False) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ae_sys_core
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.27
|
|
4
4
|
Summary: ae namespace module portion sys_core: dynamic system configuration, initialization and connection
|
|
5
5
|
Home-page: https://gitlab.com/ae-group/ae_sys_core
|
|
6
6
|
Author: AndiEcker
|
|
@@ -16,10 +16,10 @@ Classifier: Natural Language :: English
|
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
18
|
Classifier: Programming Language :: Python :: 3
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
21
|
Classifier: Typing :: Typed
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.12
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE.md
|
|
25
25
|
Requires-Dist: ae_base
|
|
@@ -29,27 +29,21 @@ Provides-Extra: dev
|
|
|
29
29
|
Requires-Dist: aedev_project_tpls; extra == "dev"
|
|
30
30
|
Requires-Dist: ae_ae; extra == "dev"
|
|
31
31
|
Requires-Dist: anybadge; extra == "dev"
|
|
32
|
-
Requires-Dist: coverage-badge; extra == "dev"
|
|
33
|
-
Requires-Dist: aedev_project_manager; extra == "dev"
|
|
34
32
|
Requires-Dist: flake8; extra == "dev"
|
|
35
33
|
Requires-Dist: mypy; extra == "dev"
|
|
36
34
|
Requires-Dist: pylint; extra == "dev"
|
|
37
35
|
Requires-Dist: pytest; extra == "dev"
|
|
38
36
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
39
|
-
Requires-Dist: pytest-django; extra == "dev"
|
|
40
37
|
Requires-Dist: typing; extra == "dev"
|
|
41
38
|
Requires-Dist: types-setuptools; extra == "dev"
|
|
42
39
|
Provides-Extra: docs
|
|
43
40
|
Provides-Extra: tests
|
|
44
41
|
Requires-Dist: anybadge; extra == "tests"
|
|
45
|
-
Requires-Dist: coverage-badge; extra == "tests"
|
|
46
|
-
Requires-Dist: aedev_project_manager; extra == "tests"
|
|
47
42
|
Requires-Dist: flake8; extra == "tests"
|
|
48
43
|
Requires-Dist: mypy; extra == "tests"
|
|
49
44
|
Requires-Dist: pylint; extra == "tests"
|
|
50
45
|
Requires-Dist: pytest; extra == "tests"
|
|
51
46
|
Requires-Dist: pytest-cov; extra == "tests"
|
|
52
|
-
Requires-Dist: pytest-django; extra == "tests"
|
|
53
47
|
Requires-Dist: typing; extra == "tests"
|
|
54
48
|
Requires-Dist: types-setuptools; extra == "tests"
|
|
55
49
|
Dynamic: author
|
|
@@ -67,15 +61,15 @@ Dynamic: requires-dist
|
|
|
67
61
|
Dynamic: requires-python
|
|
68
62
|
Dynamic: summary
|
|
69
63
|
|
|
70
|
-
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.
|
|
71
|
-
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.
|
|
72
|
-
# sys_core 0.3.
|
|
64
|
+
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.104 -->
|
|
65
|
+
<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.31 -->
|
|
66
|
+
# sys_core 0.3.27
|
|
73
67
|
|
|
74
68
|
[](
|
|
75
69
|
https://gitlab.com/ae-group/ae_sys_core)
|
|
76
70
|
[](
|
|
72
|
+
https://gitlab.com/ae-group/ae_sys_core/-/tree/release0.3.27)
|
|
79
73
|
[](
|
|
80
74
|
https://pypi.org/project/ae-sys-core/#history)
|
|
81
75
|
|
|
@@ -104,8 +98,8 @@ Dynamic: summary
|
|
|
104
98
|
https://pypi.org/project/ae-sys-core/#files)
|
|
105
99
|
|
|
106
100
|
|
|
107
|
-
## installation
|
|
108
101
|
|
|
102
|
+
## installation
|
|
109
103
|
|
|
110
104
|
execute the following command to install the
|
|
111
105
|
ae.sys_core module
|
|
@@ -123,13 +117,17 @@ following command in the root folder of this repository
|
|
|
123
117
|
(ae_sys_core):
|
|
124
118
|
|
|
125
119
|
```shell script
|
|
126
|
-
pip install
|
|
120
|
+
pip install --editable .[dev]
|
|
127
121
|
```
|
|
128
122
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
123
|
+
this command installs this module portion project
|
|
124
|
+
along with the necessary tools to modify the source code,
|
|
125
|
+
run unit tests, and build documentation. to install only
|
|
126
|
+
the dependencies required for a specific task, replace
|
|
127
|
+
`dev` with one of the following:
|
|
128
|
+
|
|
129
|
+
* `tests`: for contributing to the unit test suite
|
|
130
|
+
* `docs`: for maintaining and building documentation
|
|
133
131
|
|
|
134
132
|
more detailed explanations on how to contribute to this project
|
|
135
133
|
[are available here](
|
|
@@ -138,7 +136,9 @@ https://gitlab.com/ae-group/ae_sys_core/-/blob/develop/CONTRIBUTING.rst)
|
|
|
138
136
|
|
|
139
137
|
## namespace portion documentation
|
|
140
138
|
|
|
141
|
-
|
|
139
|
+
the documentation of the source code of this portion is available at
|
|
142
140
|
[ReadTheDocs](
|
|
143
141
|
https://ae.readthedocs.io/en/latest/_autosummary/ae.sys_core.html
|
|
144
142
|
"ae_sys_core documentation").
|
|
143
|
+
|
|
144
|
+
|
|
@@ -6,14 +6,11 @@ ae_console
|
|
|
6
6
|
aedev_project_tpls
|
|
7
7
|
ae_ae
|
|
8
8
|
anybadge
|
|
9
|
-
coverage-badge
|
|
10
|
-
aedev_project_manager
|
|
11
9
|
flake8
|
|
12
10
|
mypy
|
|
13
11
|
pylint
|
|
14
12
|
pytest
|
|
15
13
|
pytest-cov
|
|
16
|
-
pytest-django
|
|
17
14
|
typing
|
|
18
15
|
types-setuptools
|
|
19
16
|
|
|
@@ -21,13 +18,10 @@ types-setuptools
|
|
|
21
18
|
|
|
22
19
|
[tests]
|
|
23
20
|
anybadge
|
|
24
|
-
coverage-badge
|
|
25
|
-
aedev_project_manager
|
|
26
21
|
flake8
|
|
27
22
|
mypy
|
|
28
23
|
pylint
|
|
29
24
|
pytest
|
|
30
25
|
pytest-cov
|
|
31
|
-
pytest-django
|
|
32
26
|
typing
|
|
33
27
|
types-setuptools
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.79
|
|
2
|
+
""" setup of ae namespace module portion sys_core: dynamic system configuration, initialization and connection. """
|
|
3
|
+
import sys
|
|
4
|
+
# noinspection PyUnresolvedReferences
|
|
5
|
+
import pathlib
|
|
6
|
+
# noinspection PyUnresolvedReferences
|
|
7
|
+
import setuptools
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
print("SetUp " + __name__ + ": " + sys.executable + str(sys.argv) + f" {sys.path=}")
|
|
11
|
+
|
|
12
|
+
setup_kwargs = {
|
|
13
|
+
'author': 'AndiEcker',
|
|
14
|
+
'author_email': 'aecker2@gmail.com',
|
|
15
|
+
'classifiers': [
|
|
16
|
+
'Development Status :: 3 - Alpha',
|
|
17
|
+
'Natural Language :: English',
|
|
18
|
+
'Operating System :: OS Independent',
|
|
19
|
+
'Programming Language :: Python',
|
|
20
|
+
'Programming Language :: Python :: 3',
|
|
21
|
+
'Programming Language :: Python :: 3.12',
|
|
22
|
+
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
23
|
+
'Typing :: Typed',
|
|
24
|
+
],
|
|
25
|
+
'description': 'ae namespace module portion sys_core: dynamic system configuration, initialization and connection',
|
|
26
|
+
'extras_require': {
|
|
27
|
+
'dev': [
|
|
28
|
+
'aedev_project_tpls',
|
|
29
|
+
'ae_ae',
|
|
30
|
+
'anybadge',
|
|
31
|
+
'flake8',
|
|
32
|
+
'mypy',
|
|
33
|
+
'pylint',
|
|
34
|
+
'pytest',
|
|
35
|
+
'pytest-cov',
|
|
36
|
+
'typing',
|
|
37
|
+
'types-setuptools',
|
|
38
|
+
],
|
|
39
|
+
'docs': [],
|
|
40
|
+
'tests': [
|
|
41
|
+
'anybadge',
|
|
42
|
+
'flake8',
|
|
43
|
+
'mypy',
|
|
44
|
+
'pylint',
|
|
45
|
+
'pytest',
|
|
46
|
+
'pytest-cov',
|
|
47
|
+
'typing',
|
|
48
|
+
'types-setuptools',
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
'install_requires': [
|
|
52
|
+
'ae_base',
|
|
53
|
+
'ae_core',
|
|
54
|
+
'ae_console',
|
|
55
|
+
],
|
|
56
|
+
'keywords': [
|
|
57
|
+
'configuration',
|
|
58
|
+
'development',
|
|
59
|
+
'environment',
|
|
60
|
+
'productivity',
|
|
61
|
+
],
|
|
62
|
+
'license': 'GPL-3.0-or-later',
|
|
63
|
+
'long_description': (pathlib.Path(__file__).parent / 'README.md').read_text(encoding='utf-8'),
|
|
64
|
+
'long_description_content_type': 'text/markdown',
|
|
65
|
+
'name': 'ae_sys_core',
|
|
66
|
+
'package_data': {
|
|
67
|
+
'': [],
|
|
68
|
+
},
|
|
69
|
+
'packages': [
|
|
70
|
+
'ae',
|
|
71
|
+
],
|
|
72
|
+
'project_urls': {
|
|
73
|
+
'Bug Tracker': 'https://gitlab.com/ae-group/ae_sys_core/-/issues',
|
|
74
|
+
'Documentation': 'https://ae.readthedocs.io/en/latest/_autosummary/ae.sys_core.html',
|
|
75
|
+
'Repository': 'https://gitlab.com/ae-group/ae_sys_core',
|
|
76
|
+
'Source': 'https://ae.readthedocs.io/en/latest/_modules/ae/sys_core.html',
|
|
77
|
+
},
|
|
78
|
+
'python_requires': '>=3.12',
|
|
79
|
+
'url': 'https://gitlab.com/ae-group/ae_sys_core',
|
|
80
|
+
'version': '0.3.27',
|
|
81
|
+
'zip_safe': True,
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if __name__ == "__main__":
|
|
85
|
+
setuptools.setup(**setup_kwargs)
|
|
86
|
+
pass
|
|
@@ -7,6 +7,7 @@ from ae.base import CFG_EXT
|
|
|
7
7
|
from ae.core import DEBUG_LEVEL_DISABLED, DEBUG_LEVEL_ENABLED, DEBUG_LEVEL_VERBOSE
|
|
8
8
|
from ae.console import ConsoleApp
|
|
9
9
|
|
|
10
|
+
|
|
10
11
|
from ae.sys_core import SystemBase, SystemConnectorBase, UsedSystems
|
|
11
12
|
|
|
12
13
|
|
|
@@ -98,6 +99,7 @@ class TestSystemBase:
|
|
|
98
99
|
|
|
99
100
|
console_app_env.debug_level = DEBUG_LEVEL_ENABLED
|
|
100
101
|
assert SS in repr(s)
|
|
102
|
+
assert usr
|
|
101
103
|
assert usr in repr(s)
|
|
102
104
|
assert pwd not in repr(s)
|
|
103
105
|
assert FEATURE1 in repr(s)
|
|
@@ -108,8 +110,10 @@ class TestSystemBase:
|
|
|
108
110
|
s.console_app.debug_level = DEBUG_LEVEL_VERBOSE
|
|
109
111
|
usr = s.credentials.get(CRED_KEY_USR)
|
|
110
112
|
assert SS in repr(s)
|
|
113
|
+
assert usr
|
|
111
114
|
assert usr in repr(s)
|
|
112
115
|
assert FEATURE1 in repr(s)
|
|
116
|
+
# noinspection PyStringConversionWithoutDunderMethod
|
|
113
117
|
assert repr(s.features) in repr(s)
|
|
114
118
|
assert console_app_env.app_name in repr(s)
|
|
115
119
|
|
|
@@ -122,6 +126,7 @@ class TestSystemBase:
|
|
|
122
126
|
|
|
123
127
|
console_app_env.debug_level = DEBUG_LEVEL_VERBOSE
|
|
124
128
|
assert SS in repr(s)
|
|
129
|
+
assert usr and pwd
|
|
125
130
|
assert usr in repr(s)
|
|
126
131
|
assert pwd in repr(s)
|
|
127
132
|
assert FEATURE1 in repr(s)
|
|
@@ -226,8 +231,10 @@ class TestSystemConnectionBase:
|
|
|
226
231
|
sc = SystemConn(s)
|
|
227
232
|
usr = sc.system.credentials.get(CRED_KEY_USR)
|
|
228
233
|
assert SS in repr(sc)
|
|
234
|
+
assert usr
|
|
229
235
|
assert usr in repr(sc)
|
|
230
236
|
assert FEATURE1 in repr(sc)
|
|
237
|
+
# noinspection PyStringConversionWithoutDunderMethod
|
|
231
238
|
assert repr(s.features) in repr(sc)
|
|
232
239
|
assert console_app_env.app_name in repr(sc)
|
|
233
240
|
|
ae_sys_core-0.3.26/setup.py
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
# THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.project_tpls v0.3.59
|
|
2
|
-
""" setup of ae namespace module portion sys_core: dynamic system configuration, initialization and connection. """
|
|
3
|
-
# noinspection PyUnresolvedReferences
|
|
4
|
-
import sys
|
|
5
|
-
print(f"SetUp {__name__=} {sys.executable=} {sys.argv=} {sys.path=}")
|
|
6
|
-
|
|
7
|
-
# noinspection PyUnresolvedReferences
|
|
8
|
-
import setuptools
|
|
9
|
-
|
|
10
|
-
setup_kwargs = {
|
|
11
|
-
'author': 'AndiEcker',
|
|
12
|
-
'author_email': 'aecker2@gmail.com',
|
|
13
|
-
'classifiers': [ 'Development Status :: 3 - Alpha', 'Natural Language :: English', 'Operating System :: OS Independent',
|
|
14
|
-
'Programming Language :: Python', 'Programming Language :: Python :: 3',
|
|
15
|
-
'Programming Language :: Python :: 3.9', 'Topic :: Software Development :: Libraries :: Python Modules',
|
|
16
|
-
'Typing :: Typed'],
|
|
17
|
-
'description': 'ae namespace module portion sys_core: dynamic system configuration, initialization and connection',
|
|
18
|
-
'extras_require': { 'dev': [ 'aedev_project_tpls', 'ae_ae', 'anybadge', 'coverage-badge', 'aedev_project_manager', 'flake8',
|
|
19
|
-
'mypy', 'pylint', 'pytest', 'pytest-cov', 'pytest-django', 'typing', 'types-setuptools'],
|
|
20
|
-
'docs': [],
|
|
21
|
-
'tests': [ 'anybadge', 'coverage-badge', 'aedev_project_manager', 'flake8', 'mypy', 'pylint', 'pytest',
|
|
22
|
-
'pytest-cov', 'pytest-django', 'typing', 'types-setuptools']},
|
|
23
|
-
'install_requires': ['ae_base', 'ae_core', 'ae_console'],
|
|
24
|
-
'keywords': ['configuration', 'development', 'environment', 'productivity'],
|
|
25
|
-
'license': 'GPL-3.0-or-later',
|
|
26
|
-
'long_description': ('<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae v0.3.101 -->\n'
|
|
27
|
-
'<!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.namespace_root_tpls v0.3.22 -->\n'
|
|
28
|
-
'# sys_core 0.3.26\n'
|
|
29
|
-
'\n'
|
|
30
|
-
'[](\n'
|
|
31
|
-
' https://gitlab.com/ae-group/ae_sys_core)\n'
|
|
32
|
-
'[](\n'
|
|
34
|
-
' https://gitlab.com/ae-group/ae_sys_core/-/tree/release0.3.26)\n'
|
|
35
|
-
'[](\n'
|
|
36
|
-
' https://pypi.org/project/ae-sys-core/#history)\n'
|
|
37
|
-
'\n'
|
|
38
|
-
'>ae namespace module portion sys_core: dynamic system configuration, initialization and connection.\n'
|
|
39
|
-
'\n'
|
|
40
|
-
'[](\n'
|
|
41
|
-
' https://ae-group.gitlab.io/ae_sys_core/coverage/index.html)\n'
|
|
42
|
-
'[](\n'
|
|
43
|
-
' https://ae-group.gitlab.io/ae_sys_core/lineprecision.txt)\n'
|
|
44
|
-
'[](\n'
|
|
45
|
-
' https://ae-group.gitlab.io/ae_sys_core/pylint.log)\n'
|
|
46
|
-
'\n'
|
|
47
|
-
'[](\n'
|
|
48
|
-
' https://gitlab.com/ae-group/ae_sys_core/)\n'
|
|
49
|
-
'[](\n'
|
|
50
|
-
' https://gitlab.com/ae-group/ae_sys_core/)\n'
|
|
51
|
-
'[](\n'
|
|
52
|
-
' https://gitlab.com/ae-group/ae_sys_core/)\n'
|
|
53
|
-
'[](\n'
|
|
54
|
-
' https://pypi.org/project/ae-sys-core/)\n'
|
|
55
|
-
'[](\n'
|
|
56
|
-
' https://gitlab.com/ae-group/ae_sys_core/-/blob/develop/LICENSE.md)\n'
|
|
57
|
-
'[](\n'
|
|
58
|
-
' https://libraries.io/pypi/ae-sys-core)\n'
|
|
59
|
-
'[](\n'
|
|
60
|
-
' https://pypi.org/project/ae-sys-core/#files)\n'
|
|
61
|
-
'\n'
|
|
62
|
-
'\n'
|
|
63
|
-
'## installation\n'
|
|
64
|
-
'\n'
|
|
65
|
-
'\n'
|
|
66
|
-
'execute the following command to install the\n'
|
|
67
|
-
'ae.sys_core module\n'
|
|
68
|
-
'in the currently active virtual environment:\n'
|
|
69
|
-
' \n'
|
|
70
|
-
'```shell script\n'
|
|
71
|
-
'pip install ae-sys-core\n'
|
|
72
|
-
'```\n'
|
|
73
|
-
'\n'
|
|
74
|
-
'if you want to contribute to this portion then first fork\n'
|
|
75
|
-
'[the ae_sys_core repository at GitLab](\n'
|
|
76
|
-
'https://gitlab.com/ae-group/ae_sys_core "ae.sys_core code repository").\n'
|
|
77
|
-
'after that pull it to your machine and finally execute the\n'
|
|
78
|
-
'following command in the root folder of this repository\n'
|
|
79
|
-
'(ae_sys_core):\n'
|
|
80
|
-
'\n'
|
|
81
|
-
'```shell script\n'
|
|
82
|
-
'pip install -e .[dev]\n'
|
|
83
|
-
'```\n'
|
|
84
|
-
'\n'
|
|
85
|
-
'the last command will install this module portion, along with the tools you need\n'
|
|
86
|
-
'to develop and run tests or to extend the portion documentation. to contribute only to the unit tests or to the\n'
|
|
87
|
-
'documentation of this portion, replace the setup extras key `dev` in the above command with `tests` or `docs`\n'
|
|
88
|
-
'respectively.\n'
|
|
89
|
-
'\n'
|
|
90
|
-
'more detailed explanations on how to contribute to this project\n'
|
|
91
|
-
'[are available here](\n'
|
|
92
|
-
'https://gitlab.com/ae-group/ae_sys_core/-/blob/develop/CONTRIBUTING.rst)\n'
|
|
93
|
-
'\n'
|
|
94
|
-
'\n'
|
|
95
|
-
'## namespace portion documentation\n'
|
|
96
|
-
'\n'
|
|
97
|
-
'information on the features and usage of this portion are available at\n'
|
|
98
|
-
'[ReadTheDocs](\n'
|
|
99
|
-
'https://ae.readthedocs.io/en/latest/_autosummary/ae.sys_core.html\n'
|
|
100
|
-
'"ae_sys_core documentation").\n'),
|
|
101
|
-
'long_description_content_type': 'text/markdown',
|
|
102
|
-
'name': 'ae_sys_core',
|
|
103
|
-
'package_data': {'': []},
|
|
104
|
-
'packages': ['ae'],
|
|
105
|
-
'project_urls': { 'Bug Tracker': 'https://gitlab.com/ae-group/ae_sys_core/-/issues',
|
|
106
|
-
'Documentation': 'https://ae.readthedocs.io/en/latest/_autosummary/ae.sys_core.html',
|
|
107
|
-
'Repository': 'https://gitlab.com/ae-group/ae_sys_core',
|
|
108
|
-
'Source': 'https://ae.readthedocs.io/en/latest/_modules/ae/sys_core.html'},
|
|
109
|
-
'python_requires': '>=3.9',
|
|
110
|
-
'url': 'https://gitlab.com/ae-group/ae_sys_core',
|
|
111
|
-
'version': '0.3.26',
|
|
112
|
-
'zip_safe': True,
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
if __name__ == "__main__":
|
|
116
|
-
setuptools.setup(**setup_kwargs)
|
|
117
|
-
pass
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|