Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grz-pydantic-models-testing 1.1.1
File Size Uploaded
grz_pydantic_models_testing-1.1.1.tar.gz 31.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grz-pydantic-models-testing 1.1.1
File Interpreter ABI Platform
grz_pydantic_models_testing-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 130.2 kB

Release files / grz_pydantic_models_testing-1.1.1.tar.gz

Download URL grz_pydantic_models_testing-1.1.1.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5f91a6dd640abfe7d52fb52d932074e876a811420a6437777d2fa11d1c7625f0
BLAKE2b-256 checksum
How to use checksums
951c9a99760680b5639a40bb770724b8cd4aebea98ba1408ece782217b2d2e70
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 Oct 15, 2026.

Transparency log

Release files / grz_pydantic_models_testing-1.1.1-py3-none-any.whl

Download URL grz_pydantic_models_testing-1.1.1-py3-none-any.whl
Size 99.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d7d735f4ffc3bc3949809d28099a6c98206688b04293ceaf1a6fb622009e7be
BLAKE2b-256 checksum
How to use checksums
d98999958d4727f33e8f63e6742006046d64d7d47ed6d1c326d69fa6582ca7f6
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 Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page