Skip to main content

A Python API client for VariantGrid

Project description

variantgrid_api

PyPi version Python versions

Python API client for VariantGrid Open source Variant database and analysis platform

See changelog

Install

python3 -m pip install variantgrid_api

Example

from variantgrid_api.api_client import VariantGridAPI
from variantgrid_api.data_models import EnrichmentKit

api = VariantGridAPI(server="https://variantgrid.com", api_token="YOUR_API_TOKEN")
enrichment_kit = EnrichmentKit(name="idt_haem", version=1)
result = api.create_enrichment_kit(enrichment_kit)

Testing

# Install required testing packages
python3 -m pip install -e ".[test]"
python3 -m pytest --cov=variantgrid_api

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

variantgrid_api-1.2.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

variantgrid_api-1.2.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file variantgrid_api-1.2.0.tar.gz.

File metadata

  • Download URL: variantgrid_api-1.2.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for variantgrid_api-1.2.0.tar.gz
Algorithm Hash digest
SHA256 f563619fb0c19da62adf45f480e8cd4cf0197954c51d0a4d532d28036697e24f
MD5 51b1726b4c6c2af576c3134f6198b20e
BLAKE2b-256 7b282fae73d4374fbf59c5da5623e09982607231fc6d3b369d8777202ee6605d

See more details on using hashes here.

File details

Details for the file variantgrid_api-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for variantgrid_api-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b35a06934edb6f469aa366076ebf297dcc1384295c35f426132861f3b331edb
MD5 7c628c68fcde31351610e57824d01f86
BLAKE2b-256 f7c6b20dda4100376f613a1b8aa5475ead11081b98b2af29e4e32e28489bc2ad

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