varvis® API Python package
Authors: Markus Konrad markus.konrad@laborberlin.com, Bernt Popp bernt.popp@laborberlin.com
Summary
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.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| varvis_connector-0.5.1.tar.gz | 71.3 kB | With provenance | Details for varvis_connector-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| varvis_connector-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for varvis_connector-0.5.1-py3-none-any.whl |
Total release size: 144.5 kB
Release files / varvis_connector-0.5.1.tar.gz
| Download URL | varvis_connector-0.5.1.tar.gz |
|---|---|
| Size | 71.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
057922522b0050df6d280c78f05aced37ac4cbe025e1682dc6a5a425ee03e187
|
|
BLAKE2b-256 checksum How to use checksums |
612f2a92494e1c9e3487ac6247f46b9a429fa7724c2576062200f24d74b780a3
|
| 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 Nov 10, 2026.
Transparency logRelease files / varvis_connector-0.5.1-py3-none-any.whl
| Download URL | varvis_connector-0.5.1-py3-none-any.whl |
|---|---|
| Size | 73.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56ca12388b54954e1eb5df5cd02312350d2d317be62e9b05d338b2370ec18371
|
|
BLAKE2b-256 checksum How to use checksums |
c324033019d27648917ee3e7a989ce42ed0b9b51c61734f5d14a07a547510ccf
|
| 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 Nov 10, 2026.
Transparency logSecurity for varvis-connector 0.5.1
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.
Attestation for varvis_connector-0.5.1.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 Nov 10, 2026.
Transparency logA 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.