libtea 0.5.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.
- {libtea-0.5.0 → libtea-0.5.1}/PKG-INFO +1 -1
- {libtea-0.5.0 → libtea-0.5.1}/libtea.cdx.json +1 -1
- {libtea-0.5.0 → libtea-0.5.1}/pyproject.toml +1 -1
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/__init__.py +15 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/_cli_fmt.py +52 -6
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/_validation.py +6 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/cli.py +99 -1
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/client.py +127 -2
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/conformance/__init__.py +1 -1
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/conformance/_checks.py +19 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/conformance/_types.py +5 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/conformance/plugin.py +4 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/models.py +51 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/protocols.py +22 -0
- {libtea-0.5.0 → libtea-0.5.1}/.gitignore +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/LICENSE +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/README.md +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/_cli_entry.py +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/_constants.py +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/_hashing.py +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/_http.py +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/_security.py +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/conformance/_runner.py +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/discovery.py +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/exceptions.py +0 -0
- {libtea-0.5.0 → libtea-0.5.1}/src/libtea/py.typed +0 -0
- {libtea-0.5.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.5.
|
|
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
|
|
@@ -1 +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"}
|
|
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"}
|
|
@@ -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(
|
|
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"))
|
|
@@ -182,6 +191,34 @@ def fmt_search_releases(data: PaginatedProductReleaseResponse, *, console: Conso
|
|
|
182
191
|
console.print(tbl)
|
|
183
192
|
|
|
184
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
|
+
|
|
185
222
|
def fmt_product(data: Product, *, console: Console) -> None:
|
|
186
223
|
"""Render a single product as a panel."""
|
|
187
224
|
_kv_panel(
|
|
@@ -269,11 +306,16 @@ def fmt_collection(data: Collection, *, console: Console) -> None:
|
|
|
269
306
|
|
|
270
307
|
def fmt_artifact(data: Artifact, *, console: Console) -> None:
|
|
271
308
|
"""Render artifact metadata as a panel with formats table."""
|
|
272
|
-
|
|
273
|
-
"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
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)
|
|
277
319
|
_formats_table(data.formats, console=console)
|
|
278
320
|
|
|
279
321
|
|
|
@@ -525,6 +567,7 @@ def format_conformance(result: ConformanceResult, *, verbose: bool = False, cons
|
|
|
525
567
|
CheckStatus.PASS: "[green]PASS[/green]",
|
|
526
568
|
CheckStatus.FAIL: "[red]FAIL[/red]",
|
|
527
569
|
CheckStatus.SKIP: "[yellow]SKIP[/yellow]",
|
|
570
|
+
CheckStatus.WARN: "[bold yellow]WARN[/bold yellow]",
|
|
528
571
|
}
|
|
529
572
|
|
|
530
573
|
for check in result.checks:
|
|
@@ -542,6 +585,7 @@ def format_conformance(result: ConformanceResult, *, verbose: bool = False, cons
|
|
|
542
585
|
console.print(
|
|
543
586
|
f"Results: [green]{result.passed} passed[/green], "
|
|
544
587
|
f"[red]{result.failed} failed[/red], "
|
|
588
|
+
f"[bold yellow]{result.warned} warned[/bold yellow], "
|
|
545
589
|
f"[yellow]{result.skipped} skipped[/yellow]"
|
|
546
590
|
)
|
|
547
591
|
|
|
@@ -558,6 +602,8 @@ _TYPE_FORMATTERS = {
|
|
|
558
602
|
CLE: fmt_cle,
|
|
559
603
|
PaginatedProductResponse: fmt_search_products,
|
|
560
604
|
PaginatedProductReleaseResponse: fmt_search_releases,
|
|
605
|
+
PaginatedComponentResponse: fmt_search_components,
|
|
606
|
+
PaginatedComponentReleaseResponse: fmt_search_component_releases,
|
|
561
607
|
}
|
|
562
608
|
|
|
563
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}")
|
|
@@ -794,6 +794,74 @@ def get_cle(
|
|
|
794
794
|
_output(result)
|
|
795
795
|
|
|
796
796
|
|
|
797
|
+
@app.command("search-components")
|
|
798
|
+
@click.option("--id-type", required=True, help="Identifier type (CPE, TEI, PURL)")
|
|
799
|
+
@click.option("--id-value", required=True, help="Identifier value")
|
|
800
|
+
@click.option("--page-offset", type=int, default=0, help="Page offset")
|
|
801
|
+
@click.option("--page-size", type=int, default=100, help="Page size")
|
|
802
|
+
@shared_options
|
|
803
|
+
def search_components(
|
|
804
|
+
id_type: str,
|
|
805
|
+
id_value: str,
|
|
806
|
+
page_offset: int,
|
|
807
|
+
page_size: int,
|
|
808
|
+
base_url: str | None,
|
|
809
|
+
token: str | None,
|
|
810
|
+
auth: str | None,
|
|
811
|
+
domain: str | None,
|
|
812
|
+
timeout: float,
|
|
813
|
+
use_http: bool,
|
|
814
|
+
port: int | None,
|
|
815
|
+
allow_private_ips: bool,
|
|
816
|
+
) -> None:
|
|
817
|
+
"""Search for components by identifier.
|
|
818
|
+
|
|
819
|
+
\b
|
|
820
|
+
Examples:
|
|
821
|
+
tea-cli search-components --id-type PURL --id-value 'pkg:pypi/requests' --domain example.com
|
|
822
|
+
tea-cli search-components --id-type CPE --id-value 'cpe:2.3:a:*:requests:*' --base-url https://tea.example.com
|
|
823
|
+
"""
|
|
824
|
+
with _client_session(
|
|
825
|
+
base_url, token, domain, timeout, use_http, port, auth, allow_private_ips=allow_private_ips
|
|
826
|
+
) as client:
|
|
827
|
+
result = client.search_components(id_type, id_value, page_offset=page_offset, page_size=page_size)
|
|
828
|
+
_output(result)
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
@app.command("search-component-releases")
|
|
832
|
+
@click.option("--id-type", required=True, help="Identifier type (CPE, TEI, PURL)")
|
|
833
|
+
@click.option("--id-value", required=True, help="Identifier value")
|
|
834
|
+
@click.option("--page-offset", type=int, default=0, help="Page offset")
|
|
835
|
+
@click.option("--page-size", type=int, default=100, help="Page size")
|
|
836
|
+
@shared_options
|
|
837
|
+
def search_component_releases(
|
|
838
|
+
id_type: str,
|
|
839
|
+
id_value: str,
|
|
840
|
+
page_offset: int,
|
|
841
|
+
page_size: int,
|
|
842
|
+
base_url: str | None,
|
|
843
|
+
token: str | None,
|
|
844
|
+
auth: str | None,
|
|
845
|
+
domain: str | None,
|
|
846
|
+
timeout: float,
|
|
847
|
+
use_http: bool,
|
|
848
|
+
port: int | None,
|
|
849
|
+
allow_private_ips: bool,
|
|
850
|
+
) -> None:
|
|
851
|
+
"""Search for component releases by identifier.
|
|
852
|
+
|
|
853
|
+
\b
|
|
854
|
+
Examples:
|
|
855
|
+
tea-cli search-component-releases --id-type PURL --id-value 'pkg:pypi/requests' --domain example.com
|
|
856
|
+
tea-cli search-component-releases --id-type TEI --id-value 'urn:tei:...' --json
|
|
857
|
+
"""
|
|
858
|
+
with _client_session(
|
|
859
|
+
base_url, token, domain, timeout, use_http, port, auth, allow_private_ips=allow_private_ips
|
|
860
|
+
) as client:
|
|
861
|
+
result = client.search_component_releases(id_type, id_value, page_offset=page_offset, page_size=page_size)
|
|
862
|
+
_output(result)
|
|
863
|
+
|
|
864
|
+
|
|
797
865
|
@app.command("get-artifact")
|
|
798
866
|
@click.argument("uuid")
|
|
799
867
|
@shared_options
|
|
@@ -808,7 +876,7 @@ def get_artifact(
|
|
|
808
876
|
port: int | None,
|
|
809
877
|
allow_private_ips: bool,
|
|
810
878
|
) -> None:
|
|
811
|
-
"""Get artifact metadata by UUID.
|
|
879
|
+
"""Get the latest revision of artifact metadata by UUID.
|
|
812
880
|
|
|
813
881
|
\b
|
|
814
882
|
Examples:
|
|
@@ -822,6 +890,36 @@ def get_artifact(
|
|
|
822
890
|
_output(result)
|
|
823
891
|
|
|
824
892
|
|
|
893
|
+
@app.command("get-artifact-version")
|
|
894
|
+
@click.argument("uuid")
|
|
895
|
+
@click.argument("version", type=int)
|
|
896
|
+
@shared_options
|
|
897
|
+
def get_artifact_version(
|
|
898
|
+
uuid: str,
|
|
899
|
+
version: int,
|
|
900
|
+
base_url: str | None,
|
|
901
|
+
token: str | None,
|
|
902
|
+
auth: str | None,
|
|
903
|
+
domain: str | None,
|
|
904
|
+
timeout: float,
|
|
905
|
+
use_http: bool,
|
|
906
|
+
port: int | None,
|
|
907
|
+
allow_private_ips: bool,
|
|
908
|
+
) -> None:
|
|
909
|
+
"""Get a specific version of artifact metadata by UUID.
|
|
910
|
+
|
|
911
|
+
\b
|
|
912
|
+
Examples:
|
|
913
|
+
tea-cli get-artifact-version 550e8400-e29b-41d4-a716-446655440000 1 --base-url https://tea.example.com
|
|
914
|
+
tea-cli get-artifact-version 550e8400-e29b-41d4-a716-446655440000 2 --json
|
|
915
|
+
"""
|
|
916
|
+
with _client_session(
|
|
917
|
+
base_url, token, domain, timeout, use_http, port, auth, allow_private_ips=allow_private_ips
|
|
918
|
+
) as client:
|
|
919
|
+
result = client.get_artifact_version(uuid, version)
|
|
920
|
+
_output(result)
|
|
921
|
+
|
|
922
|
+
|
|
825
923
|
_MEDIA_TYPE_EXTENSIONS: dict[str, str] = {
|
|
826
924
|
"application/json": ".json",
|
|
827
925
|
"application/xml": ".xml",
|
|
@@ -19,6 +19,7 @@ from libtea._hashing import WEAK_HASH_ALGORITHMS
|
|
|
19
19
|
from libtea._http import TeaHttpClient, probe_endpoint
|
|
20
20
|
from libtea._validation import (
|
|
21
21
|
_validate,
|
|
22
|
+
_validate_artifact_version,
|
|
22
23
|
_validate_collection_version,
|
|
23
24
|
_validate_list,
|
|
24
25
|
_validate_page_offset,
|
|
@@ -40,6 +41,8 @@ from libtea.models import (
|
|
|
40
41
|
Component,
|
|
41
42
|
ComponentReleaseWithCollection,
|
|
42
43
|
DiscoveryInfo,
|
|
44
|
+
PaginatedComponentReleaseResponse,
|
|
45
|
+
PaginatedComponentResponse,
|
|
43
46
|
PaginatedProductReleaseResponse,
|
|
44
47
|
PaginatedProductResponse,
|
|
45
48
|
Product,
|
|
@@ -388,6 +391,46 @@ class TeaClient:
|
|
|
388
391
|
data = self._http.get_json(f"/component/{_validate_path_segment(uuid)}/releases")
|
|
389
392
|
return _validate_list(Release, data)
|
|
390
393
|
|
|
394
|
+
def list_components(self, *, page_offset: int = 0, page_size: int = 100) -> PaginatedComponentResponse:
|
|
395
|
+
"""List all components (no identifier filter).
|
|
396
|
+
|
|
397
|
+
Args:
|
|
398
|
+
page_offset: Zero-based page offset (default 0).
|
|
399
|
+
page_size: Number of results per page (default 100, max 10000).
|
|
400
|
+
|
|
401
|
+
Returns:
|
|
402
|
+
Paginated response containing components.
|
|
403
|
+
"""
|
|
404
|
+
_validate_page_size(page_size)
|
|
405
|
+
_validate_page_offset(page_offset)
|
|
406
|
+
data = self._http.get_json(
|
|
407
|
+
"/components",
|
|
408
|
+
params={"pageOffset": page_offset, "pageSize": page_size},
|
|
409
|
+
)
|
|
410
|
+
return _validate(PaginatedComponentResponse, data)
|
|
411
|
+
|
|
412
|
+
def search_components(
|
|
413
|
+
self, id_type: str, id_value: str, *, page_offset: int = 0, page_size: int = 100
|
|
414
|
+
) -> PaginatedComponentResponse:
|
|
415
|
+
"""Search for components by identifier (e.g. PURL, CPE, TEI).
|
|
416
|
+
|
|
417
|
+
Args:
|
|
418
|
+
id_type: Identifier type (e.g. ``"PURL"``, ``"CPE"``, ``"TEI"``).
|
|
419
|
+
id_value: Identifier value to search for.
|
|
420
|
+
page_offset: Zero-based page offset (default 0).
|
|
421
|
+
page_size: Number of results per page (default 100, max 10000).
|
|
422
|
+
|
|
423
|
+
Returns:
|
|
424
|
+
Paginated response containing matching components.
|
|
425
|
+
"""
|
|
426
|
+
_validate_page_size(page_size)
|
|
427
|
+
_validate_page_offset(page_offset)
|
|
428
|
+
data = self._http.get_json(
|
|
429
|
+
"/components",
|
|
430
|
+
params={"idType": id_type, "idValue": id_value, "pageOffset": page_offset, "pageSize": page_size},
|
|
431
|
+
)
|
|
432
|
+
return _validate(PaginatedComponentResponse, data)
|
|
433
|
+
|
|
391
434
|
# --- Component Releases ---
|
|
392
435
|
|
|
393
436
|
def get_component_release(self, uuid: str) -> ComponentReleaseWithCollection:
|
|
@@ -440,6 +483,48 @@ class TeaClient:
|
|
|
440
483
|
data = self._http.get_json(f"/componentRelease/{_validate_path_segment(uuid)}/collection/{version}")
|
|
441
484
|
return _validate(Collection, data)
|
|
442
485
|
|
|
486
|
+
def list_component_releases(
|
|
487
|
+
self, *, page_offset: int = 0, page_size: int = 100
|
|
488
|
+
) -> PaginatedComponentReleaseResponse:
|
|
489
|
+
"""List all component releases (no identifier filter).
|
|
490
|
+
|
|
491
|
+
Args:
|
|
492
|
+
page_offset: Zero-based page offset (default 0).
|
|
493
|
+
page_size: Number of results per page (default 100, max 10000).
|
|
494
|
+
|
|
495
|
+
Returns:
|
|
496
|
+
Paginated response containing component releases.
|
|
497
|
+
"""
|
|
498
|
+
_validate_page_size(page_size)
|
|
499
|
+
_validate_page_offset(page_offset)
|
|
500
|
+
data = self._http.get_json(
|
|
501
|
+
"/componentReleases",
|
|
502
|
+
params={"pageOffset": page_offset, "pageSize": page_size},
|
|
503
|
+
)
|
|
504
|
+
return _validate(PaginatedComponentReleaseResponse, data)
|
|
505
|
+
|
|
506
|
+
def search_component_releases(
|
|
507
|
+
self, id_type: str, id_value: str, *, page_offset: int = 0, page_size: int = 100
|
|
508
|
+
) -> PaginatedComponentReleaseResponse:
|
|
509
|
+
"""Search for component releases by identifier (e.g. PURL, CPE, TEI).
|
|
510
|
+
|
|
511
|
+
Args:
|
|
512
|
+
id_type: Identifier type (e.g. ``"PURL"``, ``"CPE"``, ``"TEI"``).
|
|
513
|
+
id_value: Identifier value to search for.
|
|
514
|
+
page_offset: Zero-based page offset (default 0).
|
|
515
|
+
page_size: Number of results per page (default 100, max 10000).
|
|
516
|
+
|
|
517
|
+
Returns:
|
|
518
|
+
Paginated response containing matching component releases.
|
|
519
|
+
"""
|
|
520
|
+
_validate_page_size(page_size)
|
|
521
|
+
_validate_page_offset(page_offset)
|
|
522
|
+
data = self._http.get_json(
|
|
523
|
+
"/componentReleases",
|
|
524
|
+
params={"idType": id_type, "idValue": id_value, "pageOffset": page_offset, "pageSize": page_size},
|
|
525
|
+
)
|
|
526
|
+
return _validate(PaginatedComponentReleaseResponse, data)
|
|
527
|
+
|
|
443
528
|
# --- CLE ---
|
|
444
529
|
|
|
445
530
|
def get_product_cle(self, uuid: str) -> CLE:
|
|
@@ -493,15 +578,29 @@ class TeaClient:
|
|
|
493
578
|
# --- Artifacts ---
|
|
494
579
|
|
|
495
580
|
def get_artifact(self, uuid: str) -> Artifact:
|
|
496
|
-
"""Get artifact metadata by UUID.
|
|
581
|
+
"""Get the latest revision of artifact metadata by UUID.
|
|
582
|
+
|
|
583
|
+
Args:
|
|
584
|
+
uuid: Artifact UUID.
|
|
585
|
+
|
|
586
|
+
Returns:
|
|
587
|
+
The artifact with its formats and download URLs.
|
|
588
|
+
"""
|
|
589
|
+
data = self._http.get_json(f"/artifact/{_validate_path_segment(uuid)}/latest")
|
|
590
|
+
return _validate(Artifact, data)
|
|
591
|
+
|
|
592
|
+
def get_artifact_version(self, uuid: str, version: int) -> Artifact:
|
|
593
|
+
"""Get a specific version of artifact metadata by UUID.
|
|
497
594
|
|
|
498
595
|
Args:
|
|
499
596
|
uuid: Artifact UUID.
|
|
597
|
+
version: Artifact version number (starts at 1).
|
|
500
598
|
|
|
501
599
|
Returns:
|
|
502
600
|
The artifact with its formats and download URLs.
|
|
503
601
|
"""
|
|
504
|
-
|
|
602
|
+
_validate_artifact_version(version)
|
|
603
|
+
data = self._http.get_json(f"/artifact/{_validate_path_segment(uuid)}/{version}")
|
|
505
604
|
return _validate(Artifact, data)
|
|
506
605
|
|
|
507
606
|
def download_artifact(
|
|
@@ -653,6 +752,32 @@ class TeaClient:
|
|
|
653
752
|
"""
|
|
654
753
|
return self._paginate(self.get_product_releases, page_size, uuid=uuid)
|
|
655
754
|
|
|
755
|
+
def iter_components(self, id_type: str, id_value: str, *, page_size: int = 100) -> Iterator[Component]:
|
|
756
|
+
"""Iterate over all components matching an identifier, auto-paginating.
|
|
757
|
+
|
|
758
|
+
Args:
|
|
759
|
+
id_type: Identifier type (e.g. ``"PURL"``, ``"CPE"``).
|
|
760
|
+
id_value: Identifier value to search for.
|
|
761
|
+
page_size: Number of results per page (default 100).
|
|
762
|
+
|
|
763
|
+
Yields:
|
|
764
|
+
Each matching :class:`Component`.
|
|
765
|
+
"""
|
|
766
|
+
return self._paginate(self.search_components, page_size, id_type=id_type, id_value=id_value)
|
|
767
|
+
|
|
768
|
+
def iter_component_releases(self, id_type: str, id_value: str, *, page_size: int = 100) -> Iterator[Release]:
|
|
769
|
+
"""Iterate over all component releases matching an identifier, auto-paginating.
|
|
770
|
+
|
|
771
|
+
Args:
|
|
772
|
+
id_type: Identifier type (e.g. ``"PURL"``, ``"CPE"``).
|
|
773
|
+
id_value: Identifier value to search for.
|
|
774
|
+
page_size: Number of results per page (default 100).
|
|
775
|
+
|
|
776
|
+
Yields:
|
|
777
|
+
Each matching :class:`Release`.
|
|
778
|
+
"""
|
|
779
|
+
return self._paginate(self.search_component_releases, page_size, id_type=id_type, id_value=id_value)
|
|
780
|
+
|
|
656
781
|
# --- Bulk fetch ---
|
|
657
782
|
|
|
658
783
|
def get_products(self, uuids: list[str], *, max_workers: int = 5) -> list[Product]:
|
|
@@ -4,7 +4,7 @@ Usage (programmatic)::
|
|
|
4
4
|
|
|
5
5
|
from libtea.conformance import run_conformance
|
|
6
6
|
result = run_conformance(base_url="https://tea.example.com/v1", tei="urn:tei:...")
|
|
7
|
-
print(f"{result.passed} passed, {result.failed} failed, {result.skipped} skipped")
|
|
7
|
+
print(f"{result.passed} passed, {result.failed} failed, {result.warned} warned, {result.skipped} skipped")
|
|
8
8
|
|
|
9
9
|
Usage (CLI)::
|
|
10
10
|
|
|
@@ -60,6 +60,10 @@ def _skip(name: str, msg: str) -> CheckResult:
|
|
|
60
60
|
return CheckResult(name=name, status=CheckStatus.SKIP, message=msg)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
+
def _warn(name: str, msg: str) -> CheckResult:
|
|
64
|
+
return CheckResult(name=name, status=CheckStatus.WARN, message=msg)
|
|
65
|
+
|
|
66
|
+
|
|
63
67
|
def _collect(ctx: CheckContext, uuid: str | None) -> None:
|
|
64
68
|
"""Append a UUID to the collected list if it looks non-empty."""
|
|
65
69
|
if uuid:
|
|
@@ -375,6 +379,20 @@ def check_get_artifact(client: TeaClient, ctx: CheckContext) -> CheckResult:
|
|
|
375
379
|
return _pass(name, f"Got artifact: {artifact.name or artifact.uuid}")
|
|
376
380
|
|
|
377
381
|
|
|
382
|
+
def check_artifact_formats_required(client: TeaClient, ctx: CheckContext) -> CheckResult:
|
|
383
|
+
"""Warn if an artifact has no formats (formats are recommended but not strictly required)."""
|
|
384
|
+
name = "artifact_formats_required"
|
|
385
|
+
if not ctx.artifact_uuid:
|
|
386
|
+
return _skip(name, "No artifact UUID available")
|
|
387
|
+
try:
|
|
388
|
+
artifact = client.get_artifact(ctx.artifact_uuid)
|
|
389
|
+
except TeaError as exc:
|
|
390
|
+
return _fail(name, f"get_artifact() failed: {exc}", details=str(exc))
|
|
391
|
+
if not artifact.formats:
|
|
392
|
+
return _warn(name, "Artifact has no formats")
|
|
393
|
+
return _pass(name, f"Artifact has {len(artifact.formats)} format(s)")
|
|
394
|
+
|
|
395
|
+
|
|
378
396
|
# ---------------------------------------------------------------------------
|
|
379
397
|
# CLE checks
|
|
380
398
|
# ---------------------------------------------------------------------------
|
|
@@ -530,6 +548,7 @@ ALL_CHECKS: list[Callable[[TeaClient, CheckContext], CheckResult]] = [
|
|
|
530
548
|
check_component_release_collections,
|
|
531
549
|
# Artifacts
|
|
532
550
|
check_get_artifact,
|
|
551
|
+
check_artifact_formats_required,
|
|
533
552
|
# CLE
|
|
534
553
|
check_product_cle,
|
|
535
554
|
check_product_release_cle,
|
|
@@ -10,6 +10,7 @@ class CheckStatus(StrEnum):
|
|
|
10
10
|
PASS = "pass"
|
|
11
11
|
FAIL = "fail"
|
|
12
12
|
SKIP = "skip"
|
|
13
|
+
WARN = "warn"
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
@dataclass(frozen=True)
|
|
@@ -40,3 +41,7 @@ class ConformanceResult:
|
|
|
40
41
|
@property
|
|
41
42
|
def skipped(self) -> int:
|
|
42
43
|
return sum(1 for c in self.checks if c.status == CheckStatus.SKIP)
|
|
44
|
+
|
|
45
|
+
@property
|
|
46
|
+
def warned(self) -> int:
|
|
47
|
+
return sum(1 for c in self.checks if c.status == CheckStatus.WARN)
|
|
@@ -108,5 +108,9 @@ def test_tea_conformance(
|
|
|
108
108
|
result = tea_check_fn(tea_client, tea_check_context)
|
|
109
109
|
if result.status == CheckStatus.SKIP:
|
|
110
110
|
pytest.skip(result.message)
|
|
111
|
+
elif result.status == CheckStatus.WARN:
|
|
112
|
+
import warnings
|
|
113
|
+
|
|
114
|
+
warnings.warn(f"{result.name}: {result.message}", stacklevel=2)
|
|
111
115
|
elif result.status == CheckStatus.FAIL:
|
|
112
116
|
pytest.fail(f"{result.name}: {result.message}")
|
|
@@ -44,6 +44,32 @@ class IdentifierType(StrEnum):
|
|
|
44
44
|
CPE = "CPE"
|
|
45
45
|
TEI = "TEI"
|
|
46
46
|
PURL = "PURL"
|
|
47
|
+
COMPLIANCE_DOCUMENT = "COMPLIANCE_DOCUMENT"
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class ComplianceDocumentType(StrEnum):
|
|
51
|
+
"""Compliance document types for the COMPLIANCE_DOCUMENT identifier type."""
|
|
52
|
+
|
|
53
|
+
SOC_2_TYPE_I = "SOC_2_TYPE_I"
|
|
54
|
+
SOC_2_TYPE_II = "SOC_2_TYPE_II"
|
|
55
|
+
SOC_3 = "SOC_3"
|
|
56
|
+
ISO_27001 = "ISO_27001"
|
|
57
|
+
ISO_27017 = "ISO_27017"
|
|
58
|
+
ISO_27018 = "ISO_27018"
|
|
59
|
+
ISO_27701 = "ISO_27701"
|
|
60
|
+
ISO_42001 = "ISO_42001"
|
|
61
|
+
PCI_DSS = "PCI_DSS"
|
|
62
|
+
HIPAA = "HIPAA"
|
|
63
|
+
FEDRAMP = "FedRAMP"
|
|
64
|
+
GDPR = "GDPR"
|
|
65
|
+
CSA_STAR = "CSA_STAR"
|
|
66
|
+
NIST_800_53 = "NIST_800_53"
|
|
67
|
+
NIST_800_171 = "NIST_800_171"
|
|
68
|
+
CMMC = "CMMC"
|
|
69
|
+
HITRUST = "HITRUST"
|
|
70
|
+
TISAX = "TISAX"
|
|
71
|
+
CYBER_ESSENTIALS = "CYBER_ESSENTIALS"
|
|
72
|
+
CYBER_ESSENTIALS_PLUS = "CYBER_ESSENTIALS_PLUS"
|
|
47
73
|
|
|
48
74
|
|
|
49
75
|
class TeiType(StrEnum):
|
|
@@ -243,6 +269,8 @@ class Artifact(_TeaModel):
|
|
|
243
269
|
uuid: str | None = None
|
|
244
270
|
name: str | None = None
|
|
245
271
|
type: ArtifactType | None = None
|
|
272
|
+
version: int | None = Field(default=None, ge=1)
|
|
273
|
+
created_date: datetime | None = None
|
|
246
274
|
distribution_ids: tuple[str, ...] | None = None
|
|
247
275
|
distribution_types: tuple[str, ...] | None = None
|
|
248
276
|
formats: tuple[ArtifactFormat, ...] = ()
|
|
@@ -490,6 +518,26 @@ class PaginatedProductReleaseResponse(_TeaModel):
|
|
|
490
518
|
results: tuple[ProductRelease, ...] = ()
|
|
491
519
|
|
|
492
520
|
|
|
521
|
+
class PaginatedComponentResponse(_TeaModel):
|
|
522
|
+
"""Paginated response containing a list of components."""
|
|
523
|
+
|
|
524
|
+
timestamp: datetime
|
|
525
|
+
page_start_index: int
|
|
526
|
+
page_size: int
|
|
527
|
+
total_results: int
|
|
528
|
+
results: tuple[Component, ...] = ()
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
class PaginatedComponentReleaseResponse(_TeaModel):
|
|
532
|
+
"""Paginated response containing a list of component releases."""
|
|
533
|
+
|
|
534
|
+
timestamp: datetime
|
|
535
|
+
page_start_index: int
|
|
536
|
+
page_size: int
|
|
537
|
+
total_results: int
|
|
538
|
+
results: tuple[Release, ...] = ()
|
|
539
|
+
|
|
540
|
+
|
|
493
541
|
# --- Discovery types ---
|
|
494
542
|
|
|
495
543
|
|
|
@@ -541,6 +589,7 @@ __all__ = [
|
|
|
541
589
|
"CLEEventType",
|
|
542
590
|
"CollectionBelongsTo",
|
|
543
591
|
"CollectionUpdateReasonType",
|
|
592
|
+
"ComplianceDocumentType",
|
|
544
593
|
"ErrorType",
|
|
545
594
|
"IdentifierType",
|
|
546
595
|
"TeiType",
|
|
@@ -561,6 +610,8 @@ __all__ = [
|
|
|
561
610
|
"DiscoveryInfo",
|
|
562
611
|
"ErrorResponse",
|
|
563
612
|
"Identifier",
|
|
613
|
+
"PaginatedComponentReleaseResponse",
|
|
614
|
+
"PaginatedComponentResponse",
|
|
564
615
|
"PaginatedProductReleaseResponse",
|
|
565
616
|
"PaginatedProductResponse",
|
|
566
617
|
"Product",
|
|
@@ -19,6 +19,8 @@ from libtea.models import (
|
|
|
19
19
|
Component,
|
|
20
20
|
ComponentReleaseWithCollection,
|
|
21
21
|
DiscoveryInfo,
|
|
22
|
+
PaginatedComponentReleaseResponse,
|
|
23
|
+
PaginatedComponentResponse,
|
|
22
24
|
PaginatedProductReleaseResponse,
|
|
23
25
|
PaginatedProductResponse,
|
|
24
26
|
Product,
|
|
@@ -82,6 +84,12 @@ class TeaClientProtocol(Protocol):
|
|
|
82
84
|
|
|
83
85
|
def get_component_releases(self, uuid: str) -> list[Release]: ...
|
|
84
86
|
|
|
87
|
+
def list_components(self, *, page_offset: int = 0, page_size: int = 100) -> PaginatedComponentResponse: ...
|
|
88
|
+
|
|
89
|
+
def search_components(
|
|
90
|
+
self, id_type: str, id_value: str, *, page_offset: int = 0, page_size: int = 100
|
|
91
|
+
) -> PaginatedComponentResponse: ...
|
|
92
|
+
|
|
85
93
|
# --- Component Releases ---
|
|
86
94
|
|
|
87
95
|
def get_component_release(self, uuid: str) -> ComponentReleaseWithCollection: ...
|
|
@@ -92,6 +100,14 @@ class TeaClientProtocol(Protocol):
|
|
|
92
100
|
|
|
93
101
|
def get_component_release_collection(self, uuid: str, version: int) -> Collection: ...
|
|
94
102
|
|
|
103
|
+
def list_component_releases(
|
|
104
|
+
self, *, page_offset: int = 0, page_size: int = 100
|
|
105
|
+
) -> PaginatedComponentReleaseResponse: ...
|
|
106
|
+
|
|
107
|
+
def search_component_releases(
|
|
108
|
+
self, id_type: str, id_value: str, *, page_offset: int = 0, page_size: int = 100
|
|
109
|
+
) -> PaginatedComponentReleaseResponse: ...
|
|
110
|
+
|
|
95
111
|
# --- CLE ---
|
|
96
112
|
|
|
97
113
|
def get_product_cle(self, uuid: str) -> CLE: ...
|
|
@@ -106,6 +122,8 @@ class TeaClientProtocol(Protocol):
|
|
|
106
122
|
|
|
107
123
|
def get_artifact(self, uuid: str) -> Artifact: ...
|
|
108
124
|
|
|
125
|
+
def get_artifact_version(self, uuid: str, version: int) -> Artifact: ...
|
|
126
|
+
|
|
109
127
|
def download_artifact(
|
|
110
128
|
self,
|
|
111
129
|
url: str,
|
|
@@ -125,6 +143,10 @@ class TeaClientProtocol(Protocol):
|
|
|
125
143
|
|
|
126
144
|
def iter_releases_for_product(self, uuid: str, *, page_size: int = 100) -> Iterator[ProductRelease]: ...
|
|
127
145
|
|
|
146
|
+
def iter_components(self, id_type: str, id_value: str, *, page_size: int = 100) -> Iterator[Component]: ...
|
|
147
|
+
|
|
148
|
+
def iter_component_releases(self, id_type: str, id_value: str, *, page_size: int = 100) -> Iterator[Release]: ...
|
|
149
|
+
|
|
128
150
|
# --- Bulk fetch ---
|
|
129
151
|
|
|
130
152
|
def get_products(self, uuids: list[str], *, max_workers: int = 5) -> list[Product]: ...
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|