grz-pydantic-models-testing
Installable test fixtures and example metadata for grz-pydantic-models.
This package ships the example and failing metadata JSON files as proper package data so
that any downstream package can access them via importlib.resources without relying on
filesystem layout or editable-install assumptions.
Installation
pip install grz-pydantic-models-testing
Usage
import importlib.resources
import grz_pydantic_models_testing
from grz_pydantic_models_testing import example_metadata, failing_metadata
# Read an example metadata file
json_text = importlib.resources.files(example_metadata).joinpath("wes_tumor_germline", "v1.2.1.json").read_text()
# Parse it directly
from grz_pydantic_models.submission.metadata import GrzSubmissionMetadata
metadata = GrzSubmissionMetadata.model_validate_json(json_text)
Contents
| Sub-package | Description |
|---|---|
example_metadata |
Valid example submissions for all supported study types and schema versions |
example_pruefberichte |
Example Prüfbericht payloads |
example_research_consent |
Example research consent FHIR resources |
failing_metadata |
Invalid metadata fixtures for negative testing |
Metadata
Release files for grz-pydantic-models-testing 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| grz_pydantic_models_testing-1.1.0.tar.gz | 31.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| grz_pydantic_models_testing-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 129.3 kB
Release files / grz_pydantic_models_testing-1.1.0.tar.gz
| Download URL | grz_pydantic_models_testing-1.1.0.tar.gz |
|---|---|
| Size | 31.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1e5f3779601e18bd2d8d197a86a7d5567ae00a40f7e48e0b226a1691ce7acae
|
|
BLAKE2b-256 checksum How to use checksums |
352fb47c5ab2e6ebe22626f6561370ad984f4d3bb7d942e195df5afebe8f0447
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logRelease files / grz_pydantic_models_testing-1.1.0-py3-none-any.whl
| Download URL | grz_pydantic_models_testing-1.1.0-py3-none-any.whl |
|---|---|
| Size | 98.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4a904b84b3f41cc9138260447a1c2c73a2e7bea38e563fa6e65769bad71bad3
|
|
BLAKE2b-256 checksum How to use checksums |
4477a26850f39e5c809be2fa2133e2b7fa534767f422ae0818a3d18b976f2f39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency log