Skip to main content

rowlab-python-sdk

A typed Python client for rowlab: upload a dataset, add answer columns from models and from labels you set, then compare and export them, from a script or a notebook.

pip install 'rowlab-python-sdk[polars]'
from rowlab_sdk import Client, Task

with Client() as rl:  # app.rowlab.dev with ROWLAB_API_KEY, or ROWLAB_API_URL=http://localhost:8000
    ds = rl.datasets.upload(df, name="reviews")
    task = Task(template="Is this review negative? {{review}}", type="yes_no", column="negative")
    sample = rl.runs.create(ds.id, task, sql="SELECT * FROM data LIMIT 20")
    rl.runs.wait(sample.id)
    run = rl.runs.wait(rl.runs.create(ds.id, task).id)  # asks only the rows still missing
    rl.datasets.set_labels(ds.id, "gold", {0: True, 1: False}, task=task)
    comparison = rl.datasets.compare(ds.id, run.columns, reference="gold")
    answers = rl.datasets.export(ds.id)

Python 3.11 or newer. The guide is at docs.rowlab.dev/agents/python; the code is in row-and-reason/rowlab, Apache-2.0.

Metadata

Release files for rowlab-python-sdk 0.2.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 rowlab-python-sdk 0.2.0
File Size Uploaded Provenance Actions
rowlab_python_sdk-0.2.0.tar.gz 115.4 kB With provenance Details for rowlab_python_sdk-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rowlab-python-sdk 0.2.0
File Interpreter ABI Platform Actions
rowlab_python_sdk-0.2.0-py3-none-any.whl Python 3 none any Details for rowlab_python_sdk-0.2.0-py3-none-any.whl

Total release size: 138.2 kB

Release files / rowlab_python_sdk-0.2.0.tar.gz

Download URL rowlab_python_sdk-0.2.0.tar.gz
Size 115.4 kB
Tags Source
SHA-256 checksum
How to use checksums
567acaaff9aa8f4f5d34be81822c4e1eb9c5d84ca3439caf286a0d0c911fb5fb
BLAKE2b-256 checksum
How to use checksums
8133284036b43c1da07a856bcaec51649c8c2697ac79e0ba3ad2011c9299324f
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 15, 2026.

Transparency log

Release files / rowlab_python_sdk-0.2.0-py3-none-any.whl

Download URL rowlab_python_sdk-0.2.0-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8a8bcd0ec415081164c86feb3b9e7aa6217e736e71d7beb3e401b3adca9fda4
BLAKE2b-256 checksum
How to use checksums
33b9d0097c9c0095fcd0d7b93cf7bc3e90f11961bdfd67b73e6ee54fcc3495c1
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 15, 2026.

Transparency log

Security for rowlab-python-sdk 0.2.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 rowlab_python_sdk-0.2.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 15, 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