libtea 0.4.0__tar.gz → 0.5.1__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.
Files changed (29) hide show
  1. {libtea-0.4.0 → libtea-0.5.1}/PKG-INFO +7 -7
  2. {libtea-0.4.0 → libtea-0.5.1}/README.md +6 -6
  3. libtea-0.5.1/libtea.cdx.json +1 -0
  4. {libtea-0.4.0 → libtea-0.5.1}/pyproject.toml +1 -1
  5. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/__init__.py +15 -0
  6. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/_cli_fmt.py +72 -16
  7. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/_validation.py +6 -0
  8. libtea-0.5.1/src/libtea/cli.py +1394 -0
  9. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/client.py +128 -3
  10. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/conformance/__init__.py +1 -1
  11. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/conformance/_checks.py +19 -0
  12. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/conformance/_types.py +5 -0
  13. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/conformance/plugin.py +4 -0
  14. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/models.py +66 -3
  15. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/protocols.py +22 -0
  16. libtea-0.4.0/libtea.cdx.json +0 -1
  17. libtea-0.4.0/src/libtea/cli.py +0 -806
  18. {libtea-0.4.0 → libtea-0.5.1}/.gitignore +0 -0
  19. {libtea-0.4.0 → libtea-0.5.1}/LICENSE +0 -0
  20. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/_cli_entry.py +0 -0
  21. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/_constants.py +0 -0
  22. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/_hashing.py +0 -0
  23. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/_http.py +0 -0
  24. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/_security.py +0 -0
  25. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/conformance/_runner.py +0 -0
  26. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/discovery.py +0 -0
  27. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/exceptions.py +0 -0
  28. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/py.typed +0 -0
  29. {libtea-0.4.0 → libtea-0.5.1}/src/libtea/server.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libtea
3
- Version: 0.4.0
3
+ Version: 0.5.1
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
  [![License](https://img.shields.io/github/license/sbomify/py-libtea.svg)](https://github.com/sbomify/py-libtea/blob/master/LICENSE)
42
42
  [![sbomified](https://sbomify.com/assets/images/logo/badge.svg)](https://trust.sbomify.com/component/py-libtea/)
43
43
 
44
- Python client library for the [Transparency Exchange API (TEA)](https://transparency.exchange/) v0.3.0-beta.2.
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.3.0-beta.2",
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.3.0-beta.2", # default
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.3.0-beta.2")
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.3.0-beta.2", cache_ttl=300)
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 beta.2)
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
  [![License](https://img.shields.io/github/license/sbomify/py-libtea.svg)](https://github.com/sbomify/py-libtea/blob/master/LICENSE)
7
7
  [![sbomified](https://sbomify.com/assets/images/logo/badge.svg)](https://trust.sbomify.com/component/py-libtea/)
8
8
 
9
- Python client library for the [Transparency Exchange API (TEA)](https://transparency.exchange/) v0.3.0-beta.2.
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.3.0-beta.2",
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.3.0-beta.2", # default
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.3.0-beta.2")
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.3.0-beta.2", cache_ttl=300)
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 beta.2)
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.1"}, {"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.1", "description": "Python client library for the Transparency Exchange API (TEA)", "externalReferences": [{"type": "security-contact", "url": "mailto:hello@sbomify.com"}, {"comment": "Branch/ref: v0.5.1", "type": "vcs", "url": "git+https://github.com/sbomify/py-libtea@04038034fb6461c5cf3d0f4d75722c9012c5ad79"}], "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.1", "supplier": {"name": "sbomify, ltd", "url": ["https://sbomify.com"]}, "tags": ["cyclonedx", "sbom", "security", "supply-chain", "tea", "transparency-exchange-api", "vex"], "type": "application", "version": "0.5.1"}, "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-17T07:59:21+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:3e1298a2-3d26-42f6-a698-c5d4f6bd5b20", "version": 1, "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json", "bomFormat": "CycloneDX", "specVersion": "1.6"}
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "libtea"
3
- version = "0.4.0"
3
+ version = "0.5.1"
4
4
  description = "Python client library for the Transparency Exchange API (TEA)"
5
5
  authors = [{ name = "sbomify", email = "hello@sbomify.com" }]
6
6
  requires-python = ">=3.11"
@@ -111,6 +111,9 @@ if TYPE_CHECKING:
111
111
  from libtea.models import (
112
112
  CollectionUpdateReasonType as CollectionUpdateReasonType,
113
113
  )
114
+ from libtea.models import (
115
+ ComplianceDocumentType as ComplianceDocumentType,
116
+ )
114
117
  from libtea.models import (
115
118
  Component as Component,
116
119
  )
@@ -135,6 +138,12 @@ if TYPE_CHECKING:
135
138
  from libtea.models import (
136
139
  IdentifierType as IdentifierType,
137
140
  )
141
+ from libtea.models import (
142
+ PaginatedComponentReleaseResponse as PaginatedComponentReleaseResponse,
143
+ )
144
+ from libtea.models import (
145
+ PaginatedComponentResponse as PaginatedComponentResponse,
146
+ )
138
147
  from libtea.models import (
139
148
  PaginatedProductReleaseResponse as PaginatedProductReleaseResponse,
140
149
  )
@@ -207,6 +216,7 @@ __all__ = [
207
216
  "CollectionBelongsTo",
208
217
  "CollectionUpdateReason",
209
218
  "CollectionUpdateReasonType",
219
+ "ComplianceDocumentType",
210
220
  "Component",
211
221
  "ComponentRef",
212
222
  "ComponentReleaseWithCollection",
@@ -215,6 +225,8 @@ __all__ = [
215
225
  "ErrorType",
216
226
  "Identifier",
217
227
  "IdentifierType",
228
+ "PaginatedComponentReleaseResponse",
229
+ "PaginatedComponentResponse",
218
230
  "PaginatedProductReleaseResponse",
219
231
  "PaginatedProductResponse",
220
232
  "Product",
@@ -266,6 +278,7 @@ _LAZY_IMPORTS: dict[str, str] = {
266
278
  "CollectionBelongsTo": "libtea.models",
267
279
  "CollectionUpdateReason": "libtea.models",
268
280
  "CollectionUpdateReasonType": "libtea.models",
281
+ "ComplianceDocumentType": "libtea.models",
269
282
  "Component": "libtea.models",
270
283
  "ComponentRef": "libtea.models",
271
284
  "ComponentReleaseWithCollection": "libtea.models",
@@ -274,6 +287,8 @@ _LAZY_IMPORTS: dict[str, str] = {
274
287
  "ErrorType": "libtea.models",
275
288
  "Identifier": "libtea.models",
276
289
  "IdentifierType": "libtea.models",
290
+ "PaginatedComponentReleaseResponse": "libtea.models",
291
+ "PaginatedComponentResponse": "libtea.models",
277
292
  "PaginatedProductReleaseResponse": "libtea.models",
278
293
  "PaginatedProductResponse": "libtea.models",
279
294
  "Product": "libtea.models",
@@ -31,6 +31,8 @@ from libtea.models import (
31
31
  ComponentReleaseWithCollection,
32
32
  DiscoveryInfo,
33
33
  Identifier,
34
+ PaginatedComponentReleaseResponse,
35
+ PaginatedComponentResponse,
34
36
  PaginatedProductReleaseResponse,
35
37
  PaginatedProductResponse,
36
38
  Product,
@@ -70,7 +72,14 @@ def _kv_panel(title: str, fields: list[tuple[str, str]], *, console: Console) ->
70
72
  console.print(Panel("\n".join(lines), title=escape(title), expand=False))
71
73
 
72
74
 
73
- def _pagination_header(data: PaginatedProductResponse | PaginatedProductReleaseResponse, *, console: Console) -> None:
75
+ def _pagination_header(
76
+ data: PaginatedProductResponse
77
+ | PaginatedProductReleaseResponse
78
+ | PaginatedComponentResponse
79
+ | PaginatedComponentReleaseResponse,
80
+ *,
81
+ console: Console,
82
+ ) -> None:
74
83
  """Render a dim pagination summary line."""
75
84
  if not data.results:
76
85
  console.print(Text(f"No results (total: {data.total_results})", style="dim"))
@@ -84,7 +93,7 @@ def _distributions_table(distributions: Sequence[ReleaseDistribution], *, consol
84
93
  if not distributions:
85
94
  return
86
95
  tbl = Table(title="Distributions")
87
- tbl.add_column("Type")
96
+ tbl.add_column("ID / Type")
88
97
  tbl.add_column("Description")
89
98
  tbl.add_column("URL")
90
99
  tbl.add_column("Signature URL")
@@ -93,9 +102,9 @@ def _distributions_table(distributions: Sequence[ReleaseDistribution], *, consol
93
102
  checksums = (
94
103
  ", ".join(f"{_opt(cs.algorithm_type)}:{(_opt(cs.algorithm_value))[:12]}..." for cs in d.checksums) or "-"
95
104
  )
96
- tbl.add_row(
97
- _esc(d.distribution_type), _esc(d.description), _esc(d.url), _esc(d.signature_url), escape(checksums)
98
- )
105
+ # Prefer v0.4.0 distribution_id, fall back to legacy distribution_type
106
+ id_or_type = d.distribution_id or d.distribution_type
107
+ tbl.add_row(_esc(id_or_type), _esc(d.description), _esc(d.url), _esc(d.signature_url), escape(checksums))
99
108
  console.print(tbl)
100
109
 
101
110
 
@@ -111,7 +120,11 @@ def _artifacts_table(artifacts: Sequence[Artifact], *, console: Console) -> None
111
120
  tbl.add_column("Formats")
112
121
  for a in artifacts:
113
122
  fmt_str = ", ".join(f.media_type or "?" for f in a.formats) or "-"
114
- applies = ", ".join(a.distribution_types) if a.distribution_types else "-"
123
+ # Prefer v0.4.0 distribution_ids, fall back to legacy distribution_types.
124
+ # Use `is not None` so an explicitly empty list from a v0.4.0 server
125
+ # does not fall back to legacy data (empty tuple is falsy).
126
+ applies_seq = a.distribution_ids if a.distribution_ids is not None else (a.distribution_types or ())
127
+ applies = ", ".join(applies_seq) or "-"
115
128
  tbl.add_row(_esc(a.uuid), _esc(a.name), _esc(a.type), escape(applies), escape(fmt_str))
116
129
  console.print(tbl)
117
130
 
@@ -178,6 +191,34 @@ def fmt_search_releases(data: PaginatedProductReleaseResponse, *, console: Conso
178
191
  console.print(tbl)
179
192
 
180
193
 
194
+ def fmt_search_components(data: PaginatedComponentResponse, *, console: Console) -> None:
195
+ """Render paginated component search results."""
196
+ _pagination_header(data, console=console)
197
+ tbl = Table(title="Components")
198
+ tbl.add_column("UUID", style="cyan", no_wrap=True)
199
+ tbl.add_column("Name")
200
+ tbl.add_column("Identifiers")
201
+ for c in data.results:
202
+ tbl.add_row(escape(c.uuid), escape(c.name), escape(_fmt_identifiers(c.identifiers)))
203
+ console.print(tbl)
204
+
205
+
206
+ def fmt_search_component_releases(data: PaginatedComponentReleaseResponse, *, console: Console) -> None:
207
+ """Render paginated component-release search results."""
208
+ _pagination_header(data, console=console)
209
+ tbl = Table(title="Component Releases")
210
+ tbl.add_column("UUID", style="cyan", no_wrap=True)
211
+ tbl.add_column("Version")
212
+ tbl.add_column("Component")
213
+ tbl.add_column("Release Date")
214
+ tbl.add_column("Pre-release")
215
+ for r in data.results:
216
+ tbl.add_row(
217
+ escape(r.uuid), escape(r.version), _esc(r.component_name), _esc(r.release_date), _esc(r.pre_release)
218
+ )
219
+ console.print(tbl)
220
+
221
+
181
222
  def fmt_product(data: Product, *, console: Console) -> None:
182
223
  """Render a single product as a panel."""
183
224
  _kv_panel(
@@ -265,11 +306,16 @@ def fmt_collection(data: Collection, *, console: Console) -> None:
265
306
 
266
307
  def fmt_artifact(data: Artifact, *, console: Console) -> None:
267
308
  """Render artifact metadata as a panel with formats table."""
268
- _kv_panel(
269
- "Artifact",
270
- [("UUID", _opt(data.uuid)), ("Name", _opt(data.name)), ("Type", _opt(data.type))],
271
- console=console,
272
- )
309
+ fields: list[tuple[str, str]] = [
310
+ ("UUID", _opt(data.uuid)),
311
+ ("Name", _opt(data.name)),
312
+ ("Type", _opt(data.type)),
313
+ ]
314
+ if data.version is not None:
315
+ fields.append(("Version", str(data.version)))
316
+ if data.created_date is not None:
317
+ fields.append(("Created", str(data.created_date)))
318
+ _kv_panel("Artifact", fields, console=console)
273
319
  _formats_table(data.formats, console=console)
274
320
 
275
321
 
@@ -433,7 +479,7 @@ def _inspect_component_details(comp: dict[str, Any], *, console: Console) -> Non
433
479
  if distributions:
434
480
  comp_name = comp.get("name") or release.get("componentName", "Component")
435
481
  tbl = Table(title=f"Distributions ({_esc(comp_name)})")
436
- tbl.add_column("Type")
482
+ tbl.add_column("ID / Type")
437
483
  tbl.add_column("Description")
438
484
  tbl.add_column("URL")
439
485
  tbl.add_column("Signature URL")
@@ -443,8 +489,10 @@ def _inspect_component_details(comp: dict[str, Any], *, console: Console) -> Non
443
489
  checksums = (
444
490
  ", ".join(f"{cs.get('algType', '?')}:{cs.get('algValue', '')[:12]}..." for cs in checksums_list) or "-"
445
491
  )
492
+ # Prefer v0.4.0 distributionId, fall back to legacy distributionType
493
+ id_or_type = d.get("distributionId") or d.get("distributionType")
446
494
  tbl.add_row(
447
- _esc(d.get("distributionType")),
495
+ _esc(id_or_type),
448
496
  _esc(d.get("description")),
449
497
  _esc(d.get("url")),
450
498
  _esc(d.get("signatureUrl")),
@@ -470,7 +518,11 @@ def _inspect_component_details(comp: dict[str, Any], *, console: Console) -> Non
470
518
  tbl.add_column("URL")
471
519
  tbl.add_column("Signature URL")
472
520
  for art in artifacts:
473
- applies = ", ".join(art.get("distributionTypes") or []) or "-"
521
+ # Prefer v0.4.0 distributionIds, fall back to legacy distributionTypes.
522
+ # Use explicit key check so an empty v0.4.0 list does not fall back.
523
+ dist_ids = art.get("distributionIds")
524
+ applies_seq = dist_ids if dist_ids is not None else (art.get("distributionTypes") or [])
525
+ applies = ", ".join(applies_seq) or "-"
474
526
  formats = art.get("formats", [])
475
527
  if formats:
476
528
  for fmt in formats:
@@ -498,11 +550,11 @@ def _inspect_component_details(comp: dict[str, Any], *, console: Console) -> Non
498
550
  console.print(tbl)
499
551
 
500
552
 
501
- def format_conformance(result: ConformanceResult, *, verbose: bool = False) -> None:
553
+ def format_conformance(result: ConformanceResult, *, verbose: bool = False, console: Console | None = None) -> None:
502
554
  """Format conformance results as a Rich table."""
503
555
  from libtea.conformance._types import CheckStatus
504
556
 
505
- console = Console()
557
+ console = console or Console()
506
558
  console.print(f"\n[bold]TEA Conformance Report[/bold] — {escape(result.base_url)}")
507
559
  console.print("━" * 60)
508
560
 
@@ -515,6 +567,7 @@ def format_conformance(result: ConformanceResult, *, verbose: bool = False) -> N
515
567
  CheckStatus.PASS: "[green]PASS[/green]",
516
568
  CheckStatus.FAIL: "[red]FAIL[/red]",
517
569
  CheckStatus.SKIP: "[yellow]SKIP[/yellow]",
570
+ CheckStatus.WARN: "[bold yellow]WARN[/bold yellow]",
518
571
  }
519
572
 
520
573
  for check in result.checks:
@@ -532,6 +585,7 @@ def format_conformance(result: ConformanceResult, *, verbose: bool = False) -> N
532
585
  console.print(
533
586
  f"Results: [green]{result.passed} passed[/green], "
534
587
  f"[red]{result.failed} failed[/red], "
588
+ f"[bold yellow]{result.warned} warned[/bold yellow], "
535
589
  f"[yellow]{result.skipped} skipped[/yellow]"
536
590
  )
537
591
 
@@ -548,6 +602,8 @@ _TYPE_FORMATTERS = {
548
602
  CLE: fmt_cle,
549
603
  PaginatedProductResponse: fmt_search_products,
550
604
  PaginatedProductReleaseResponse: fmt_search_releases,
605
+ PaginatedComponentResponse: fmt_search_components,
606
+ PaginatedComponentReleaseResponse: fmt_search_component_releases,
551
607
  }
552
608
 
553
609
 
@@ -80,3 +80,9 @@ def _validate_collection_version(version: int) -> None:
80
80
  """Validate that a collection version number is >= 1 per spec."""
81
81
  if version < 1:
82
82
  raise TeaValidationError(f"Collection version must be >= 1, got {version}")
83
+
84
+
85
+ def _validate_artifact_version(version: int) -> None:
86
+ """Validate that an artifact version number is >= 1 per spec."""
87
+ if version < 1:
88
+ raise TeaValidationError(f"Artifact version must be >= 1, got {version}")