Skip to main content

Genoschema

Schema package for genomic biomarker extraction from NHS genomic laboratory hub reports.

Structure

📁 genoschema
├── examples/            # Training examples showing document input and structured output
├── schema.py            # Pydantic model for specifying expected output structure
├── prompt_builder.py    # Prompt builder for data generation and inference
├── prompt_datagen.txt   # Prompt template with example (for training data generation)
├── prompt_main.txt      # Prompt template without example (for inference/deployment)
└── py.typed             # Type checking marker

Usage

from genoschema.prompt_builder import PromptBuilder

# Initialize builder
builder = PromptBuilder()

# Build data generation prompt (with example)
datagen_prompt = builder.build_datagen_prompt()

# Build main/inference prompt (without example)
main_prompt = builder.build_main_prompt()

Schema

Schema overview

Type Values
ClinicalFindingType morbidity, patient_finding, family_history
TestType dna, fish, karyotype, pcr, mlpa, other
ResultEntityType chromosome, gene, exon, variant, protein
ResultStatus abnormal, normal, uncertain_significance, failed_or_inconclusive

License

This project uses a proprietary license issued by Guy's and St Thomas' NHS Foundation Trust, enabling free (non-commercial) use by NHS organisations. See LICENSE files for details.

Metadata

Release files for londonaicentre-genoschema 2.2.2

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

Source distribution (sdist)

Source distribution for londonaicentre-genoschema 2.2.2
File Size Uploaded Provenance Actions
londonaicentre_genoschema-2.2.2.tar.gz 22.0 kB Without provenance Details for londonaicentre_genoschema-2.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for londonaicentre-genoschema 2.2.2
File Interpreter ABI Platform Actions
londonaicentre_genoschema-2.2.2-py3-none-any.whl Python 3 none any Details for londonaicentre_genoschema-2.2.2-py3-none-any.whl

Total release size: 45.0 kB

Release files / londonaicentre_genoschema-2.2.2.tar.gz

Download URL londonaicentre_genoschema-2.2.2.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0587f7eaa43e4b409f766713c99501a32c54513a0e04cc5a31e924950b6351a4
BLAKE2b-256 checksum
How to use checksums
6cbb740286c29e4b559e932d40811562c4637d1916e6f24b4708ffc46ef7fd38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Amazon Linux","version":"2023","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / londonaicentre_genoschema-2.2.2-py3-none-any.whl

Download URL londonaicentre_genoschema-2.2.2-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7aec189ce1238f550bdef8d50ff74646041f79a80c603c05b1769ebacab3f01d
BLAKE2b-256 checksum
How to use checksums
4bf2ed06e7c3a5cbc3103d0a2cae14ae71c3d21379b5ed50e8693cc18e37bf92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Amazon Linux","version":"2023","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for londonaicentre-genoschema 2.2.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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