python-ort 0.1.4__py3-none-any.whl → 0.2.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/repository_configuration.py +6 -3
- ort/models/source_code_origin.py +9 -0
- {python_ort-0.1.4.dist-info → python_ort-0.2.0.dist-info}/METADATA +2 -2
- {python_ort-0.1.4.dist-info → python_ort-0.2.0.dist-info}/RECORD +6 -5
- {python_ort-0.1.4.dist-info → python_ort-0.2.0.dist-info}/WHEEL +1 -1
- {python_ort-0.1.4.dist-info → python_ort-0.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -9,6 +9,7 @@ from pydantic import BaseModel, Field, RootModel
|
|
|
9
9
|
|
|
10
10
|
from .analyzer_configurations import OrtAnalyzerConfigurations
|
|
11
11
|
from .package_managers import OrtPackageManagerConfigurations, PackageManagerConfigs
|
|
12
|
+
from .source_code_origin import SourceCodeOrigin
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
class OrtRepositoryConfigurationLicenseChoicesPackageLicenseChoiceLicenseChoice(BaseModel):
|
|
@@ -310,18 +311,20 @@ CurationsSchemaCurationsSchemaItemCurationsSourceArtifact = CurationsSchemaCurat
|
|
|
310
311
|
|
|
311
312
|
class CurationsSchemaCurationsSchemaItemCurations(BaseModel):
|
|
312
313
|
comment: str | None = None
|
|
314
|
+
purl: str | None = None
|
|
315
|
+
cpe: str | None = None
|
|
313
316
|
authors: list[str] | None = None
|
|
314
317
|
concluded_license: str | None = None
|
|
315
|
-
cpe: str | None = None
|
|
316
|
-
declared_license_mapping: dict[str, Any] | None = None
|
|
317
318
|
description: str | None = None
|
|
318
319
|
homepage_url: str | None = None
|
|
319
|
-
purl: str | None = None
|
|
320
320
|
binary_artifact: CurationsSchemaCurationsSchemaItemCurationsBinaryArtifact | None = None
|
|
321
321
|
source_artifact: CurationsSchemaCurationsSchemaItemCurationsSourceArtifact | None = None
|
|
322
322
|
vcs: VcsMatcher | None = None
|
|
323
323
|
is_metadata_only: bool | None = None
|
|
324
324
|
is_modified: bool | None = None
|
|
325
|
+
declared_license_mapping: dict[str, Any] = Field(default_factory=dict)
|
|
326
|
+
source_code_origins: list[SourceCodeOrigin] | None = None
|
|
327
|
+
labels: dict[str, str] = Field(default_factory=dict)
|
|
325
328
|
|
|
326
329
|
|
|
327
330
|
class CurationsSchemaCurationsSchemaItem(BaseModel):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-ort
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: A Python Ort model serialization library
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
15
|
-
Requires-Dist: pydantic>=2.
|
|
15
|
+
Requires-Dist: pydantic>=2.12.4
|
|
16
16
|
Requires-Dist: pyyaml>=6.0.3
|
|
17
17
|
Requires-Python: >=3.10
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
@@ -3,9 +3,10 @@ ort/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
3
3
|
ort/models/analyzer_configurations.py,sha256=ImPwLffbNiQ04xeD9EgHBwIvs4tGBbqEwK_TXtceil8,1154
|
|
4
4
|
ort/models/ort_configuration.py,sha256=eleVGknw7grLOTaPOZbI2_HrD9KoEhRFEGyqg25mVws,10975
|
|
5
5
|
ort/models/package_managers.py,sha256=qyShJ-IOQZFWOPmvylj413vVNMjBZ0xPlXtHU8V68Uk,1364
|
|
6
|
-
ort/models/repository_configuration.py,sha256=
|
|
6
|
+
ort/models/repository_configuration.py,sha256=qqb_HA-rKYQmnZdMUlN_sxbmSbefxFpdRGheNXkdXjQ,13581
|
|
7
7
|
ort/models/resolutions.py,sha256=3OuCC9yYMu5Ovt2UD04ms9zJuWBXtBDjof-8fRzErlw,3423
|
|
8
|
-
|
|
9
|
-
python_ort-0.
|
|
10
|
-
python_ort-0.
|
|
11
|
-
python_ort-0.
|
|
8
|
+
ort/models/source_code_origin.py,sha256=gyEQaR4AjrWDDpDwEO8RHAHyFmnZK3plZzbvWf5o9do,208
|
|
9
|
+
python_ort-0.2.0.dist-info/licenses/LICENSE,sha256=koFhbHMglt1BNVuMKdBBlrQcgQsWLgo4pZW6cCtyGvA,1081
|
|
10
|
+
python_ort-0.2.0.dist-info/WHEEL,sha256=5w2T7AS2mz1-rW9CNagNYWRCaB0iQqBMYLwKdlgiR4Q,78
|
|
11
|
+
python_ort-0.2.0.dist-info/METADATA,sha256=Oo1TdfoKl55sw0a4cdD30v8V6fbesrd6cPwNBeheBA0,829
|
|
12
|
+
python_ort-0.2.0.dist-info/RECORD,,
|
|
File without changes
|