Skip to main content

Pydantic datamodels for the Gene Panel Builder

Project description

Gene panel builder datamodels

A collection of useful Pydantic datamodels for the Gene Panel Builder

Installation

pip install gpb-models

Usage

With a gene panel exported from the Gene Panel Builder in a folder MyGenePanel, load the panel like this:

from pathlib import Path
from gpb_models import GenePanel

json_file = next(Path("MyGenePanel").glob("*.json))
with json_file.open() as f:
    panel = GenePanel.model_validate_json(f.read())

print(panel)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpb_models-1.4.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpb_models-1.4.4-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file gpb_models-1.4.4.tar.gz.

File metadata

  • Download URL: gpb_models-1.4.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for gpb_models-1.4.4.tar.gz
Algorithm Hash digest
SHA256 ec41e105c9b173a942226cee6e553d2e898c25fdd99b8bdf8b36c473d03bb288
MD5 cfd7b699e042970184bf4ddeda6237b6
BLAKE2b-256 6ae6a155b63ba0bdcba1e2fe90b3c3706c139fb377f7387d3e7f357ba784a9d8

See more details on using hashes here.

File details

Details for the file gpb_models-1.4.4-py3-none-any.whl.

File metadata

  • Download URL: gpb_models-1.4.4-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for gpb_models-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4a7e87964d69b59a9511e5a9ff8c881c7b6a9d483d8d408828c1cf377a1dee42
MD5 c1ec36bab7aded4ec425942f8d0ec6db
BLAKE2b-256 ab841d9f8dcfacfd7773216a24541e082949ab630f8be940637a5bcc03622349

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page