Skip to main content

varvis® API Python package

CI testing pipeline CI code quality pipeline Test coverage

Authors: Markus Konrad markus.konrad@laborberlin.com, Bernt Popp bernt.popp@laborberlin.com

Summary

varvis logo

The varvis-connector package provides a Python client and command-line interface (CLI) for the varvis® API. Retrieve genomic data including SNV annotations, CNV target results, and CNV segments, process large SNV responses with low memory use, and download analysis files safely in parallel. The package handles authentication and coordinated session recovery for concurrent requests, with configurable timeouts, retries, and environment-based configuration.

Features

  • Typed Python client and CLI for genomic data retrieval, person records, and virtual panels
  • Low-memory SNV iteration with optional temporary-file caching; the CLI uses caching for JSONL streaming so large responses do not need to be held in RAM
  • Gene and coordinate filters that support scalar and array-valued SNV annotations
  • Parallel HTTPS downloads with connection pooling, configurable retries with randomized delays, and separate download retry settings
  • Atomic file downloads that preserve existing files on failure, clean up partial transfers, and reject unsafe filenames and conflicting destination paths
  • Thread-safe authentication and coordinated re-login after session invalidation, with bounded shared recovery attempts
  • Separate connection and read timeouts, environment-based configuration, and comprehensive error handling
  • Memory-efficient CLI JSON serialization, with output files opened only when results are ready to be written

Intended Use

This software is provided solely for research, educational, development, interoperability, and bioinformatics workflow automation purposes.

This project is NOT intended by the authors to be used for:

  • clinical diagnosis,
  • in vitro diagnostic procedures,
  • patient stratification,
  • treatment selection,
  • medical decision-making,
  • or any other medical purpose as defined under applicable medical device or in vitro diagnostic regulations, including but not limited to Regulation (EU) 2017/746 (IVDR).

The software is not a certified in vitro diagnostic medical device and has not undergone clinical performance studies, regulatory assessment, or conformity assessment procedures required for software intended for in vitro diagnostic use.

Users are solely responsible for ensuring compliance with all applicable laws, regulations, institutional policies, and validation requirements in their jurisdiction and use case.

License

This project is licensed under the GNU General Public License v3.0 (GPLv3). See the LICENSE file for details.

Documentation

The full documentation for this project is available at laborberlin.github.io/varvis-connector/

It covers:

  • Requirements and installation
  • Configuration and environment variables
  • Usage guide for the CLI and the Python package
  • Python package API documentation
  • Development guide
  • Changelog

Disclaimer

The varvis® logo is a registered trademark of Limbus Medical Technologies GmbH and is used in this project with permission. This project is independent and is not affiliated with, endorsed by, or officially supported by Limbus Medical Technologies GmbH.

Metadata

Release files for varvis-connector 0.4.0

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

Source distribution (sdist)

Source distribution for varvis-connector 0.4.0
File Size Uploaded Provenance Actions
varvis_connector-0.4.0.tar.gz 71.3 kB With provenance Details for varvis_connector-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for varvis-connector 0.4.0
File Interpreter ABI Platform Actions
varvis_connector-0.4.0-py3-none-any.whl Python 3 none any Details for varvis_connector-0.4.0-py3-none-any.whl

Total release size: 144.6 kB

Release files / varvis_connector-0.4.0.tar.gz

Download URL varvis_connector-0.4.0.tar.gz
Size 71.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b65722bc24123e1bb184f624a4c205f70d544fb51ae79cf5656aea8c9d389a97
BLAKE2b-256 checksum
How to use checksums
8b73644bb79a87d813c25db4628ea9108b8272b683166b385c08feaa7e68a947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Release files / varvis_connector-0.4.0-py3-none-any.whl

Download URL varvis_connector-0.4.0-py3-none-any.whl
Size 73.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3de92325ad34aa85975b32748c883b3a195fc78f02700b2ca716c1074cc68e7b
BLAKE2b-256 checksum
How to use checksums
fdb00b9ccf3c7513263b13b925aeba2a1aeaa74676fafaa2d1fb0e8a284b7ec9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Security for varvis-connector 0.4.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for varvis_connector-0.4.0.tar.gz

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 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files Full provenance

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