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.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 rowlab-python-sdk 0.3.0
File Size Uploaded Provenance Actions
rowlab_python_sdk-0.3.0.tar.gz 116.7 kB With provenance Details for rowlab_python_sdk-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 140.8 kB

Release files / rowlab_python_sdk-0.3.0.tar.gz

Download URL rowlab_python_sdk-0.3.0.tar.gz
Size 116.7 kB
Tags Source
SHA-256 checksum
How to use checksums
193432ff45534c4dab3089d3617f7e35c19a005aca2c4073b17e3ae3d75a0f3f
BLAKE2b-256 checksum
How to use checksums
b160ea3dc9467161ebc3897a60d8c560caa9a60d5fc8e84768fa1347efa181a4
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 16, 2026.

Transparency log

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

Download URL rowlab_python_sdk-0.3.0-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1393c0aac33090d9dc42010684380c218c256a7a58d28dff9dc8d1fd14254034
BLAKE2b-256 checksum
How to use checksums
a9a2c3ba44a532e9d4c7370495f3f8e5fc6434c5839215a6cd6803f02e676f3d
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 16, 2026.

Transparency log

Security for rowlab-python-sdk 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 rowlab_python_sdk-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 16, 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