Skip to main content

Vortex Python Client

A Python client for sending data to the Vortex.

Overview

This client provides an easy way to send properly formatted messages to Kafka topics that will be consumed by the Vortex service and written to Iceberg tables.

The client:

  • Accepts arbitrary protobufs onto a buffer via log_proto
  • Flushes messages in a background thread so that log_proto calls do not block

Installation

Prerequisites

  • Python 3.11, 3.12, 3.13

Setup

# From the clients/python directory
uv sync --all-extras

Quick Start

from dbtlabs_vortex.producer import log_proto, shutdown

# Send JSON data
log_proto(... proto ...)

# Wait for all messages to be delivered
shutdown(timeout_seconds=0.500)

Examples

There is one example included in the examples/ directory. You can run it with:

uv run examples/send_batch.py

This will send some generated events to a locally running Vortex. It also serves as a reference implementation for how to log events to Vortex using existing protos.

Error Handling

Metadata

Release files for dbtlabs-vortex 0.3.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 dbtlabs-vortex 0.3.0
File Size Uploaded Provenance Actions
dbtlabs_vortex-0.3.0.tar.gz 13.4 kB With provenance Details for dbtlabs_vortex-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbtlabs-vortex 0.3.0
File Interpreter ABI Platform Actions
dbtlabs_vortex-0.3.0-py3-none-any.whl Python 3 none any Details for dbtlabs_vortex-0.3.0-py3-none-any.whl

Total release size: 29.2 kB

Release files / dbtlabs_vortex-0.3.0.tar.gz

Download URL dbtlabs_vortex-0.3.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
839292289aa9892f83940e56a794cf088a6796a7da1f8a75c7a8c3a637d46c27
BLAKE2b-256 checksum
How to use checksums
027131b737cb7f1da8455ba67cd547aca3ecf01004ee6aabbba9d3a4b6525d87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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

Transparency log

Release files / dbtlabs_vortex-0.3.0-py3-none-any.whl

Download URL dbtlabs_vortex-0.3.0-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1b157e3dbe171a1982a6482c4aded76e0864ffb7b81286a54ac217149b100f0
BLAKE2b-256 checksum
How to use checksums
30cb856fdad4cb69a52f2c46e081f9dd2e4188803191123908f161d7baf82ff6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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

Transparency log

Security for dbtlabs-vortex 0.3.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 dbtlabs_vortex-0.3.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 Nov 26, 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.

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