Skip to main content

proofline-sdk

Typed synchronous and asynchronous Python clients for the Proofline review API. They read and request reviews with a scoped API token, and add pagination, waiting for a review, retries and typed errors. The import package is proofline. Python 3.11 or newer is required.

pip install proofline-sdk
import os
from proofline import ProoflineClient

with ProoflineClient(os.environ["PROOFLINE_TOKEN"]) as client:
    ...

The clients read PROOFLINE_TOKEN when no token is passed, keep the token in memory and redact it from diagnostic output. AsyncProoflineClient has the same methods as coroutines. The SDK guide and API reference cover every operation.

Licensed under the Apache License, Version 2.0. The generated models under proofline/_generated carry the MIT license of the generator templates.

Exports

export_reviews reads one CSV or NDJSON page through the existing bounded transport. It returns the original text, decoded rows, dataset version, settled horizon and optional next cursor. CSV cells remain strings, including nested JSON cells; NDJSON retains JSON values. Export tokens need analytics:read. Repeat with the returned cursor and the same dataset, window, format and grouping. A missing next cursor marks the last page. Each CSV page includes its own header.

from uuid import UUID

with ProoflineClient() as client:
    page = client.export_reviews(
        UUID(os.environ["PROOFLINE_ORGANIZATION_ID"]), "reviews",
        from_time="2026-10-01T00:00:00Z", to_time="2026-10-25T00:00:00Z",
        format="csv",
    )
    print(page.text, end="")
    # Continue with cursor=page.next_cursor when it is not None.

Development

The repository bundles its public API contract in openapi.public.json. Run python3 scripts/check.py to install pinned tools, regenerate the client, run checks and verify built packages.

Publishing

GitHub Actions runs the checks on pull requests and main. The Release workflow builds checked artifacts without publishing credentials. Run it on main with publish=false to verify the release path. A vX.Y.Z tag matching the package version, or a main-branch dispatch with publish=true, publishes after the pypi environment approves the job. Release commits must belong to main.

Publishing uses GitHub OIDC and the repository's release.yml trusted publisher. No registry token is stored in GitHub.

SDK patch releases can update packaging and publishing independently. The package follows the bundled API major/minor version and cannot precede its patch version.

Metadata

Release files for proofline-sdk 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proofline-sdk 1.0.1
File Size Uploaded Provenance
proofline_sdk-1.0.1.tar.gz 194.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for proofline-sdk 1.0.1
File Interpreter ABI Platform
proofline_sdk-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 454.8 kB

Release files / proofline_sdk-1.0.1.tar.gz

Download URL proofline_sdk-1.0.1.tar.gz
Size 194.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c63b6ae940b3cf1e8c8c143f224822cae80c39f9d35c31a5acf5a1fe9317e2b8
BLAKE2b-256 checksum
How to use checksums
979c8f9f0d6fdf751f85f09ec7c5c2f897e84f207605f3bb8840cc654cc7a3b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 25, 2026.

Transparency log

Release files / proofline_sdk-1.0.1-py3-none-any.whl

Download URL proofline_sdk-1.0.1-py3-none-any.whl
Size 260.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1961983b9b403b4a981db0f4a28a02beab2d8f744e5a5a9e4b96e3aed6386fd2
BLAKE2b-256 checksum
How to use checksums
e46f626b90134c76d3efcf7e8f7e6f6031bf78b5274250c6b85204665a301d48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 25, 2026.

Transparency log

Security for proofline-sdk 1.0.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for proofline_sdk-1.0.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 Oct 25, 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