python-ort 0.10.5__py3-none-any.whl → 0.11.0__py3-none-any.whl
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.
- ort/models/config/__init__.py +100 -0
- ort/models/config/license_choices.py +1 -1
- ort/models/config/license_finding_curation_reason.py +2 -2
- ort/utils/spdx/spdx_license_choice.py +5 -0
- {python_ort-0.10.5.dist-info → python_ort-0.11.0.dist-info}/METADATA +3 -3
- {python_ort-0.10.5.dist-info → python_ort-0.11.0.dist-info}/RECORD +9 -9
- {python_ort-0.10.5.dist-info → python_ort-0.11.0.dist-info}/WHEEL +1 -1
- {python_ort-0.10.5.dist-info → python_ort-0.11.0.dist-info}/entry_points.txt +0 -0
- {python_ort-0.10.5.dist-info → python_ort-0.11.0.dist-info}/licenses/LICENSE +0 -0
ort/models/config/__init__.py
CHANGED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Helio Chissini de Castro <dev@heliocastro.info>
|
|
2
|
+
# SPDX-FileCopyrightText: 2026 CARIAD SE
|
|
3
|
+
# SPDX-License-Identifier: MIT
|
|
4
|
+
|
|
5
|
+
from .advisor_configuration import AdvisorConfiguration
|
|
6
|
+
from .analyzer_configuration import AnalyzerConfiguration
|
|
7
|
+
from .curations import Curations
|
|
8
|
+
from .excludes import Excludes
|
|
9
|
+
from .file_archiver_configuration import FileArchiverConfiguration
|
|
10
|
+
from .file_list_storage_configuration import FileListStorageConfiguration
|
|
11
|
+
from .file_storage_configuration import FileStorageConfiguration
|
|
12
|
+
from .http_file_storage_configuration import HttpFileStorageConfiguration
|
|
13
|
+
from .includes import Includes
|
|
14
|
+
from .issue_resolution import IssueResolution
|
|
15
|
+
from .issue_resolution_reason import IssueResolutionReason
|
|
16
|
+
from .license_choices import LicenseChoices, PackageLicenseChoice
|
|
17
|
+
from .license_finding_curation import LicenseFindingCuration
|
|
18
|
+
from .license_finding_curation_reason import LicenseFindingCurationReason
|
|
19
|
+
from .local_file_storage_configuration import LocalFileStorageConfiguration
|
|
20
|
+
from .package_configuration import PackageConfiguration
|
|
21
|
+
from .package_manager_configuration import PackageManagerConfiguration
|
|
22
|
+
from .path_exclude import PathExclude
|
|
23
|
+
from .path_exclude_reason import PathExcludeReason
|
|
24
|
+
from .path_include import PathInclude
|
|
25
|
+
from .path_include_reason import PathIncludeReason
|
|
26
|
+
from .postgres_connection import PostgresConnection
|
|
27
|
+
from .provenance_storage_configuration import ProvenanceStorageConfiguration
|
|
28
|
+
from .repository_analyzer_configuration import RepositoryAnalyzerConfiguration
|
|
29
|
+
from .repository_configuration import RepositoryConfiguration
|
|
30
|
+
from .resolutions import Resolutions
|
|
31
|
+
from .rule_violation_reason import RuleViolationResolutionReason
|
|
32
|
+
from .rule_violation_resolution import RuleViolationResolution
|
|
33
|
+
from .s3_file_storage_configuration import S3FileStorageConfiguration
|
|
34
|
+
from .scan_storage_configuration import (
|
|
35
|
+
ClearlyDefinedStorageConfiguration,
|
|
36
|
+
FileBasedStorageConfiguration,
|
|
37
|
+
PostgresStorageConfiguration,
|
|
38
|
+
ScanStorageConfiguration,
|
|
39
|
+
StorageType,
|
|
40
|
+
)
|
|
41
|
+
from .scanner_configuration import ScannerConfiguration
|
|
42
|
+
from .scope_exclude import ScopeExclude
|
|
43
|
+
from .scope_exclude_reason import ScopeExcludeReason
|
|
44
|
+
from .snippet.snippet_choice import Choice, Given, SnippetChoice
|
|
45
|
+
from .snippet.snippet_choice_reason import SnippetChoiceReason
|
|
46
|
+
from .snippet.snippet_choices import SnippetChoices
|
|
47
|
+
from .snippet.snippet_provenance import SnippetProvenance
|
|
48
|
+
from .vcsmatcher import VcsMatcher
|
|
49
|
+
from .vulnerability_resolution import VulnerabilityResolution
|
|
50
|
+
from .vulnerability_resolution_reason import VulnerabilityResolutionReason
|
|
51
|
+
|
|
52
|
+
__all__ = [
|
|
53
|
+
"AdvisorConfiguration",
|
|
54
|
+
"AnalyzerConfiguration",
|
|
55
|
+
"Choice",
|
|
56
|
+
"ClearlyDefinedStorageConfiguration",
|
|
57
|
+
"Curations",
|
|
58
|
+
"Excludes",
|
|
59
|
+
"FileArchiverConfiguration",
|
|
60
|
+
"FileBasedStorageConfiguration",
|
|
61
|
+
"FileListStorageConfiguration",
|
|
62
|
+
"FileStorageConfiguration",
|
|
63
|
+
"Given",
|
|
64
|
+
"HttpFileStorageConfiguration",
|
|
65
|
+
"Includes",
|
|
66
|
+
"IssueResolution",
|
|
67
|
+
"IssueResolutionReason",
|
|
68
|
+
"LicenseChoices",
|
|
69
|
+
"LicenseFindingCuration",
|
|
70
|
+
"LicenseFindingCurationReason",
|
|
71
|
+
"LocalFileStorageConfiguration",
|
|
72
|
+
"PackageConfiguration",
|
|
73
|
+
"PackageLicenseChoice",
|
|
74
|
+
"PackageManagerConfiguration",
|
|
75
|
+
"PathExclude",
|
|
76
|
+
"PathExcludeReason",
|
|
77
|
+
"PathInclude",
|
|
78
|
+
"PathIncludeReason",
|
|
79
|
+
"PostgresConnection",
|
|
80
|
+
"PostgresStorageConfiguration",
|
|
81
|
+
"ProvenanceStorageConfiguration",
|
|
82
|
+
"RepositoryAnalyzerConfiguration",
|
|
83
|
+
"RepositoryConfiguration",
|
|
84
|
+
"Resolutions",
|
|
85
|
+
"RuleViolationResolution",
|
|
86
|
+
"RuleViolationResolutionReason",
|
|
87
|
+
"S3FileStorageConfiguration",
|
|
88
|
+
"ScanStorageConfiguration",
|
|
89
|
+
"ScannerConfiguration",
|
|
90
|
+
"ScopeExclude",
|
|
91
|
+
"ScopeExcludeReason",
|
|
92
|
+
"SnippetChoice",
|
|
93
|
+
"SnippetChoiceReason",
|
|
94
|
+
"SnippetChoices",
|
|
95
|
+
"SnippetProvenance",
|
|
96
|
+
"StorageType",
|
|
97
|
+
"VcsMatcher",
|
|
98
|
+
"VulnerabilityResolution",
|
|
99
|
+
"VulnerabilityResolutionReason",
|
|
100
|
+
]
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# SPDX-FileCopyrightText: 2026 Helio Chissini de Castro <heliocastro@gmail.com>
|
|
2
|
+
# SPDX-FileCopyrightText: (c) 2026 CARIAD SE, All rights reserved.
|
|
2
3
|
# SPDX-License-Identifier: MIT
|
|
3
4
|
from pydantic import BaseModel, ConfigDict, Field
|
|
4
5
|
|
|
@@ -42,3 +43,7 @@ class SpdxLicenseChoice(BaseModel):
|
|
|
42
43
|
...,
|
|
43
44
|
description="Package",
|
|
44
45
|
)
|
|
46
|
+
comment: str | None = Field(
|
|
47
|
+
default=None,
|
|
48
|
+
description="Comment",
|
|
49
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-ort
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0
|
|
4
4
|
Summary: A Python Ort model serialization library
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -13,10 +13,10 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.14
|
|
15
15
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
16
|
-
Requires-Dist: click>=8.5.
|
|
16
|
+
Requires-Dist: click>=8.5.1
|
|
17
17
|
Requires-Dist: license-expression>=30.4.4
|
|
18
18
|
Requires-Dist: packageurl-python>=0.17.6
|
|
19
|
-
Requires-Dist: pydantic>=2.14.
|
|
19
|
+
Requires-Dist: pydantic>=2.14.3
|
|
20
20
|
Requires-Dist: pyyaml>=6.0.3
|
|
21
21
|
Requires-Python: >=3.10
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
@@ -8,7 +8,7 @@ ort/models/advisor_summary.py,sha256=et272JooKGr4BzX4dEFKvpO8MKu1BDgj4kEXDCn1ZOs
|
|
|
8
8
|
ort/models/analyzer_result.py,sha256=V2Admq_P0o2uS8goXT_rLSK0G_lh-1RXMxL8u8z5S38,1588
|
|
9
9
|
ort/models/analyzer_run.py,sha256=0DL8K540W4ErasAgha0jt0NqkEAkRnmVsdlyCXgGNhE,614
|
|
10
10
|
ort/models/base_run.py,sha256=orEEqZzA4F1YfxPLOdzJZBkwh7t0fU1Vd5hIwyG3fUI,754
|
|
11
|
-
ort/models/config/__init__.py,sha256=
|
|
11
|
+
ort/models/config/__init__.py,sha256=H-uTyUI6dd-hMouE5WfB_-WMWOdfwRIcADh5o80Rk9s,3909
|
|
12
12
|
ort/models/config/advisor_configuration.py,sha256=20zy41pNRNCSmzai1oph9z8oEs2BaX9iotXhduWBVlc,944
|
|
13
13
|
ort/models/config/analyzer_configuration.py,sha256=-J7FzW4YRiSkYVEZ5ZXO4BiWx3P-zgt-ahiEMRUT-j0,2635
|
|
14
14
|
ort/models/config/curations.py,sha256=cOAqHLjBM5Zekvif1c4YFBCb__89GdZ6BjJwu4AG-MA,924
|
|
@@ -20,9 +20,9 @@ ort/models/config/http_file_storage_configuration.py,sha256=2ug2_KvZYEExmigQhYzh
|
|
|
20
20
|
ort/models/config/includes.py,sha256=XXYCoux4hxlVkpezcnys9GW_QTOazFzK9TuGo9A6i3Y,482
|
|
21
21
|
ort/models/config/issue_resolution.py,sha256=7UDw2MT4JZNiduxQe03NlrjT7zJ6jQJ73N9rv0vfzCQ,1009
|
|
22
22
|
ort/models/config/issue_resolution_reason.py,sha256=BA8MOtLbNyJipEl9jLATV9X1BZ-Y5yh1Ls70Rp-LfEk,812
|
|
23
|
-
ort/models/config/license_choices.py,sha256=
|
|
23
|
+
ort/models/config/license_choices.py,sha256=1v8SwSw_G-p4BWAiWHxq_LK7cVYR7NRyVM5sUqRjqf0,1416
|
|
24
24
|
ort/models/config/license_finding_curation.py,sha256=ZTdUv0TQVCqwXjQqN9YXoBuiOzBB21tK6IHZmz3yXik,3542
|
|
25
|
-
ort/models/config/license_finding_curation_reason.py,sha256=
|
|
25
|
+
ort/models/config/license_finding_curation_reason.py,sha256=gOdHtfYAegeI1aB-xXCJztiLaCbndVPPx4zgk1jyRw4,1137
|
|
26
26
|
ort/models/config/local_file_storage_configuration.py,sha256=mB5_B3ly9spjwpIkHsC1t_vbsUyxlVz2s0sFW2UxCNE,653
|
|
27
27
|
ort/models/config/package_configuration.py,sha256=EFujo40w_OmTgRNhbOxJNP6dtcq2EKMMOCUSWsgv8KQ,2875
|
|
28
28
|
ort/models/config/package_manager_configuration.py,sha256=xpVwOzLNuBhGfEY2_Fz-6GagJXpKQI59kg5yzvZKHpI,1345
|
|
@@ -108,13 +108,13 @@ ort/utils/environment.py,sha256=ANFNyzbuWJ6p0Q1NYL_CWxCe3eZV7FIEr50bpReNzkM,1116
|
|
|
108
108
|
ort/utils/processed_declared_license.py,sha256=6IGaMLWbLgSMDjkgZeFCn-3XLdVHFDg9SPr_Rj0aBYA,1015
|
|
109
109
|
ort/utils/spdx/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
110
110
|
ort/utils/spdx/spdx_expression.py,sha256=K_ZsIGwLP_zNcS6haO2TFM1aRa2l79zFU7HZaB_Idl0,1234
|
|
111
|
-
ort/utils/spdx/spdx_license_choice.py,sha256=
|
|
111
|
+
ort/utils/spdx/spdx_license_choice.py,sha256=__8tdYE8wJ_SmsM1cylqBPWrPEmPn0omqr_I52RwhPk,1386
|
|
112
112
|
ort/utils/validated_enum.py,sha256=UFAGP7BGzAx1nSBWEeMXn1X1teVb6507N-lfXBf5qGM,1643
|
|
113
113
|
ort/utils/yaml_loader.py,sha256=kOiuRV93_q_ZUnAqHoNohAvqL7fkUn66WrvrdbgZKHs,1290
|
|
114
114
|
tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
115
|
tools/ort_validate.py,sha256=drVJo2rHO-o8UkFu0K8rRK0ZoOYvoRCP9nG2rkys4Qg,1934
|
|
116
|
-
python_ort-0.
|
|
117
|
-
python_ort-0.
|
|
118
|
-
python_ort-0.
|
|
119
|
-
python_ort-0.
|
|
120
|
-
python_ort-0.
|
|
116
|
+
python_ort-0.11.0.dist-info/licenses/LICENSE,sha256=koFhbHMglt1BNVuMKdBBlrQcgQsWLgo4pZW6cCtyGvA,1081
|
|
117
|
+
python_ort-0.11.0.dist-info/WHEEL,sha256=MWx7psoF7KNST9G72pGtiBYuaXRXQXBk9pw5R6FzYko,80
|
|
118
|
+
python_ort-0.11.0.dist-info/entry_points.txt,sha256=v2_5_A1Rs4kGKx2g-6PZQoNwx_JlDy6pfWSjMNT_BMU,58
|
|
119
|
+
python_ort-0.11.0.dist-info/METADATA,sha256=VXD4WuL_gsZ5OO_xMbujQdk6kYBS1H7tpoCupkyZsxo,1463
|
|
120
|
+
python_ort-0.11.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|