dsw-config 4.26.1__tar.gz → 4.27.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.
@@ -1,13 +1,11 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.3
2
2
  Name: dsw-config
3
- Version: 4.26.1
3
+ Version: 4.27.0
4
4
  Summary: Library for DSW config manipulation
5
+ Keywords: dsw,config,yaml,parser
6
+ Author: Marek Suchánek
5
7
  Author-email: Marek Suchánek <marek.suchanek@ds-wizard.org>
6
8
  License: Apache License 2.0
7
- Project-URL: Homepage, https://ds-wizard.org
8
- Project-URL: Repository, https://github.com/ds-wizard/engine-tools
9
- Project-URL: Documentation, https://guide.ds-wizard.org
10
- Keywords: dsw,config,yaml,parser
11
9
  Classifier: Development Status :: 5 - Production/Stable
12
10
  Classifier: License :: OSI Approved :: Apache Software License
13
11
  Classifier: Programming Language :: Python
@@ -15,12 +13,14 @@ Classifier: Programming Language :: Python :: 3.12
15
13
  Classifier: Programming Language :: Python :: 3.13
16
14
  Classifier: Topic :: Text Processing
17
15
  Classifier: Topic :: Utilities
18
- Requires-Python: <4,>=3.12
19
- Description-Content-Type: text/markdown
20
- License-File: LICENSE
21
- Requires-Dist: PyYAML
16
+ Requires-Dist: pyyaml
22
17
  Requires-Dist: sentry-sdk
23
- Dynamic: license-file
18
+ Requires-Python: >=3.12, <4
19
+ Project-URL: Homepage, https://ds-wizard.org
20
+ Project-URL: Repository, https://github.com/ds-wizard/engine-tools
21
+ Project-URL: Documentation, https://guide.ds-wizard.org
22
+ Project-URL: Issues, https://github.com/ds-wizard/ds-wizard/issues
23
+ Description-Content-Type: text/markdown
24
24
 
25
25
  # Data Stewardship Wizard: Config
26
26
 
@@ -1,3 +1,4 @@
1
1
  from .parser import DSWConfigParser, MissingConfigurationError
2
2
 
3
+
3
4
  __all__ = ['DSWConfigParser', 'MissingConfigurationError']
@@ -9,9 +9,9 @@ BuildInfo = namedtuple(
9
9
  )
10
10
 
11
11
  BUILD_INFO = BuildInfo(
12
- version='v4.26.1~2e1c502',
13
- built_at='2026-01-10 17:14:49Z',
14
- sha='2e1c502c11e1e2fd885a1c696488008a1ca9b343',
12
+ version='v4.27.0~8ec71bd',
13
+ built_at='2026-02-03 08:44:06Z',
14
+ sha='8ec71bd85dfbea66adedb6590f7d76ae5143bbaa',
15
15
  branch='HEAD',
16
- tag='v4.26.1',
16
+ tag='v4.27.0',
17
17
  )
@@ -2,6 +2,7 @@
2
2
  import collections
3
3
  import typing
4
4
 
5
+
5
6
  T = typing.TypeVar('T')
6
7
 
7
8
 
@@ -51,7 +52,7 @@ def cast_optional_dict(value: typing.Any) -> dict | None:
51
52
  return value
52
53
 
53
54
 
54
- class ConfigKey(typing.Generic[T]):
55
+ class ConfigKey[T]:
55
56
 
56
57
  def __init__(self, *, yaml_path: list[str],
57
58
  cast: typing.Callable[[typing.Any], T],
@@ -82,10 +83,9 @@ class ConfigKeysMeta(type):
82
83
  value = getattr(cls, attr)
83
84
  if isinstance(value, ConfigKey):
84
85
  cls._config_keys.append(value)
85
- if hasattr(value, '_config_keys'):
86
- keys = getattr(value, '_config_keys')
87
- if isinstance(keys, list):
88
- cls._config_keys.extend(keys)
86
+ keys = getattr(value, '_config_keys', None)
87
+ if keys is not None and isinstance(keys, list):
88
+ cls._config_keys.extend(keys)
89
89
  super().__init__(name, bases, namespace)
90
90
 
91
91
  def __iter__(cls):
@@ -266,8 +266,3 @@ class ConfigKeys(ConfigKeysContainer):
266
266
  logging = _LoggingKeys
267
267
  s3 = _S3Keys
268
268
  sentry = _SentryKeys
269
-
270
-
271
- if __name__ == '__main__':
272
- for key in ConfigKeys:
273
- print(str(key))
@@ -36,7 +36,7 @@ def prepare_logging(logging_cfg):
36
36
  logging.basicConfig(
37
37
  stream=sys.stdout,
38
38
  level=logging_cfg.global_level,
39
- format=logging_cfg.message_format
39
+ format=logging_cfg.message_format,
40
40
  )
41
41
  dsw_loggers = (logging.getLogger(name) for name in logger_dict
42
42
  if name.lower().startswith('dsw'))
@@ -1,11 +1,11 @@
1
1
  import dataclasses
2
2
 
3
- from .logging import prepare_logging, LOG_FILTER
3
+ from .logging import LOG_FILTER, prepare_logging
4
4
 
5
5
 
6
6
  def _config_to_string(config: object):
7
7
  lines = [f'{type(config).__name__}']
8
- fields = (f for f in config.__dict__.keys() if not f.startswith('_'))
8
+ fields = (f for f in config.__dict__ if not f.startswith('_'))
9
9
  for field in fields:
10
10
  v = str(getattr(config, field))
11
11
  t = type(getattr(config, field)).__name__
@@ -3,9 +3,8 @@ import typing
3
3
 
4
4
  import yaml
5
5
 
6
+ from . import model
6
7
  from .keys import ConfigKey, ConfigKeys
7
- from .model import GeneralConfig, SentryConfig, S3Config, \
8
- DatabaseConfig, LoggingConfig, CloudConfig, AWSConfig
9
8
 
10
9
 
11
10
  class MissingConfigurationError(Exception):
@@ -23,21 +22,21 @@ class DSWConfigParser:
23
22
  @staticmethod
24
23
  def can_read(content: str):
25
24
  try:
26
- yaml.load(content, Loader=yaml.FullLoader)
25
+ yaml.safe_load(content)
27
26
  return True
28
27
  except Exception:
29
28
  return False
30
29
 
31
30
  def read_file(self, fp: typing.IO):
32
- self.cfg = yaml.load(fp, Loader=yaml.FullLoader) or self.cfg
31
+ self.cfg = yaml.safe_load(fp) or self.cfg
33
32
 
34
33
  def read_string(self, content: str):
35
- self.cfg = yaml.load(content, Loader=yaml.FullLoader) or self.cfg
34
+ self.cfg = yaml.safe_load(content) or self.cfg
36
35
 
37
36
  def has_value_for_path(self, yaml_path: list[str]):
38
37
  x = self.cfg
39
38
  for p in yaml_path:
40
- if not hasattr(x, 'keys') or p not in x.keys():
39
+ if not hasattr(x, 'keys') or p not in x:
41
40
  return False
42
41
  x = x[p]
43
42
  return True
@@ -57,7 +56,7 @@ class DSWConfigParser:
57
56
  def get_or_default(self, key: ConfigKey):
58
57
  x: typing.Any = self.cfg
59
58
  for p in key.yaml_path:
60
- if not hasattr(x, 'keys') or p not in x.keys():
59
+ if not hasattr(x, 'keys') or p not in x:
61
60
  return key.default
62
61
  x = x[p]
63
62
  return x
@@ -71,24 +70,24 @@ class DSWConfigParser:
71
70
  return key.cast(self.get_or_default(key))
72
71
 
73
72
  def validate(self):
74
- missing = []
75
- for key in self.keys:
76
- if key.required and not self.has_value_for_key(key):
77
- missing.append('.'.join(key.yaml_path))
73
+ missing = [
74
+ '.'.join(key.yaml_path) for key in self.keys
75
+ if key.required and not self.has_value_for_key(key)
76
+ ]
78
77
  if len(missing) > 0:
79
78
  raise MissingConfigurationError(missing)
80
79
 
81
80
  @property
82
- def db(self) -> DatabaseConfig:
83
- return DatabaseConfig(
81
+ def db(self) -> model.DatabaseConfig:
82
+ return model.DatabaseConfig(
84
83
  connection_string=self.get(self.keys.database.connection_string),
85
84
  connection_timeout=self.get(self.keys.database.connection_timeout),
86
85
  queue_timeout=self.get(self.keys.database.queue_timeout),
87
86
  )
88
87
 
89
88
  @property
90
- def s3(self) -> S3Config:
91
- return S3Config(
89
+ def s3(self) -> model.S3Config:
90
+ return model.S3Config(
92
91
  url=self.get(self.keys.s3.url),
93
92
  username=self.get(self.keys.s3.username),
94
93
  password=self.get(self.keys.s3.password),
@@ -97,8 +96,8 @@ class DSWConfigParser:
97
96
  )
98
97
 
99
98
  @property
100
- def logging(self) -> LoggingConfig:
101
- return LoggingConfig(
99
+ def logging(self) -> model.LoggingConfig:
100
+ return model.LoggingConfig(
102
101
  level=self.get(self.keys.logging.level),
103
102
  global_level=self.get(self.keys.logging.global_level),
104
103
  message_format=self.get(self.keys.logging.format),
@@ -106,14 +105,14 @@ class DSWConfigParser:
106
105
  )
107
106
 
108
107
  @property
109
- def cloud(self) -> CloudConfig:
110
- return CloudConfig(
108
+ def cloud(self) -> model.CloudConfig:
109
+ return model.CloudConfig(
111
110
  multi_tenant=self.get(self.keys.cloud.enabled),
112
111
  )
113
112
 
114
113
  @property
115
- def sentry(self) -> SentryConfig:
116
- return SentryConfig(
114
+ def sentry(self) -> model.SentryConfig:
115
+ return model.SentryConfig(
117
116
  enabled=self.get(self.keys.sentry.enabled),
118
117
  workers_dsn=self.get(self.keys.sentry.worker_dsn),
119
118
  traces_sample_rate=self.get(self.keys.sentry.traces_sample_rate),
@@ -122,16 +121,16 @@ class DSWConfigParser:
122
121
  )
123
122
 
124
123
  @property
125
- def general(self) -> GeneralConfig:
126
- return GeneralConfig(
124
+ def general(self) -> model.GeneralConfig:
125
+ return model.GeneralConfig(
127
126
  environment=self.get(self.keys.general.environment),
128
127
  client_url=self.get(self.keys.general.client_url),
129
128
  secret=self.get(self.keys.general.secret),
130
129
  )
131
130
 
132
131
  @property
133
- def aws(self) -> AWSConfig:
134
- return AWSConfig(
132
+ def aws(self) -> model.AWSConfig:
133
+ return model.AWSConfig(
135
134
  access_key_id=self.get(self.keys.aws.access_key_id),
136
135
  secret_access_key=self.get(self.keys.aws.secret_access_key),
137
136
  region=self.get(self.keys.aws.region),
File without changes
@@ -2,13 +2,13 @@ import logging
2
2
  import typing
3
3
 
4
4
  import sentry_sdk
5
- from sentry_sdk.types import Event, Hint
6
5
  from sentry_sdk.integrations.logging import LoggingIntegration
6
+ from sentry_sdk.types import Event, Hint
7
7
 
8
8
  from .model import SentryConfig
9
9
 
10
10
 
11
- EventProcessor = typing.Callable[[Event, Hint], typing.Optional[Event]]
11
+ EventProcessor = typing.Callable[[Event, Hint], Event | None]
12
12
 
13
13
 
14
14
  class SentryReporter:
@@ -0,0 +1,38 @@
1
+ [project]
2
+ name = "dsw-config"
3
+ version = "4.27.0"
4
+ description = "Library for DSW config manipulation"
5
+ readme = "README.md"
6
+ keywords = ["dsw", "config", "yaml", "parser"]
7
+ license = { text = "Apache License 2.0" }
8
+ authors = [
9
+ { name = "Marek Suchánek", email = "marek.suchanek@ds-wizard.org" }
10
+ ]
11
+ classifiers = [
12
+ "Development Status :: 5 - Production/Stable",
13
+ "License :: OSI Approved :: Apache Software License",
14
+ "Programming Language :: Python",
15
+ "Programming Language :: Python :: 3.12",
16
+ "Programming Language :: Python :: 3.13",
17
+ "Topic :: Text Processing",
18
+ "Topic :: Utilities",
19
+ ]
20
+ requires-python = ">=3.12, <4"
21
+ dependencies = [
22
+ "PyYAML",
23
+ "sentry-sdk",
24
+ ]
25
+
26
+ [project.urls]
27
+ Homepage = "https://ds-wizard.org"
28
+ Repository = "https://github.com/ds-wizard/engine-tools"
29
+ Documentation = "https://guide.ds-wizard.org"
30
+ Issues = "https://github.com/ds-wizard/ds-wizard/issues"
31
+
32
+ [build-system]
33
+ requires = ["uv_build>=0.9.25,<0.10.0"]
34
+ build-backend = "uv_build"
35
+
36
+ [tool.uv.build-backend]
37
+ module-name = "dsw.config"
38
+ module-root = ""
dsw_config-4.26.1/LICENSE DELETED
@@ -1,202 +0,0 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright 2020 Marek Suchánek
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.
@@ -1,43 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: dsw-config
3
- Version: 4.26.1
4
- Summary: Library for DSW config manipulation
5
- Author-email: Marek Suchánek <marek.suchanek@ds-wizard.org>
6
- License: Apache License 2.0
7
- Project-URL: Homepage, https://ds-wizard.org
8
- Project-URL: Repository, https://github.com/ds-wizard/engine-tools
9
- Project-URL: Documentation, https://guide.ds-wizard.org
10
- Keywords: dsw,config,yaml,parser
11
- Classifier: Development Status :: 5 - Production/Stable
12
- Classifier: License :: OSI Approved :: Apache Software License
13
- Classifier: Programming Language :: Python
14
- Classifier: Programming Language :: Python :: 3.12
15
- Classifier: Programming Language :: Python :: 3.13
16
- Classifier: Topic :: Text Processing
17
- Classifier: Topic :: Utilities
18
- Requires-Python: <4,>=3.12
19
- Description-Content-Type: text/markdown
20
- License-File: LICENSE
21
- Requires-Dist: PyYAML
22
- Requires-Dist: sentry-sdk
23
- Dynamic: license-file
24
-
25
- # Data Stewardship Wizard: Config
26
-
27
- [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/ds-wizard/engine-tools)](https://github.com/ds-wizard/engine-tools/releases)
28
- [![PyPI](https://img.shields.io/pypi/v/dsw-config)](https://pypi.org/project/dsw-config/)
29
- [![LICENSE](https://img.shields.io/github/license/ds-wizard/engine-tools)](LICENSE)
30
- [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/4975/badge)](https://bestpractices.coreinfrastructure.org/projects/4975)
31
- [![Python Version](https://img.shields.io/badge/Python-%E2%89%A5%203.7-blue)](https://python.org)
32
-
33
- *Library for working with DSW configuration*
34
-
35
- ## Usage
36
-
37
- Currently, this library is intended for internal use of DSW tooling only.
38
- Enhancements for use in custom scripts are planned for future development.
39
-
40
- ## License
41
-
42
- This project is licensed under the Apache License v2.0 - see the
43
- [LICENSE](LICENSE) file for more details.
@@ -1,17 +0,0 @@
1
- LICENSE
2
- README.md
3
- pyproject.toml
4
- setup.py
5
- dsw/config/__init__.py
6
- dsw/config/build_info.py
7
- dsw/config/keys.py
8
- dsw/config/logging.py
9
- dsw/config/model.py
10
- dsw/config/parser.py
11
- dsw/config/sentry.py
12
- dsw_config.egg-info/PKG-INFO
13
- dsw_config.egg-info/SOURCES.txt
14
- dsw_config.egg-info/dependency_links.txt
15
- dsw_config.egg-info/not-zip-safe
16
- dsw_config.egg-info/requires.txt
17
- dsw_config.egg-info/top_level.txt
@@ -1,2 +0,0 @@
1
- PyYAML
2
- sentry-sdk
@@ -1 +0,0 @@
1
- dsw
@@ -1,42 +0,0 @@
1
- [build-system]
2
- requires = ['setuptools']
3
- build-backend = 'setuptools.build_meta'
4
-
5
- [project]
6
- name = 'dsw-config'
7
- version = "4.26.1"
8
- description = 'Library for DSW config manipulation'
9
- readme = 'README.md'
10
- keywords = ['dsw', 'config', 'yaml', 'parser']
11
- license = { text = 'Apache License 2.0' }
12
- authors = [
13
- { name = 'Marek Suchánek', email = 'marek.suchanek@ds-wizard.org' }
14
- ]
15
- classifiers = [
16
- 'Development Status :: 5 - Production/Stable',
17
- 'License :: OSI Approved :: Apache Software License',
18
- 'Programming Language :: Python',
19
- 'Programming Language :: Python :: 3.12',
20
- 'Programming Language :: Python :: 3.13',
21
- 'Topic :: Text Processing',
22
- 'Topic :: Utilities',
23
- ]
24
- requires-python = '>=3.12, <4'
25
- dependencies = [
26
- 'PyYAML',
27
- 'sentry-sdk',
28
- ]
29
-
30
- [project.urls]
31
- Homepage = 'https://ds-wizard.org'
32
- Repository = 'https://github.com/ds-wizard/engine-tools'
33
- Documentation = 'https://guide.ds-wizard.org'
34
-
35
- [tool.setuptools]
36
- zip-safe = false
37
-
38
- [tool.setuptools.packages.find]
39
- include = ['dsw*']
40
-
41
- [tool.distutils.bdist_wheel]
42
- universal = true
@@ -1,4 +0,0 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-
@@ -1,3 +0,0 @@
1
- import setuptools
2
-
3
- setuptools.setup()
File without changes