libtea 0.3.0__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. {libtea-0.3.0 → libtea-0.4.0}/PKG-INFO +88 -3
  2. {libtea-0.3.0 → libtea-0.4.0}/README.md +84 -2
  3. libtea-0.4.0/libtea.cdx.json +1 -0
  4. {libtea-0.3.0 → libtea-0.4.0}/pyproject.toml +23 -3
  5. libtea-0.4.0/src/libtea/__init__.py +298 -0
  6. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/_cli_fmt.py +44 -1
  7. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/cli.py +85 -0
  8. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/client.py +36 -0
  9. libtea-0.4.0/src/libtea/conformance/__init__.py +44 -0
  10. libtea-0.4.0/src/libtea/conformance/_checks.py +543 -0
  11. libtea-0.4.0/src/libtea/conformance/_runner.py +68 -0
  12. libtea-0.4.0/src/libtea/conformance/_types.py +42 -0
  13. libtea-0.4.0/src/libtea/conformance/plugin.py +112 -0
  14. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/models.py +11 -0
  15. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/protocols.py +6 -0
  16. libtea-0.4.0/src/libtea/server.py +28 -0
  17. libtea-0.3.0/.github/dependabot.yml +0 -18
  18. libtea-0.3.0/.github/workflows/ci.yaml +0 -22
  19. libtea-0.3.0/.github/workflows/codeql.yaml +0 -30
  20. libtea-0.3.0/.github/workflows/pypi.yaml +0 -65
  21. libtea-0.3.0/.pre-commit-config.yaml +0 -15
  22. libtea-0.3.0/CLAUDE.md +0 -93
  23. libtea-0.3.0/docs/FUTURE.md +0 -23
  24. libtea-0.3.0/docs/cli.md +0 -370
  25. libtea-0.3.0/docs/plans/2025-02-25-tea-client-design.md +0 -218
  26. libtea-0.3.0/docs/plans/2026-02-25-v0.2.0-design.md +0 -745
  27. libtea-0.3.0/docs/plans/2026-02-26-v0.3.0-design.md +0 -710
  28. libtea-0.3.0/src/libtea/__init__.py +0 -132
  29. libtea-0.3.0/tests/__init__.py +0 -0
  30. libtea-0.3.0/tests/cli/__init__.py +0 -0
  31. libtea-0.3.0/tests/cli/test_cli.py +0 -1413
  32. libtea-0.3.0/tests/cli/test_cli_fmt.py +0 -953
  33. libtea-0.3.0/tests/client/__init__.py +0 -0
  34. libtea-0.3.0/tests/client/test_cache.py +0 -204
  35. libtea-0.3.0/tests/client/test_client.py +0 -823
  36. libtea-0.3.0/tests/client/test_discovery.py +0 -750
  37. libtea-0.3.0/tests/client/test_download.py +0 -120
  38. libtea-0.3.0/tests/client/test_http.py +0 -547
  39. libtea-0.3.0/tests/client/test_iterators.py +0 -319
  40. libtea-0.3.0/tests/conftest.py +0 -45
  41. libtea-0.3.0/tests/integration/__init__.py +0 -0
  42. libtea-0.3.0/tests/integration/test_integration.py +0 -124
  43. libtea-0.3.0/tests/unit/__init__.py +0 -0
  44. libtea-0.3.0/tests/unit/test_cli_entry.py +0 -21
  45. libtea-0.3.0/tests/unit/test_exceptions.py +0 -75
  46. libtea-0.3.0/tests/unit/test_hashing.py +0 -60
  47. libtea-0.3.0/tests/unit/test_models.py +0 -672
  48. libtea-0.3.0/tests/unit/test_protocols.py +0 -14
  49. libtea-0.3.0/tests/unit/test_security.py +0 -224
  50. libtea-0.3.0/tests/unit/test_validation.py +0 -122
  51. libtea-0.3.0/tests/unit/test_version.py +0 -23
  52. libtea-0.3.0/uv.lock +0 -920
  53. {libtea-0.3.0 → libtea-0.4.0}/.gitignore +0 -0
  54. {libtea-0.3.0 → libtea-0.4.0}/LICENSE +0 -0
  55. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/_cli_entry.py +0 -0
  56. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/_constants.py +0 -0
  57. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/_hashing.py +0 -0
  58. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/_http.py +0 -0
  59. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/_security.py +0 -0
  60. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/_validation.py +0 -0
  61. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/discovery.py +0 -0
  62. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/exceptions.py +0 -0
  63. {libtea-0.3.0 → libtea-0.4.0}/src/libtea/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: libtea
3
- Version: 0.3.0
3
+ Version: 0.4.0
4
4
  Summary: Python client library for the Transparency Exchange API (TEA)
5
5
  Project-URL: Homepage, https://github.com/sbomify/py-libtea
6
6
  Project-URL: Repository, https://github.com/sbomify/py-libtea
@@ -28,6 +28,9 @@ Requires-Dist: semver<4,>=3.0.4
28
28
  Provides-Extra: cli
29
29
  Requires-Dist: click<9,>=8.0; extra == 'cli'
30
30
  Requires-Dist: rich>=13.0.0; extra == 'cli'
31
+ Provides-Extra: conformance
32
+ Requires-Dist: pytest>=8.0.0; extra == 'conformance'
33
+ Provides-Extra: server
31
34
  Description-Content-Type: text/markdown
32
35
 
33
36
  # libtea
@@ -36,6 +39,7 @@ Description-Content-Type: text/markdown
36
39
  [![PyPI version](https://img.shields.io/pypi/v/libtea.svg)](https://pypi.org/project/libtea/)
37
40
  [![Python](https://img.shields.io/pypi/pyversions/libtea.svg)](https://pypi.org/project/libtea/)
38
41
  [![License](https://img.shields.io/github/license/sbomify/py-libtea.svg)](https://github.com/sbomify/py-libtea/blob/master/LICENSE)
42
+ [![sbomified](https://sbomify.com/assets/images/logo/badge.svg)](https://trust.sbomify.com/component/py-libtea/)
39
43
 
40
44
  Python client library for the [Transparency Exchange API (TEA)](https://transparency.exchange/) v0.3.0-beta.2.
41
45
 
@@ -64,6 +68,9 @@ TEA is an open standard for discovering and retrieving software transparency art
64
68
  - Typed Pydantic v2 models with full camelCase/snake_case conversion
65
69
  - Structured exception hierarchy with error context
66
70
  - CLI with rich-formatted output, JSON mode, and verbose logging
71
+ - Conformance test suite for validating TEA server compliance (programmatic, CLI, and pytest plugin)
72
+ - Server-side helpers (`tea_datetime_serializer`) for TEA API implementations
73
+ - Unfiltered listing endpoints (`list_products`, `list_product_releases`)
67
74
 
68
75
  ## Installation
69
76
 
@@ -77,6 +84,12 @@ To include the CLI (`tea-cli`):
77
84
  pip install libtea[cli]
78
85
  ```
79
86
 
87
+ To run conformance tests against a TEA server:
88
+
89
+ ```bash
90
+ pip install libtea[conformance]
91
+ ```
92
+
80
93
  ## Quick start
81
94
 
82
95
  ```python
@@ -166,6 +179,20 @@ with TeaClient.from_well_known("trust.sbomify.com") as client:
166
179
  print(releases.total_results)
167
180
  ```
168
181
 
182
+ ### Listing (unfiltered)
183
+
184
+ ```python
185
+ with TeaClient.from_well_known("trust.sbomify.com") as client:
186
+ # List all products (no identifier filter)
187
+ products = client.list_products(page_size=50)
188
+ for product in products.results:
189
+ print(product.name, product.uuid)
190
+
191
+ # List all product releases
192
+ releases = client.list_product_releases(page_size=50)
193
+ print(releases.total_results)
194
+ ```
195
+
169
196
  ### Auto-paginated iterators
170
197
 
171
198
  For iterating over large result sets without manual page management:
@@ -448,6 +475,19 @@ tea-cli get-cle <uuid> --entity component --domain trust.sbomify.com
448
475
  tea-cli get-cle <uuid> --entity component-release --domain trust.sbomify.com
449
476
  ```
450
477
 
478
+ ### Conformance
479
+
480
+ ```bash
481
+ # Run conformance checks against a TEA server
482
+ tea-cli conformance --base-url https://tea.example.com/v1
483
+
484
+ # With TEI for discovery-driven testing
485
+ tea-cli conformance --base-url https://tea.example.com/v1 --tei "urn:tei:..."
486
+
487
+ # JSON output for CI pipelines
488
+ tea-cli conformance --base-url https://tea.example.com/v1 --json
489
+ ```
490
+
451
491
  ### Environment variables
452
492
 
453
493
  | Variable | Description |
@@ -469,6 +509,49 @@ eval "$(_TEA_CLI_COMPLETE=zsh_source tea-cli)"
469
509
  _TEA_CLI_COMPLETE=fish_source tea-cli | source
470
510
  ```
471
511
 
512
+ ## Conformance testing
513
+
514
+ The conformance suite validates that a TEA server correctly implements the specification. It runs 26 checks covering discovery, products, releases, components, artifacts, CLE, and cross-cutting concerns (UUID format, pagination, camelCase).
515
+
516
+ ### Programmatic
517
+
518
+ ```python
519
+ from libtea.conformance import run_conformance
520
+
521
+ result = run_conformance(
522
+ "https://tea.example.com/v1",
523
+ tei="urn:tei:purl:example.com:pkg:pypi/mylib",
524
+ )
525
+ print(f"{result.passed} passed, {result.failed} failed, {result.skipped} skipped")
526
+ ```
527
+
528
+ ### CLI
529
+
530
+ ```bash
531
+ tea-cli conformance --base-url https://tea.example.com/v1 --tei "urn:tei:..."
532
+ tea-cli conformance --base-url https://tea.example.com/v1 --json
533
+ ```
534
+
535
+ ### pytest plugin
536
+
537
+ ```bash
538
+ pytest --tea-base-url https://tea.example.com/v1 --tea-tei "urn:tei:..."
539
+ ```
540
+
541
+ The plugin generates one test per conformance check. See the [conformance docs](docs/conformance.md) for the full check reference.
542
+
543
+ ## Server helpers
544
+
545
+ For TEA server implementations that use libtea models as response schemas:
546
+
547
+ ```python
548
+ from datetime import datetime, timezone
549
+ from libtea.server import tea_datetime_serializer
550
+
551
+ # Serialize to TEA spec format: "2024-03-20T15:30:00Z"
552
+ tea_datetime_serializer(datetime.now(timezone.utc))
553
+ ```
554
+
472
555
  ## Error handling
473
556
 
474
557
  All exceptions inherit from `TeaError`:
@@ -507,12 +590,14 @@ Using a bearer token over plaintext HTTP raises `ValueError` immediately — HTT
507
590
  - [Pydantic](https://docs.pydantic.dev/) >= 2.1.0 for data models
508
591
  - [semver](https://python-semver.readthedocs.io/) >= 3.0.4 for version selection
509
592
 
510
- Optional (for CLI): [click](https://click.palletsprojects.com/) >= 8.0, [rich](https://rich.readthedocs.io/) >= 13.0.0
593
+ Optional:
594
+ - CLI: [click](https://click.palletsprojects.com/) >= 8.0, [rich](https://rich.readthedocs.io/) >= 13.0.0
595
+ - Conformance: [pytest](https://docs.pytest.org/) >= 8.0.0
511
596
 
512
597
  ## Not yet supported
513
598
 
514
599
  - Publisher API (spec is consumer-only in beta.2)
515
- - Async client (planned for httpx migration)
600
+ - Async client
516
601
 
517
602
  ## Development
518
603
 
@@ -4,6 +4,7 @@
4
4
  [![PyPI version](https://img.shields.io/pypi/v/libtea.svg)](https://pypi.org/project/libtea/)
5
5
  [![Python](https://img.shields.io/pypi/pyversions/libtea.svg)](https://pypi.org/project/libtea/)
6
6
  [![License](https://img.shields.io/github/license/sbomify/py-libtea.svg)](https://github.com/sbomify/py-libtea/blob/master/LICENSE)
7
+ [![sbomified](https://sbomify.com/assets/images/logo/badge.svg)](https://trust.sbomify.com/component/py-libtea/)
7
8
 
8
9
  Python client library for the [Transparency Exchange API (TEA)](https://transparency.exchange/) v0.3.0-beta.2.
9
10
 
@@ -32,6 +33,9 @@ TEA is an open standard for discovering and retrieving software transparency art
32
33
  - Typed Pydantic v2 models with full camelCase/snake_case conversion
33
34
  - Structured exception hierarchy with error context
34
35
  - CLI with rich-formatted output, JSON mode, and verbose logging
36
+ - Conformance test suite for validating TEA server compliance (programmatic, CLI, and pytest plugin)
37
+ - Server-side helpers (`tea_datetime_serializer`) for TEA API implementations
38
+ - Unfiltered listing endpoints (`list_products`, `list_product_releases`)
35
39
 
36
40
  ## Installation
37
41
 
@@ -45,6 +49,12 @@ To include the CLI (`tea-cli`):
45
49
  pip install libtea[cli]
46
50
  ```
47
51
 
52
+ To run conformance tests against a TEA server:
53
+
54
+ ```bash
55
+ pip install libtea[conformance]
56
+ ```
57
+
48
58
  ## Quick start
49
59
 
50
60
  ```python
@@ -134,6 +144,20 @@ with TeaClient.from_well_known("trust.sbomify.com") as client:
134
144
  print(releases.total_results)
135
145
  ```
136
146
 
147
+ ### Listing (unfiltered)
148
+
149
+ ```python
150
+ with TeaClient.from_well_known("trust.sbomify.com") as client:
151
+ # List all products (no identifier filter)
152
+ products = client.list_products(page_size=50)
153
+ for product in products.results:
154
+ print(product.name, product.uuid)
155
+
156
+ # List all product releases
157
+ releases = client.list_product_releases(page_size=50)
158
+ print(releases.total_results)
159
+ ```
160
+
137
161
  ### Auto-paginated iterators
138
162
 
139
163
  For iterating over large result sets without manual page management:
@@ -416,6 +440,19 @@ tea-cli get-cle <uuid> --entity component --domain trust.sbomify.com
416
440
  tea-cli get-cle <uuid> --entity component-release --domain trust.sbomify.com
417
441
  ```
418
442
 
443
+ ### Conformance
444
+
445
+ ```bash
446
+ # Run conformance checks against a TEA server
447
+ tea-cli conformance --base-url https://tea.example.com/v1
448
+
449
+ # With TEI for discovery-driven testing
450
+ tea-cli conformance --base-url https://tea.example.com/v1 --tei "urn:tei:..."
451
+
452
+ # JSON output for CI pipelines
453
+ tea-cli conformance --base-url https://tea.example.com/v1 --json
454
+ ```
455
+
419
456
  ### Environment variables
420
457
 
421
458
  | Variable | Description |
@@ -437,6 +474,49 @@ eval "$(_TEA_CLI_COMPLETE=zsh_source tea-cli)"
437
474
  _TEA_CLI_COMPLETE=fish_source tea-cli | source
438
475
  ```
439
476
 
477
+ ## Conformance testing
478
+
479
+ The conformance suite validates that a TEA server correctly implements the specification. It runs 26 checks covering discovery, products, releases, components, artifacts, CLE, and cross-cutting concerns (UUID format, pagination, camelCase).
480
+
481
+ ### Programmatic
482
+
483
+ ```python
484
+ from libtea.conformance import run_conformance
485
+
486
+ result = run_conformance(
487
+ "https://tea.example.com/v1",
488
+ tei="urn:tei:purl:example.com:pkg:pypi/mylib",
489
+ )
490
+ print(f"{result.passed} passed, {result.failed} failed, {result.skipped} skipped")
491
+ ```
492
+
493
+ ### CLI
494
+
495
+ ```bash
496
+ tea-cli conformance --base-url https://tea.example.com/v1 --tei "urn:tei:..."
497
+ tea-cli conformance --base-url https://tea.example.com/v1 --json
498
+ ```
499
+
500
+ ### pytest plugin
501
+
502
+ ```bash
503
+ pytest --tea-base-url https://tea.example.com/v1 --tea-tei "urn:tei:..."
504
+ ```
505
+
506
+ The plugin generates one test per conformance check. See the [conformance docs](docs/conformance.md) for the full check reference.
507
+
508
+ ## Server helpers
509
+
510
+ For TEA server implementations that use libtea models as response schemas:
511
+
512
+ ```python
513
+ from datetime import datetime, timezone
514
+ from libtea.server import tea_datetime_serializer
515
+
516
+ # Serialize to TEA spec format: "2024-03-20T15:30:00Z"
517
+ tea_datetime_serializer(datetime.now(timezone.utc))
518
+ ```
519
+
440
520
  ## Error handling
441
521
 
442
522
  All exceptions inherit from `TeaError`:
@@ -475,12 +555,14 @@ Using a bearer token over plaintext HTTP raises `ValueError` immediately — HTT
475
555
  - [Pydantic](https://docs.pydantic.dev/) >= 2.1.0 for data models
476
556
  - [semver](https://python-semver.readthedocs.io/) >= 3.0.4 for version selection
477
557
 
478
- Optional (for CLI): [click](https://click.palletsprojects.com/) >= 8.0, [rich](https://rich.readthedocs.io/) >= 13.0.0
558
+ Optional:
559
+ - CLI: [click](https://click.palletsprojects.com/) >= 8.0, [rich](https://rich.readthedocs.io/) >= 13.0.0
560
+ - Conformance: [pytest](https://docs.pytest.org/) >= 8.0.0
479
561
 
480
562
  ## Not yet supported
481
563
 
482
564
  - Publisher API (spec is consumer-only in beta.2)
483
- - Async client (planned for httpx migration)
565
+ - Async client
484
566
 
485
567
  ## Development
486
568
 
@@ -0,0 +1 @@
1
+ {"components": [{"bom-ref": "pkg:pypi/annotated-types@0.7.0", "description": "Reusable constraint types to use with typing.Annotated", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/annotated-types/"}, {"type": "vcs", "url": "git+https://github.com/annotated-types/annotated-types"}, {"type": "website", "url": "https://github.com/annotated-types/annotated-types"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53"}], "licenses": [{"expression": "MIT"}], "name": "annotated-types", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Adrian Garcia Badaracco", "purl": "pkg:pypi/annotated-types@0.7.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.7.0"}, {"bom-ref": "pkg:pypi/certifi@2026.2.25", "description": "Python package for providing Mozilla's CA Bundle.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/certifi/"}, {"type": "vcs", "url": "git+https://github.com/certifi/python-certifi"}, {"type": "website", "url": "https://github.com/certifi/python-certifi"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa"}], "licenses": [{"expression": "MPL-2.0"}], "name": "certifi", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Kenneth Reitz", "purl": "pkg:pypi/certifi@2026.2.25", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2026.2.25"}, {"bom-ref": "pkg:pypi/cfgv@3.5.0", "description": "Validate configuration and produce human readable error messages.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/cfgv/"}, {"type": "website", "url": "https://github.com/asottile/cfgv"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0"}], "licenses": [{"expression": "MIT"}], "name": "cfgv", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Anthony Sottile", "purl": "pkg:pypi/cfgv@3.5.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "3.5.0"}, {"bom-ref": "pkg:pypi/charset-normalizer@3.4.4", "description": "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/charset-normalizer/"}, {"type": "issue-tracker", "url": "https://github.com/jawah/charset_normalizer/issues"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "7a32c560861a02ff789ad905a2fe94e3f840803362c84fecf1851cb4cf3dc37f"}], "licenses": [{"expression": "MIT"}], "name": "charset-normalizer", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "\"Ahmed R. TAHRI\"", "purl": "pkg:pypi/charset-normalizer@3.4.4", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "3.4.4"}, {"bom-ref": "pkg:pypi/colorama@0.4.6", "description": "Cross-platform colored terminal text.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/colorama/"}, {"type": "vcs", "url": "git+https://github.com/tartley/colorama"}, {"type": "website", "url": "https://github.com/tartley/colorama"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}], "licenses": [{"expression": "non-standard"}], "name": "colorama", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Jonathan Hartley", "purl": "pkg:pypi/colorama@0.4.6", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.4.6"}, {"bom-ref": "pkg:pypi/coverage@7.13.4", "description": "Code coverage measurement for Python", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/coverage/"}, {"type": "issue-tracker", "url": "https://github.com/coveragepy/coveragepy/issues"}, {"type": "website", "url": "https://github.com/coveragepy/coveragepy"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "1af1641e57cf7ba1bd67d677c9abdbcd6cc2ab7da3bca7fa1e2b7e50e65f2ad0"}], "licenses": [{"expression": "Apache-2.0"}], "name": "coverage", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Ned Batchelder and 252 others", "purl": "pkg:pypi/coverage@7.13.4", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "7.13.4"}, {"bom-ref": "pkg:pypi/distlib@0.4.0", "description": "Distribution utilities", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/distlib/"}, {"type": "issue-tracker", "url": "https://github.com/pypa/distlib/issues"}, {"type": "vcs", "url": "git+https://github.com/pypa/distlib"}, {"type": "website", "url": "https://github.com/pypa/distlib"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16"}], "licenses": [{"expression": "PSF-2.0"}], "name": "distlib", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Vinay Sajip", "purl": "pkg:pypi/distlib@0.4.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.4.0"}, {"bom-ref": "pkg:pypi/filelock@3.24.3", "description": "A platform independent file lock.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/filelock/"}, {"type": "issue-tracker", "url": "https://github.com/tox-dev/py-filelock/issues"}, {"type": "vcs", "url": "git+https://github.com/tox-dev/py-filelock"}, {"type": "website", "url": "https://github.com/tox-dev/py-filelock"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "426e9a4660391f7f8a810d71b0555bce9008b0a1cc342ab1f6947d37639e002d"}], "licenses": [{"expression": "MIT"}], "name": "filelock", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Bern\u00e1t G\u00e1bor", "purl": "pkg:pypi/filelock@3.24.3", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "3.24.3"}, {"bom-ref": "pkg:pypi/identify@2.6.16", "description": "File identification library for Python", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/identify/"}, {"type": "website", "url": "https://github.com/pre-commit/identify"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "391ee4d77741d994189522896270b787aed8670389bfd60f326d677d64a6dfb0"}], "licenses": [{"expression": "MIT"}], "name": "identify", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Chris Kuehl", "purl": "pkg:pypi/identify@2.6.16", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.6.16"}, {"bom-ref": "pkg:pypi/idna@3.11", "description": "Internationalized Domain Names in Applications (IDNA)", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/idna/"}, {"type": "issue-tracker", "url": "https://github.com/kjd/idna/issues"}, {"type": "vcs", "url": "git+https://github.com/kjd/idna"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea"}], "licenses": [{"expression": "BSD-3-Clause"}], "name": "idna", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Kim Davies", "purl": "pkg:pypi/idna@3.11", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "3.11"}, {"bom-ref": "pkg:pypi/iniconfig@2.3.0", "description": "brain-dead simple config-ini parsing", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/iniconfig/"}, {"type": "vcs", "url": "git+https://github.com/pytest-dev/iniconfig"}, {"type": "website", "url": "https://github.com/pytest-dev/iniconfig"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12"}], "licenses": [{"expression": "MIT"}], "name": "iniconfig", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Ronny Pfannschmidt", "purl": "pkg:pypi/iniconfig@2.3.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "2.3.0"}, {"bom-ref": "pkg:pypi/librt@0.8.1", "description": "Mypyc runtime library", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/librt/"}, {"type": "issue-tracker", "url": "https://github.com/mypyc/mypyc/issues"}, {"type": "website", "url": "https://github.com/mypyc/librt"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "681dc2451d6d846794a828c16c22dc452d924e9f700a485b7ecb887a30aad1fd"}], "licenses": [{"expression": "MIT"}], "name": "librt", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Jukka Lehtosalo", "purl": "pkg:pypi/librt@0.8.1", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.8.1"}, {"bom-ref": "pkg:pypi/markdown-it-py@4.0.0", "description": "Python port of markdown-it. Markdown parsing, done right!", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/markdown-it-py/"}, {"type": "vcs", "url": "git+https://github.com/executablebooks/markdown-it-py"}, {"type": "website", "url": "https://github.com/executablebooks/markdown-it-py"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147"}], "licenses": [{"expression": "MIT"}], "name": "markdown-it-py", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Chris Sewell", "purl": "pkg:pypi/markdown-it-py@4.0.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "4.0.0"}, {"bom-ref": "pkg:pypi/mdurl@0.1.2", "description": "Markdown URL utilities", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/mdurl/"}, {"type": "vcs", "url": "git+https://github.com/executablebooks/mdurl"}, {"type": "website", "url": "https://github.com/executablebooks/mdurl"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8"}], "licenses": [{"expression": "MIT"}], "name": "mdurl", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "Taneli Hukkinen", "purl": "pkg:pypi/mdurl@0.1.2", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "0.1.2"}, {"bom-ref": "pkg:pypi/mypy-extensions@1.1.0", "description": "Type system extensions for programs checked with the mypy type checker.", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/mypy-extensions/"}, {"type": "vcs", "url": "git+https://github.com/python/mypy_extensions"}, {"type": "website", "url": "https://github.com/python/mypy_extensions"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505"}], "licenses": [{"expression": "MIT"}], "name": "mypy-extensions", "properties": [{"name": "SrcFile", "value": "pyproject.toml"}, {"name": "sbomify:enrichment:source", "value": "pypi.org"}], "publisher": "The mypy developers", "purl": "pkg:pypi/mypy-extensions@1.1.0", "supplier": {"name": "Python Package Index (PyPI)"}, "type": "library", "version": "1.1.0"}, {"bom-ref": "pkg:pypi/nodeenv@1.10.0", "description": "Node.js virtual environment builder", "evidence": {"identity": [{"concludedValue": "uv.lock", "confidence": 1.0, "field": "purl", "methods": [{"confidence": 1.0, "technique": "manifest-analysis", "value": "uv.lock"}]}]}, "externalReferences": [{"type": "distribution", "url": "https://pypi.org/project/nodeenv/"}, {"type": "website", "url": "https://github.com/ekalinin/nodeenv"}], "group": "", "hashes": [{"alg": "SHA-256", "content": "5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827"}], "licenses": [{"expression": "BSD"}], "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.4.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.4.0", "description": "Python client library for the Transparency Exchange API (TEA)", "externalReferences": [{"type": "security-contact", "url": "mailto:hello@sbomify.com"}, {"comment": "Branch/ref: v0.4.0", "type": "vcs", "url": "git+https://github.com/sbomify/py-libtea@030bddf573f0192072e90d2a5be4660b53d12836"}], "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.4.0", "supplier": {"name": "sbomify, ltd", "url": ["https://sbomify.com"]}, "tags": ["cyclonedx", "sbom", "security", "supply-chain", "tea", "transparency-exchange-api", "vex"], "type": "application", "version": "0.4.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-05T09:02:59+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+d3da7e4"}]}}, "serialNumber": "urn:uuid:7946405f-097a-4eac-b23b-bf10bfa9e278", "version": 1, "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json", "bomFormat": "CycloneDX", "specVersion": "1.6"}
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "libtea"
3
- version = "0.3.0"
3
+ version = "0.4.0"
4
4
  description = "Python client library for the Transparency Exchange API (TEA)"
5
5
  authors = [{ name = "sbomify", email = "hello@sbomify.com" }]
6
6
  requires-python = ">=3.11"
@@ -34,14 +34,20 @@ Changelog = "https://github.com/sbomify/py-libtea/releases"
34
34
 
35
35
  [project.optional-dependencies]
36
36
  cli = ["click>=8.0,<9", "rich>=13.0.0"]
37
+ conformance = ["pytest>=8.0.0"]
38
+ server = []
37
39
 
38
40
  [project.scripts]
39
41
  tea-cli = "libtea._cli_entry:main"
40
42
 
43
+ [project.entry-points."pytest11"]
44
+ tea-conformance = "libtea.conformance.plugin"
45
+
41
46
  [dependency-groups]
42
47
  dev = [
43
48
  "pytest>=9.0.0,<10",
44
49
  "pytest-cov>=7.0.0,<8",
50
+ "pytest-timeout>=2.3.0,<3",
45
51
  "ruff>=0.15.0,<0.16",
46
52
  "pre-commit>=4.5.0,<5",
47
53
  "responses>=0.26.0,<1",
@@ -53,15 +59,25 @@ dev = [
53
59
 
54
60
  [tool.hatch.build.targets.wheel]
55
61
  packages = ["src/libtea"]
62
+ sbom-files = ["libtea.cdx.json"]
63
+
64
+ [tool.hatch.build.targets.sdist]
65
+ include = ["src/libtea", "libtea.cdx.json", "pyproject.toml", "README.md", "LICENSE"]
56
66
 
57
67
  [build-system]
58
- requires = ["hatchling"]
68
+ requires = ["hatchling>=1.28.0"]
59
69
  build-backend = "hatchling.build"
60
70
 
61
71
  [tool.pytest.ini_options]
62
72
  testpaths = ["tests"]
63
73
  python_files = ["test_*.py"]
64
- addopts = "--cov=src/libtea --cov-report=term-missing --cov-branch"
74
+ addopts = "--cov=src/libtea --cov-report=term-missing --cov-branch --timeout=30"
75
+
76
+ [tool.coverage.run]
77
+ branch = true
78
+
79
+ [tool.coverage.report]
80
+ show_missing = true
65
81
 
66
82
  [tool.ruff]
67
83
  line-length = 120
@@ -89,3 +105,7 @@ disallow_untyped_decorators = false
89
105
  [[tool.mypy.overrides]]
90
106
  module = "libtea._cli_fmt"
91
107
  disallow_untyped_decorators = false
108
+
109
+ [[tool.mypy.overrides]]
110
+ module = "libtea.conformance.*"
111
+ disallow_untyped_decorators = false