libtea 0.4.0__tar.gz → 0.5.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.
- {libtea-0.4.0 → libtea-0.5.0}/PKG-INFO +7 -7
- {libtea-0.4.0 → libtea-0.5.0}/README.md +6 -6
- libtea-0.5.0/libtea.cdx.json +1 -0
- {libtea-0.4.0 → libtea-0.5.0}/pyproject.toml +1 -1
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/_cli_fmt.py +20 -10
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/cli.py +549 -59
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/client.py +1 -1
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/models.py +15 -3
- libtea-0.4.0/libtea.cdx.json +0 -1
- {libtea-0.4.0 → libtea-0.5.0}/.gitignore +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/LICENSE +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/__init__.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/_cli_entry.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/_constants.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/_hashing.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/_http.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/_security.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/_validation.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/conformance/__init__.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/conformance/_checks.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/conformance/_runner.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/conformance/_types.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/conformance/plugin.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/discovery.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/exceptions.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/protocols.py +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/py.typed +0 -0
- {libtea-0.4.0 → libtea-0.5.0}/src/libtea/server.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: libtea
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Python client library for the Transparency Exchange API (TEA)
|
|
5
5
|
Project-URL: Homepage, https://github.com/sbomify/py-libtea
|
|
6
6
|
Project-URL: Repository, https://github.com/sbomify/py-libtea
|
|
@@ -41,7 +41,7 @@ Description-Content-Type: text/markdown
|
|
|
41
41
|
[](https://github.com/sbomify/py-libtea/blob/master/LICENSE)
|
|
42
42
|
[](https://trust.sbomify.com/component/py-libtea/)
|
|
43
43
|
|
|
44
|
-
Python client library for the [Transparency Exchange API (TEA)](https://transparency.exchange/) v0.
|
|
44
|
+
Python client library for the [Transparency Exchange API (TEA)](https://transparency.exchange/) v0.4.0.
|
|
45
45
|
|
|
46
46
|
TEA is an open standard for discovering and retrieving software transparency artifacts (SBOMs, VEX, build metadata) for any software product or component. A [TEI identifier](https://github.com/CycloneDX/transparency-exchange-api/blob/main/discovery/readme.md) resolves via DNS to the right endpoint, similar to how email uses MX records — so consumers can fetch artifacts without knowing which server hosts them.
|
|
47
47
|
|
|
@@ -113,7 +113,7 @@ Or connect directly to a known endpoint:
|
|
|
113
113
|
|
|
114
114
|
```python
|
|
115
115
|
client = TeaClient(
|
|
116
|
-
base_url="https://trust.sbomify.com/tea/v0.
|
|
116
|
+
base_url="https://trust.sbomify.com/tea/v0.4.0",
|
|
117
117
|
timeout=30.0,
|
|
118
118
|
)
|
|
119
119
|
```
|
|
@@ -124,7 +124,7 @@ Using `from_well_known`, you can also override the spec version and timeout:
|
|
|
124
124
|
client = TeaClient.from_well_known(
|
|
125
125
|
"trust.sbomify.com",
|
|
126
126
|
timeout=15.0,
|
|
127
|
-
version="0.
|
|
127
|
+
version="0.4.0", # default
|
|
128
128
|
)
|
|
129
129
|
```
|
|
130
130
|
|
|
@@ -156,7 +156,7 @@ tei_type, domain, identifier = parse_tei(
|
|
|
156
156
|
|
|
157
157
|
# Fetch and select an endpoint manually
|
|
158
158
|
well_known = fetch_well_known("trust.sbomify.com")
|
|
159
|
-
endpoint = select_endpoint(well_known, "0.
|
|
159
|
+
endpoint = select_endpoint(well_known, "0.4.0")
|
|
160
160
|
print(endpoint.url, endpoint.priority)
|
|
161
161
|
```
|
|
162
162
|
|
|
@@ -327,7 +327,7 @@ Enable optional TTL-based caching to avoid repeated API calls:
|
|
|
327
327
|
|
|
328
328
|
```python
|
|
329
329
|
# Cache GET responses for 5 minutes
|
|
330
|
-
client = TeaClient("https://trust.sbomify.com/tea/v0.
|
|
330
|
+
client = TeaClient("https://trust.sbomify.com/tea/v0.4.0", cache_ttl=300)
|
|
331
331
|
product = client.get_product("uuid") # HTTP call
|
|
332
332
|
product = client.get_product("uuid") # served from cache
|
|
333
333
|
|
|
@@ -596,7 +596,7 @@ Optional:
|
|
|
596
596
|
|
|
597
597
|
## Not yet supported
|
|
598
598
|
|
|
599
|
-
- Publisher API (spec is consumer-only in
|
|
599
|
+
- Publisher API (spec is consumer-only in v0.4.0)
|
|
600
600
|
- Async client
|
|
601
601
|
|
|
602
602
|
## Development
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://github.com/sbomify/py-libtea/blob/master/LICENSE)
|
|
7
7
|
[](https://trust.sbomify.com/component/py-libtea/)
|
|
8
8
|
|
|
9
|
-
Python client library for the [Transparency Exchange API (TEA)](https://transparency.exchange/) v0.
|
|
9
|
+
Python client library for the [Transparency Exchange API (TEA)](https://transparency.exchange/) v0.4.0.
|
|
10
10
|
|
|
11
11
|
TEA is an open standard for discovering and retrieving software transparency artifacts (SBOMs, VEX, build metadata) for any software product or component. A [TEI identifier](https://github.com/CycloneDX/transparency-exchange-api/blob/main/discovery/readme.md) resolves via DNS to the right endpoint, similar to how email uses MX records — so consumers can fetch artifacts without knowing which server hosts them.
|
|
12
12
|
|
|
@@ -78,7 +78,7 @@ Or connect directly to a known endpoint:
|
|
|
78
78
|
|
|
79
79
|
```python
|
|
80
80
|
client = TeaClient(
|
|
81
|
-
base_url="https://trust.sbomify.com/tea/v0.
|
|
81
|
+
base_url="https://trust.sbomify.com/tea/v0.4.0",
|
|
82
82
|
timeout=30.0,
|
|
83
83
|
)
|
|
84
84
|
```
|
|
@@ -89,7 +89,7 @@ Using `from_well_known`, you can also override the spec version and timeout:
|
|
|
89
89
|
client = TeaClient.from_well_known(
|
|
90
90
|
"trust.sbomify.com",
|
|
91
91
|
timeout=15.0,
|
|
92
|
-
version="0.
|
|
92
|
+
version="0.4.0", # default
|
|
93
93
|
)
|
|
94
94
|
```
|
|
95
95
|
|
|
@@ -121,7 +121,7 @@ tei_type, domain, identifier = parse_tei(
|
|
|
121
121
|
|
|
122
122
|
# Fetch and select an endpoint manually
|
|
123
123
|
well_known = fetch_well_known("trust.sbomify.com")
|
|
124
|
-
endpoint = select_endpoint(well_known, "0.
|
|
124
|
+
endpoint = select_endpoint(well_known, "0.4.0")
|
|
125
125
|
print(endpoint.url, endpoint.priority)
|
|
126
126
|
```
|
|
127
127
|
|
|
@@ -292,7 +292,7 @@ Enable optional TTL-based caching to avoid repeated API calls:
|
|
|
292
292
|
|
|
293
293
|
```python
|
|
294
294
|
# Cache GET responses for 5 minutes
|
|
295
|
-
client = TeaClient("https://trust.sbomify.com/tea/v0.
|
|
295
|
+
client = TeaClient("https://trust.sbomify.com/tea/v0.4.0", cache_ttl=300)
|
|
296
296
|
product = client.get_product("uuid") # HTTP call
|
|
297
297
|
product = client.get_product("uuid") # served from cache
|
|
298
298
|
|
|
@@ -561,7 +561,7 @@ Optional:
|
|
|
561
561
|
|
|
562
562
|
## Not yet supported
|
|
563
563
|
|
|
564
|
-
- Publisher API (spec is consumer-only in
|
|
564
|
+
- Publisher API (spec is consumer-only in v0.4.0)
|
|
565
565
|
- Async client
|
|
566
566
|
|
|
567
567
|
## Development
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"components": [{"bom-ref": "pkg:pypi/annotated-types@0.7.0", "description": "Reusable constraint types to use with typing.Annotated", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/annotated-types/"}, {"type": "vcs", "url": "git+https://github.com/annotated-types/annotated-types"}, {"type": "website", "url": "https://github.com/annotated-types/annotated-types"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"}], "licenses": [{"expression": "MIT"}], "name": "annotated-types", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Adrian Garcia Badaracco", "purl": "pkg:pypi/annotated-types@0.7.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.7.0"}, {"bom-ref": "pkg:pypi/certifi@2026.2.25", "description": "Python package for providing Mozilla's CA Bundle.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/certifi/"}, {"type": "vcs", "url": "git+https://github.com/certifi/python-certifi"}, {"type": "website", "url": "https://github.com/certifi/python-certifi"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa"}], "licenses": [{"expression": "MPL-2.0"}], "name": "certifi", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Kenneth Reitz", "purl": "pkg:pypi/certifi@2026.2.25", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2026.2.25"}, {"bom-ref": "pkg:pypi/cfgv@3.5.0", "description": "Validate configuration and produce human readable error messages.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/cfgv/"}, {"type": "website", "url": "https://github.com/asottile/cfgv"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0"}], "licenses": [{"expression": "MIT"}], "name": "cfgv", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Anthony Sottile", "purl": "pkg:pypi/cfgv@3.5.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "3.5.0"}, {"bom-ref": "pkg:pypi/charset-normalizer@3.4.4", "description": "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/charset-normalizer/"}, {"type": "issue-tracker", "url": "https://github.com/jawah/charset_normalizer/issues"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "7a32c560861a02ff789ad905a2fe94e3f840803362c84fecf1851cb4cf3dc37f"}], "licenses": [{"expression": "MIT"}], "name": "charset-normalizer", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "\"Ahmed R. TAHRI\"", "purl": "pkg:pypi/charset-normalizer@3.4.4", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "3.4.4"}, {"bom-ref": "pkg:pypi/colorama@0.4.6", "description": "Cross-platform colored terminal text.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/colorama/"}, {"type": "vcs", "url": "git+https://github.com/tartley/colorama"}, {"type": "website", "url": "https://github.com/tartley/colorama"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}], "licenses": [{"expression": "non-standard"}], "name": "colorama", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Jonathan Hartley", "purl": "pkg:pypi/colorama@0.4.6", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.4.6"}, {"bom-ref": "pkg:pypi/coverage@7.13.4", "description": "Code coverage measurement for Python", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/coverage/"}, {"type": "issue-tracker", "url": "https://github.com/coveragepy/coveragepy/issues"}, {"type": "website", "url": "https://github.com/coveragepy/coveragepy"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "1af1641e57cf7ba1bd67d677c9abdbcd6cc2ab7da3bca7fa1e2b7e50e65f2ad0"}], "licenses": [{"expression": "Apache-2.0"}], "name": "coverage", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Ned Batchelder and 252 others", "purl": "pkg:pypi/coverage@7.13.4", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "7.13.4"}, {"bom-ref": "pkg:pypi/distlib@0.4.0", "description": "Distribution utilities", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/distlib/"}, {"type": "issue-tracker", "url": "https://github.com/pypa/distlib/issues"}, {"type": "vcs", "url": "git+https://github.com/pypa/distlib"}, {"type": "website", "url": "https://github.com/pypa/distlib"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16"}], "licenses": [{"expression": "PSF-2.0"}], "name": "distlib", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Vinay Sajip", "purl": "pkg:pypi/distlib@0.4.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.4.0"}, {"bom-ref": "pkg:pypi/filelock@3.24.3", "description": "A platform independent file lock.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/filelock/"}, {"type": "issue-tracker", "url": "https://github.com/tox-dev/py-filelock/issues"}, {"type": "vcs", "url": "git+https://github.com/tox-dev/py-filelock"}, {"type": "website", "url": "https://github.com/tox-dev/py-filelock"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "426e9a4660391f7f8a810d71b0555bce9008b0a1cc342ab1f6947d37639e002d"}], "licenses": [{"expression": "MIT"}], "name": "filelock", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Bern\u00e1t G\u00e1bor", "purl": "pkg:pypi/filelock@3.24.3", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "3.24.3"}, {"bom-ref": "pkg:pypi/identify@2.6.16", "description": "File identification library for Python", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/identify/"}, {"type": "website", "url": "https://github.com/pre-commit/identify"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "391ee4d77741d994189522896270b787aed8670389bfd60f326d677d64a6dfb0"}], "licenses": [{"expression": "MIT"}], "name": "identify", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Chris Kuehl", "purl": "pkg:pypi/identify@2.6.16", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.6.16"}, {"bom-ref": "pkg:pypi/idna@3.11", "description": "Internationalized Domain Names in Applications (IDNA)", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/idna/"}, {"type": "issue-tracker", "url": "https://github.com/kjd/idna/issues"}, {"type": "vcs", "url": "git+https://github.com/kjd/idna"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea"}], "licenses": [{"expression": "BSD-3-Clause"}], "name": "idna", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Kim Davies", "purl": "pkg:pypi/idna@3.11", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "3.11"}, {"bom-ref": "pkg:pypi/iniconfig@2.3.0", "description": "brain-dead simple config-ini parsing", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/iniconfig/"}, {"type": "vcs", "url": "git+https://github.com/pytest-dev/iniconfig"}, {"type": "website", "url": "https://github.com/pytest-dev/iniconfig"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12"}], "licenses": [{"expression": "MIT"}], "name": "iniconfig", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Ronny Pfannschmidt", "purl": "pkg:pypi/iniconfig@2.3.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.3.0"}, {"bom-ref": "pkg:pypi/librt@0.8.1", "description": "Mypyc runtime library", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/librt/"}, {"type": "issue-tracker", "url": "https://github.com/mypyc/mypyc/issues"}, {"type": "website", "url": "https://github.com/mypyc/librt"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "681dc2451d6d846794a828c16c22dc452d924e9f700a485b7ecb887a30aad1fd"}], "licenses": [{"expression": "MIT"}], "name": "librt", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Jukka Lehtosalo", "purl": "pkg:pypi/librt@0.8.1", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.8.1"}, {"bom-ref": "pkg:pypi/markdown-it-py@4.0.0", "description": "Python port of markdown-it. Markdown parsing, done right!", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/markdown-it-py/"}, {"type": "vcs", "url": "git+https://github.com/executablebooks/markdown-it-py"}, {"type": "website", "url": "https://github.com/executablebooks/markdown-it-py"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147"}], "licenses": [{"expression": "MIT"}], "name": "markdown-it-py", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Chris Sewell", "purl": "pkg:pypi/markdown-it-py@4.0.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "4.0.0"}, {"bom-ref": "pkg:pypi/mdurl@0.1.2", "description": "Markdown URL utilities", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/mdurl/"}, {"type": "vcs", "url": "git+https://github.com/executablebooks/mdurl"}, {"type": "website", "url": "https://github.com/executablebooks/mdurl"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8"}], "licenses": [{"expression": "MIT"}], "name": "mdurl", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Taneli Hukkinen", "purl": "pkg:pypi/mdurl@0.1.2", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.1.2"}, {"bom-ref": "pkg:pypi/mypy-extensions@1.1.0", "description": "Type system extensions for programs checked with the mypy type checker.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/mypy-extensions/"}, {"type": "vcs", "url": "git+https://github.com/python/mypy_extensions"}, {"type": "website", "url": "https://github.com/python/mypy_extensions"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505"}], "licenses": [{"expression": "MIT"}], "name": "mypy-extensions", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "The mypy developers", "purl": "pkg:pypi/mypy-extensions@1.1.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "1.1.0"}, {"bom-ref": "pkg:pypi/nodeenv@1.10.0", "description": "Node.js virtual environment builder", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/nodeenv/"}, {"type": "website", "url": "https://github.com/ekalinin/nodeenv"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827"}], "licenses": [{"expression": "BSD-3-Clause"}], "name": "nodeenv", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Eugene Kalinin", "purl": "pkg:pypi/nodeenv@1.10.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "1.10.0"}, {"bom-ref": "pkg:pypi/packaging@26.0", "description": "Core utilities for Python packages", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/packaging/"}, {"type": "vcs", "url": "git+https://github.com/pypa/packaging"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529"}], "licenses": [{"expression": "Apache-2.0 OR BSD-2-Clause"}], "name": "packaging", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Donald Stufft", "purl": "pkg:pypi/packaging@26.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "26.0"}, {"bom-ref": "pkg:pypi/pathspec@1.0.4", "description": "Utility library for gitignore style pattern matching of file paths.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/pathspec/"}, {"type": "issue-tracker", "url": "https://github.com/cpburnz/python-pathspec/issues"}, {"type": "vcs", "url": "git+https://github.com/cpburnz/python-pathspec"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "fb6ae2fd4e7c921a165808a552060e722767cfa526f99ca5156ed2ce45a5c723"}], "licenses": [{"expression": "MPL-2.0"}], "name": "pathspec", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "\"Caleb P. Burns\"", "purl": "pkg:pypi/pathspec@1.0.4", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "1.0.4"}, {"bom-ref": "pkg:pypi/platformdirs@4.9.2", "description": "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/platformdirs/"}, {"type": "issue-tracker", "url": "https://github.com/tox-dev/platformdirs/issues"}, {"type": "vcs", "url": "git+https://github.com/tox-dev/platformdirs"}, {"type": "website", "url": "https://github.com/tox-dev/platformdirs"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "9170634f126f8efdae22fb58ae8a0eaa86f38365bc57897a6c4f781d1f5875bd"}], "licenses": [{"expression": "MIT"}], "name": "platformdirs", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Bern\u00e1t G\u00e1bor", "purl": "pkg:pypi/platformdirs@4.9.2", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "4.9.2"}, {"bom-ref": "pkg:pypi/pluggy@1.6.0", "description": "plugin and hook calling mechanisms for python", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/pluggy/"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746"}], "licenses": [{"expression": "MIT"}], "name": "pluggy", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Holger Krekel", "purl": "pkg:pypi/pluggy@1.6.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "1.6.0"}, {"bom-ref": "pkg:pypi/pydantic@2.12.5", "description": "Data validation using Python type hints", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/pydantic/"}, {"type": "vcs", "url": "git+https://github.com/pydantic/pydantic"}, {"type": "website", "url": "https://github.com/pydantic/pydantic"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "e561593fccf61e8a20fc46dfc2dfe075b8be7d0188df33f221ad1f0139180f9d"}], "licenses": [{"expression": "MIT"}], "name": "pydantic", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Samuel Colvin", "purl": "pkg:pypi/pydantic@2.12.5", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.12.5"}, {"bom-ref": "pkg:pypi/pydantic-core@2.41.5", "description": "Core functionality for Pydantic validation and serialization", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/pydantic-core/"}, {"type": "vcs", "url": "git+https://github.com/pydantic/pydantic-core"}, {"type": "website", "url": "https://github.com/pydantic/pydantic-core"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "a3a52f6156e73e7ccb0f8cced536adccb7042be67cb45f9562e12b319c119da6"}], "licenses": [{"expression": "MIT"}], "name": "pydantic-core", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Samuel Colvin", "purl": "pkg:pypi/pydantic-core@2.41.5", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.41.5"}, {"bom-ref": "pkg:pypi/pygments@2.19.2", "description": "Pygments is a syntax highlighting package written in Python.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/pygments/"}, {"type": "issue-tracker", "url": "https://github.com/pygments/pygments/issues"}, {"type": "vcs", "url": "git+https://github.com/pygments/pygments"}, {"type": "website", "url": "https://pygments.org"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b"}], "licenses": [{"expression": "BSD-2-Clause"}], "name": "pygments", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Matth\u00e4us G. Chajdas", "purl": "pkg:pypi/pygments@2.19.2", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.19.2"}, {"bom-ref": "pkg:pypi/pyyaml@6.0.3", "description": "YAML parser and emitter for Python", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/pyyaml/"}, {"type": "issue-tracker", "url": "https://github.com/yaml/pyyaml/issues"}, {"type": "vcs", "url": "git+https://github.com/yaml/pyyaml"}, {"type": "website", "url": "https://pyyaml.org/"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e"}], "licenses": [{"expression": "MIT"}], "name": "pyyaml", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Kirill Simonov", "purl": "pkg:pypi/pyyaml@6.0.3", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "6.0.3"}, {"bom-ref": "pkg:pypi/requests@2.32.5", "description": "Python HTTP for Humans.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/requests/"}, {"type": "vcs", "url": "git+https://github.com/psf/requests"}, {"type": "website", "url": "https://requests.readthedocs.io"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6"}], "licenses": [{"expression": "Apache-2.0"}], "name": "requests", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Kenneth Reitz", "purl": "pkg:pypi/requests@2.32.5", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.32.5"}, {"bom-ref": "pkg:pypi/semver@3.0.4", "description": "Python helper for Semantic Versioning (https://semver.org)", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/semver/"}, {"type": "issue-tracker", "url": "https://github.com/python-semver/python-semver/issues"}, {"type": "vcs", "url": "git+https://github.com/python-semver/python-semver"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "9c824d87ba7f7ab4a1890799cec8596f15c1241cb473404ea1cb0c55e4b04746"}], "licenses": [{"expression": "LicenseRef-Custom"}], "name": "semver", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Kostiantyn Rybnikov", "purl": "pkg:pypi/semver@3.0.4", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "3.0.4"}, {"bom-ref": "pkg:pypi/tomli@2.4.0", "description": "A lil' TOML parser", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/tomli/"}, {"type": "vcs", "url": "git+https://github.com/hukkin/tomli"}, {"type": "website", "url": "https://github.com/hukkin/tomli"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "1f776e7d669ebceb01dee46484485f43a4048746235e683bcdffacdf1fb4785a"}], "licenses": [{"expression": "MIT"}], "name": "tomli", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Taneli Hukkinen", "purl": "pkg:pypi/tomli@2.4.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.4.0"}, {"bom-ref": "pkg:pypi/typing-extensions@4.15.0", "description": "Backported and Experimental Type Hints for Python 3.9+", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/typing-extensions/"}, {"type": "issue-tracker", "url": "https://github.com/python/typing_extensions/issues"}, {"type": "vcs", "url": "git+https://github.com/python/typing_extensions"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548"}], "licenses": [{"expression": "PSF-2.0"}], "name": "typing-extensions", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "\"Guido van Rossum, Jukka Lehtosalo, \u0141ukasz Langa, Michael Lee\"", "purl": "pkg:pypi/typing-extensions@4.15.0", "supplier": {"name": "Python Package Index (PyPI)"}, "tags": ["devel"], "type": "library", "version": "4.15.0"}, {"bom-ref": "pkg:pypi/typing-inspection@0.4.2", "description": "Runtime typing introspection tools", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/typing-inspection/"}, {"type": "vcs", "url": "git+https://github.com/pydantic/typing-inspection"}, {"type": "website", "url": "https://github.com/pydantic/typing-inspection"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7"}], "licenses": [{"expression": "MIT"}], "name": "typing-inspection", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Victorien Plot", "purl": "pkg:pypi/typing-inspection@0.4.2", "supplier": {"name": "Python Package Index (PyPI)"}, "tags": ["devel"], "type": "library", "version": "0.4.2"}, {"bom-ref": "pkg:pypi/urllib3@2.6.3", "description": "HTTP library with thread-safe connection pooling, file post, and more.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/urllib3/"}, {"type": "issue-tracker", "url": "https://github.com/urllib3/urllib3/issues"}, {"type": "vcs", "url": "git+https://github.com/urllib3/urllib3"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4"}], "licenses": [{"expression": "MIT"}], "name": "urllib3", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Andrey Petrov", "purl": "pkg:pypi/urllib3@2.6.3", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.6.3"}, {"bom-ref": "pkg:pypi/virtualenv@20.39.0", "description": "Virtual Python Environment builder", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/virtualenv/"}, {"type": "issue-tracker", "url": "https://github.com/pypa/virtualenv/issues"}, {"type": "vcs", "url": "git+https://github.com/pypa/virtualenv"}, {"type": "website", "url": "https://github.com/pypa/virtualenv"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "44888bba3775990a152ea1f73f8e5f566d49f11bbd1de61d426fd7732770043e"}], "licenses": [{"expression": "MIT"}], "name": "virtualenv", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Bernat Gabor", "purl": "pkg:pypi/virtualenv@20.39.0", "supplier": {"name": "Python Package Index (PyPI)"}, "tags": ["devel"], "type": "library", "version": "20.39.0"}], "dependencies": [{"ref": "pkg:pypi/annotated-types@0.7.0"}, {"ref": "pkg:pypi/certifi@2026.2.25"}, {"ref": "pkg:pypi/cfgv@3.5.0"}, {"ref": "pkg:pypi/charset-normalizer@3.4.4"}, {"ref": "pkg:pypi/colorama@0.4.6"}, {"ref": "pkg:pypi/coverage@7.13.4"}, {"ref": "pkg:pypi/distlib@0.4.0"}, {"ref": "pkg:pypi/filelock@3.24.3"}, {"ref": "pkg:pypi/identify@2.6.16"}, {"ref": "pkg:pypi/idna@3.11"}, {"ref": "pkg:pypi/iniconfig@2.3.0"}, {"ref": "pkg:pypi/librt@0.8.1"}, {"dependsOn": ["pkg:pypi/pydantic@2.12.5", "pkg:pypi/requests@2.32.5", "pkg:pypi/semver@3.0.4"], "ref": "pkg:pypi/libtea@0.5.0"}, {"dependsOn": ["pkg:pypi/mdurl@0.1.2"], "ref": "pkg:pypi/markdown-it-py@4.0.0"}, {"ref": "pkg:pypi/mdurl@0.1.2"}, {"ref": "pkg:pypi/mypy-extensions@1.1.0"}, {"ref": "pkg:pypi/nodeenv@1.10.0"}, {"ref": "pkg:pypi/packaging@26.0"}, {"ref": "pkg:pypi/pathspec@1.0.4"}, {"ref": "pkg:pypi/platformdirs@4.9.2"}, {"ref": "pkg:pypi/pluggy@1.6.0"}, {"dependsOn": ["pkg:pypi/typing-extensions@4.15.0"], "ref": "pkg:pypi/pydantic-core@2.41.5"}, {"dependsOn": ["pkg:pypi/annotated-types@0.7.0", "pkg:pypi/pydantic-core@2.41.5", "pkg:pypi/typing-extensions@4.15.0", "pkg:pypi/typing-inspection@0.4.2"], "ref": "pkg:pypi/pydantic@2.12.5"}, {"ref": "pkg:pypi/pygments@2.19.2"}, {"ref": "pkg:pypi/pyyaml@6.0.3"}, {"dependsOn": ["pkg:pypi/certifi@2026.2.25", "pkg:pypi/charset-normalizer@3.4.4", "pkg:pypi/idna@3.11", "pkg:pypi/urllib3@2.6.3"], "ref": "pkg:pypi/requests@2.32.5"}, {"ref": "pkg:pypi/semver@3.0.4"}, {"ref": "pkg:pypi/tomli@2.4.0"}, {"ref": "pkg:pypi/typing-extensions@4.15.0"}, {"dependsOn": ["pkg:pypi/typing-extensions@4.15.0"], "ref": "pkg:pypi/typing-inspection@0.4.2"}, {"ref": "pkg:pypi/urllib3@2.6.3"}, {"dependsOn": ["pkg:pypi/distlib@0.4.0", "pkg:pypi/filelock@3.24.3", "pkg:pypi/platformdirs@4.9.2"], "ref": "pkg:pypi/virtualenv@20.39.0"}], "metadata": {"authors": [{"name": "OWASP Foundation"}, {"email": "hello@sbomify.com", "name": "Viktor Petersson"}], "component": {"authors": [{"email": "hello@sbomify.com", "name": "sbomify"}], "bom-ref": "pkg:pypi/libtea@0.5.0", "description": "Python client library for the Transparency Exchange API (TEA)", "externalReferences": [{"type": "security-contact", "url": "mailto:hello@sbomify.com"}, {"comment": "Branch/ref: v0.5.0", "type": "vcs", "url": "git+https://github.com/sbomify/py-libtea@c5eaf1664561f2a68ac3ee495fbecfe667c0e1ec"}], "licenses": [{"license": {"id": "Apache-2.0", "url": "https://opensource.org/licenses/Apache-2.0"}}], "manufacturer": {"contact": [{"email": "hello@sbomify.com", "name": "Viktor Petersson"}], "name": "sbomify, ltd", "url": ["https://sbomify.com"]}, "name": "libtea", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "cdx:pypi:requiresPython", "value": ">=3.11"}], "purl": "pkg:pypi/libtea@0.5.0", "supplier": {"name": "sbomify, ltd", "url": ["https://sbomify.com"]}, "tags": ["cyclonedx", "sbom", "security", "supply-chain", "tea", "transparency-exchange-api", "vex"], "type": "application", "version": "0.5.0"}, "licenses": [{"license": {"name": "Apache-2.0"}}], "lifecycles": [{"phase": "build"}], "properties": [{"name": "cdx:bom:componentSrcFiles", "value": "pyproject.toml\\nuv.lock"}, {"name": "cdx:bom:componentTypes", "value": "pypi"}], "supplier": {"name": "sbomify, ltd", "url": ["https://sbomify.com"]}, "timestamp": "2026-03-11T06:29:41+00:00", "tools": {"components": [{"authors": [{"name": "OWASP Foundation"}], "bom-ref": "pkg:npm/@cyclonedx/cdxgen@12.1.0", "group": "@cyclonedx", "name": "cdxgen", "publisher": "OWASP Foundation", "purl": "pkg:npm/%40cyclonedx/cdxgen@12.1.0", "type": "application", "version": "12.1.0"}], "services": [{"externalReferences": [{"type": "issue-tracker", "url": "https://github.com/sbomify/sbomify-action/issues"}, {"type": "vcs", "url": "https://github.com/sbomify/sbomify-action"}, {"type": "website", "url": "https://sbomify.com"}], "group": "sbomify", "name": "sbomify action", "version": "0.14+22f7116"}]}}, "serialNumber": "urn:uuid:8ecb07ca-eaf7-4460-ac38-e01141cdfd04", "version": 1, "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json", "bomFormat": "CycloneDX", "specVersion": "1.6"}
|
|
@@ -84,7 +84,7 @@ def _distributions_table(distributions: Sequence[ReleaseDistribution], *, consol
|
|
|
84
84
|
if not distributions:
|
|
85
85
|
return
|
|
86
86
|
tbl = Table(title="Distributions")
|
|
87
|
-
tbl.add_column("Type")
|
|
87
|
+
tbl.add_column("ID / Type")
|
|
88
88
|
tbl.add_column("Description")
|
|
89
89
|
tbl.add_column("URL")
|
|
90
90
|
tbl.add_column("Signature URL")
|
|
@@ -93,9 +93,9 @@ def _distributions_table(distributions: Sequence[ReleaseDistribution], *, consol
|
|
|
93
93
|
checksums = (
|
|
94
94
|
", ".join(f"{_opt(cs.algorithm_type)}:{(_opt(cs.algorithm_value))[:12]}..." for cs in d.checksums) or "-"
|
|
95
95
|
)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
)
|
|
96
|
+
# Prefer v0.4.0 distribution_id, fall back to legacy distribution_type
|
|
97
|
+
id_or_type = d.distribution_id or d.distribution_type
|
|
98
|
+
tbl.add_row(_esc(id_or_type), _esc(d.description), _esc(d.url), _esc(d.signature_url), escape(checksums))
|
|
99
99
|
console.print(tbl)
|
|
100
100
|
|
|
101
101
|
|
|
@@ -111,7 +111,11 @@ def _artifacts_table(artifacts: Sequence[Artifact], *, console: Console) -> None
|
|
|
111
111
|
tbl.add_column("Formats")
|
|
112
112
|
for a in artifacts:
|
|
113
113
|
fmt_str = ", ".join(f.media_type or "?" for f in a.formats) or "-"
|
|
114
|
-
|
|
114
|
+
# Prefer v0.4.0 distribution_ids, fall back to legacy distribution_types.
|
|
115
|
+
# Use `is not None` so an explicitly empty list from a v0.4.0 server
|
|
116
|
+
# does not fall back to legacy data (empty tuple is falsy).
|
|
117
|
+
applies_seq = a.distribution_ids if a.distribution_ids is not None else (a.distribution_types or ())
|
|
118
|
+
applies = ", ".join(applies_seq) or "-"
|
|
115
119
|
tbl.add_row(_esc(a.uuid), _esc(a.name), _esc(a.type), escape(applies), escape(fmt_str))
|
|
116
120
|
console.print(tbl)
|
|
117
121
|
|
|
@@ -433,7 +437,7 @@ def _inspect_component_details(comp: dict[str, Any], *, console: Console) -> Non
|
|
|
433
437
|
if distributions:
|
|
434
438
|
comp_name = comp.get("name") or release.get("componentName", "Component")
|
|
435
439
|
tbl = Table(title=f"Distributions ({_esc(comp_name)})")
|
|
436
|
-
tbl.add_column("Type")
|
|
440
|
+
tbl.add_column("ID / Type")
|
|
437
441
|
tbl.add_column("Description")
|
|
438
442
|
tbl.add_column("URL")
|
|
439
443
|
tbl.add_column("Signature URL")
|
|
@@ -443,8 +447,10 @@ def _inspect_component_details(comp: dict[str, Any], *, console: Console) -> Non
|
|
|
443
447
|
checksums = (
|
|
444
448
|
", ".join(f"{cs.get('algType', '?')}:{cs.get('algValue', '')[:12]}..." for cs in checksums_list) or "-"
|
|
445
449
|
)
|
|
450
|
+
# Prefer v0.4.0 distributionId, fall back to legacy distributionType
|
|
451
|
+
id_or_type = d.get("distributionId") or d.get("distributionType")
|
|
446
452
|
tbl.add_row(
|
|
447
|
-
_esc(
|
|
453
|
+
_esc(id_or_type),
|
|
448
454
|
_esc(d.get("description")),
|
|
449
455
|
_esc(d.get("url")),
|
|
450
456
|
_esc(d.get("signatureUrl")),
|
|
@@ -470,7 +476,11 @@ def _inspect_component_details(comp: dict[str, Any], *, console: Console) -> Non
|
|
|
470
476
|
tbl.add_column("URL")
|
|
471
477
|
tbl.add_column("Signature URL")
|
|
472
478
|
for art in artifacts:
|
|
473
|
-
|
|
479
|
+
# Prefer v0.4.0 distributionIds, fall back to legacy distributionTypes.
|
|
480
|
+
# Use explicit key check so an empty v0.4.0 list does not fall back.
|
|
481
|
+
dist_ids = art.get("distributionIds")
|
|
482
|
+
applies_seq = dist_ids if dist_ids is not None else (art.get("distributionTypes") or [])
|
|
483
|
+
applies = ", ".join(applies_seq) or "-"
|
|
474
484
|
formats = art.get("formats", [])
|
|
475
485
|
if formats:
|
|
476
486
|
for fmt in formats:
|
|
@@ -498,11 +508,11 @@ def _inspect_component_details(comp: dict[str, Any], *, console: Console) -> Non
|
|
|
498
508
|
console.print(tbl)
|
|
499
509
|
|
|
500
510
|
|
|
501
|
-
def format_conformance(result: ConformanceResult, *, verbose: bool = False) -> None:
|
|
511
|
+
def format_conformance(result: ConformanceResult, *, verbose: bool = False, console: Console | None = None) -> None:
|
|
502
512
|
"""Format conformance results as a Rich table."""
|
|
503
513
|
from libtea.conformance._types import CheckStatus
|
|
504
514
|
|
|
505
|
-
console = Console()
|
|
515
|
+
console = console or Console()
|
|
506
516
|
console.print(f"\n[bold]TEA Conformance Report[/bold] — {escape(result.base_url)}")
|
|
507
517
|
console.print("━" * 60)
|
|
508
518
|
|