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.5.0.tar.gz (4.5 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.5.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gpb_models-1.5.0.tar.gz
Algorithm Hash digest
SHA256 762e23c8573a0f352c37dca08f63c9f91a0fd480ff3a5f747f98c09b74c13dd9
MD5 2cc7dd90dbe027d77fac7b25741217b1
BLAKE2b-256 1d90679ee9776034c3babd8383c6754495d58bd90ce9869e3a04d3bbe9535753

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gpb_models-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23539ce52ca9af94aba876db9878ab0439c532e7a86bcc11024373d0c012d88d
MD5 d73050dc637f25c1db59367a739e75a6
BLAKE2b-256 9a6ee94d3754d96d87a784e56f81e33cd3d7e32a3cb2604aa571c01d4448dadb

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