Skip to main content

Labric Python SDK

The official Python library for the Labric API. Full documentation is available at docs.labric.co.

Installation

pip install labric

Usage

from labric import Labric

client = Labric()  # reads LABRIC_API_KEY from the environment
# or pass the API key explicitly: Labric(api_key="lbk_...")

client.tools.write(
    target_name="samples",
    target_type="table",
    data=[{"sample_id": "S-001", "status": "received"}],
    mode="create",
)

An async client is also available:

from labric import AsyncLabric

See the API reference for the full list of methods and types.

Support

Contributing

This SDK is largely generated code. See CONTRIBUTING.md for how it is generated and released.

Release files for labric 0.13.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 labric 0.13.0
File Size Uploaded
labric-0.13.0.tar.gz 99.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for labric 0.13.0
File Interpreter ABI Platform
labric-0.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 215.4 kB

Release files / labric-0.13.0.tar.gz

Download URL labric-0.13.0.tar.gz
Size 99.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a82147765e87018cb42a7c9b0afdc9b2e2d92c071e489d9fce4c5cfc65d57b98
BLAKE2b-256 checksum
How to use checksums
7e443a06b0b93bede90e76f645ca320920b38f2f8f182f77d850d8ed33710e92
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 Sep 22, 2026.

Transparency log

Release files / labric-0.13.0-py3-none-any.whl

Download URL labric-0.13.0-py3-none-any.whl
Size 115.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c872b0fe1356c8758e3baec30213c123d0aa6fe7a7f9d03f4392350d80e83fc3
BLAKE2b-256 checksum
How to use checksums
32ab65ff84e5eb84b125a9bb381d3d33698f5ddf61f0d96c739589b6f9a5a96d
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 Sep 22, 2026.

Transparency log

Release history Release notifications | RSS feed

0.13.5

2 release files

0.13.4

2 release files

0.13.3

2 release files

0.13.2

2 release files

0.13.1

2 release files

This release

0.13.0 This release

2 release files

0.12.9

2 release files

0.12.8

2 release files

0.12.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.17

2 release files

0.8.16

2 release files

0.8.10

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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