otlmow-template 1.0__tar.gz → 1.2__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.
- {otlmow_template-1.0 → otlmow_template-1.2}/PKG-INFO +8 -3
- {otlmow_template-1.0 → otlmow_template-1.2}/otlmow_template/SubsetTemplateCreator.py +4 -4
- {otlmow_template-1.0 → otlmow_template-1.2}/otlmow_template.egg-info/PKG-INFO +8 -3
- otlmow_template-1.2/otlmow_template.egg-info/requires.txt +8 -0
- {otlmow_template-1.0 → otlmow_template-1.2}/pyproject.toml +11 -3
- otlmow_template-1.0/otlmow_template.egg-info/requires.txt +0 -2
- {otlmow_template-1.0 → otlmow_template-1.2}/LICENSE +0 -0
- {otlmow_template-1.0 → otlmow_template-1.2}/README.md +0 -0
- {otlmow_template-1.0 → otlmow_template-1.2}/otlmow_template/Exceptions/MissingTypeUriException.py +0 -0
- {otlmow_template-1.0 → otlmow_template-1.2}/otlmow_template.egg-info/SOURCES.txt +0 -0
- {otlmow_template-1.0 → otlmow_template-1.2}/otlmow_template.egg-info/dependency_links.txt +0 -0
- {otlmow_template-1.0 → otlmow_template-1.2}/otlmow_template.egg-info/top_level.txt +0 -0
- {otlmow_template-1.0 → otlmow_template-1.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: otlmow_template
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2
|
|
4
4
|
Author-email: David Vlaminck <david.vlaminck@mow.vlaanderen.be>, Jasper Berton <jasperberton1@telenet.be>
|
|
5
5
|
License: GNU GENERAL PUBLIC LICENSE
|
|
6
6
|
Version 3, 29 June 2007
|
|
@@ -697,8 +697,13 @@ Classifier: Topic :: Software Development :: Quality Assurance
|
|
|
697
697
|
Requires-Python: >=3.9
|
|
698
698
|
Description-Content-Type: text/markdown
|
|
699
699
|
License-File: LICENSE
|
|
700
|
-
Requires-Dist: otlmow-converter>=1.
|
|
701
|
-
Requires-Dist: otlmow-modelbuilder>=0.
|
|
700
|
+
Requires-Dist: otlmow-converter>=1.11
|
|
701
|
+
Requires-Dist: otlmow-modelbuilder>=0.27
|
|
702
|
+
Provides-Extra: test
|
|
703
|
+
Requires-Dist: pytest; extra == "test"
|
|
704
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
705
|
+
Requires-Dist: pytest-subtests; extra == "test"
|
|
706
|
+
Requires-Dist: pytest-timeout; extra == "test"
|
|
702
707
|
Dynamic: license-file
|
|
703
708
|
|
|
704
709
|
# OTLMOW-Template
|
|
@@ -70,7 +70,7 @@ class SubsetTemplateCreator:
|
|
|
70
70
|
add_deprecated: bool = False,
|
|
71
71
|
generate_choice_list: bool = True,
|
|
72
72
|
split_per_type: bool = True,
|
|
73
|
-
model_directory: Path = None):
|
|
73
|
+
model_directory: Path = None, **kwargs):
|
|
74
74
|
"""
|
|
75
75
|
Generate a template from a subset file, async version.
|
|
76
76
|
Await this function!
|
|
@@ -98,7 +98,7 @@ class SubsetTemplateCreator:
|
|
|
98
98
|
|
|
99
99
|
# write the file
|
|
100
100
|
await OtlmowConverter.from_objects_to_file_async(
|
|
101
|
-
file_path=template_file_path, sequence_of_objects=objects, split_per_type=split_per_type)
|
|
101
|
+
file_path=template_file_path, sequence_of_objects=objects, split_per_type=split_per_type, **kwargs)
|
|
102
102
|
|
|
103
103
|
# alter the file if needed
|
|
104
104
|
extension = template_file_path.suffix.lower()
|
|
@@ -126,7 +126,7 @@ class SubsetTemplateCreator:
|
|
|
126
126
|
add_deprecated: bool = False,
|
|
127
127
|
generate_choice_list: bool = True,
|
|
128
128
|
split_per_type: bool = True,
|
|
129
|
-
model_directory: Path = None):
|
|
129
|
+
model_directory: Path = None, **kwargs):
|
|
130
130
|
"""
|
|
131
131
|
Generate a template from a subset file.
|
|
132
132
|
|
|
@@ -154,7 +154,7 @@ class SubsetTemplateCreator:
|
|
|
154
154
|
# write the file
|
|
155
155
|
OtlmowConverter.from_objects_to_file(
|
|
156
156
|
file_path=template_file_path, sequence_of_objects=objects, split_per_type=split_per_type,
|
|
157
|
-
model_directory=model_directory)
|
|
157
|
+
model_directory=model_directory, **kwargs)
|
|
158
158
|
|
|
159
159
|
# alter the file if needed
|
|
160
160
|
extension = template_file_path.suffix.lower()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: otlmow_template
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2
|
|
4
4
|
Author-email: David Vlaminck <david.vlaminck@mow.vlaanderen.be>, Jasper Berton <jasperberton1@telenet.be>
|
|
5
5
|
License: GNU GENERAL PUBLIC LICENSE
|
|
6
6
|
Version 3, 29 June 2007
|
|
@@ -697,8 +697,13 @@ Classifier: Topic :: Software Development :: Quality Assurance
|
|
|
697
697
|
Requires-Python: >=3.9
|
|
698
698
|
Description-Content-Type: text/markdown
|
|
699
699
|
License-File: LICENSE
|
|
700
|
-
Requires-Dist: otlmow-converter>=1.
|
|
701
|
-
Requires-Dist: otlmow-modelbuilder>=0.
|
|
700
|
+
Requires-Dist: otlmow-converter>=1.11
|
|
701
|
+
Requires-Dist: otlmow-modelbuilder>=0.27
|
|
702
|
+
Provides-Extra: test
|
|
703
|
+
Requires-Dist: pytest; extra == "test"
|
|
704
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
705
|
+
Requires-Dist: pytest-subtests; extra == "test"
|
|
706
|
+
Requires-Dist: pytest-timeout; extra == "test"
|
|
702
707
|
Dynamic: license-file
|
|
703
708
|
|
|
704
709
|
# OTLMOW-Template
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "otlmow_template"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.2"
|
|
8
8
|
authors = [{name = "David Vlaminck", email = "david.vlaminck@mow.vlaanderen.be"},
|
|
9
9
|
{name = "Jasper Berton", email = "jasperberton1@telenet.be"},]
|
|
10
10
|
readme = "README.md"
|
|
@@ -29,8 +29,8 @@ classifiers = [
|
|
|
29
29
|
]
|
|
30
30
|
requires-python = ">=3.9"
|
|
31
31
|
dependencies = [
|
|
32
|
-
'otlmow-converter >= 1.
|
|
33
|
-
'otlmow-modelbuilder >= 0.
|
|
32
|
+
'otlmow-converter >= 1.11',
|
|
33
|
+
'otlmow-modelbuilder >= 0.27'
|
|
34
34
|
]
|
|
35
35
|
|
|
36
36
|
[tool.setuptools.packages.find]
|
|
@@ -39,3 +39,11 @@ include = ["otlmow_template*"]
|
|
|
39
39
|
[project.urls]
|
|
40
40
|
"Homepage" = "https://github.com/davidvlaminck/OTLMOW-Template"
|
|
41
41
|
"Bug Tracker" = "https://github.com/davidvlaminck/OTLMOW-Template/issues"
|
|
42
|
+
|
|
43
|
+
[project.optional-dependencies]
|
|
44
|
+
test = [
|
|
45
|
+
"pytest",
|
|
46
|
+
"pytest-cov",
|
|
47
|
+
"pytest-subtests",
|
|
48
|
+
"pytest-timeout"
|
|
49
|
+
]
|
|
File without changes
|
|
File without changes
|
{otlmow_template-1.0 → otlmow_template-1.2}/otlmow_template/Exceptions/MissingTypeUriException.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|