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_protocalls 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.2.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 | |
|---|---|---|---|
| dbtlabs_vortex-0.2.1.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dbtlabs_vortex-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / dbtlabs_vortex-0.2.1.tar.gz
| Download URL | dbtlabs_vortex-0.2.1.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61f95e271f759b9f27046528af0a93fc775054f912da566bf645b67fd2a4c2c4
|
|
BLAKE2b-256 checksum How to use checksums |
9de373b8ccc1e74d8d7baa30fc8140d50c8b2346f12b64bb3870955f8f5c148d
|
| 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 Jun 18, 2026.
Transparency logRelease files / dbtlabs_vortex-0.2.1-py3-none-any.whl
| Download URL | dbtlabs_vortex-0.2.1-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49de6314436fe87d98cc32f73f105b73502136c352626274dbd66c402c53b74a
|
|
BLAKE2b-256 checksum How to use checksums |
6fca3b6b100514961277bc6b71835f7b0d52a07aa4df0235849f2f4e6e0cdc62
|
| 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 Jun 18, 2026.
Transparency log