Python-Ort
Python-Ort is a pydantic v2 based library to serialize OSS Review Toolkit generated reports using the default models.
Install
pip install python-ort
Simple usage example based on a report in yml format:
from pprint import pprint
from pathlib import Path
from pydantic import ValidationError
from ort import OrtResult, ort_yaml_load
try:
with Path("some-result.yml").open() as fd:
data = ort_yaml_load(fd)
parsed = OrtResult(**data)
pprint(parsed)
except ValidationError as e:
print(e)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_ort-0.10.0.tar.gz
(40.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_ort-0.10.0.tar.gz.
File metadata
- Download URL: python_ort-0.10.0.tar.gz
- Upload date:
- Size: 40.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.33 {"installer":{"name":"uv","version":"0.11.33","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88597fd81bce4b16702d5758a2e622106051cc18a45cfe60e094feebe6a6bbbc
|
|
| MD5 |
18dc20ad9f94c39c7152e31771bf626d
|
|
| BLAKE2b-256 |
0f32289454991b46822c6750489bac8c6efaaef3a8716120aff3345819f3787f
|
File details
Details for the file python_ort-0.10.0-py3-none-any.whl.
File metadata
- Download URL: python_ort-0.10.0-py3-none-any.whl
- Upload date:
- Size: 90.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.33 {"installer":{"name":"uv","version":"0.11.33","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42b79406bc3c34e1a9763aff39599e338e1a4d1ce83f179f75e53639b4e22bdc
|
|
| MD5 |
ef6e587711530b65a0449efa5c83fb7b
|
|
| BLAKE2b-256 |
c8c002c6faf95fe586fb1f660942672c6de914fda800625849150a15666831de
|