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.

Metadata

Release files for labric 0.13.7

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.7
File Size Uploaded Provenance
labric-0.13.7.tar.gz 103.5 kB With provenance Details

Built distribution (wheel)

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

Total release size: 224.8 kB

Release files / labric-0.13.7.tar.gz

Download URL labric-0.13.7.tar.gz
Size 103.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2bbb08bb39f0b55985cb4775b68cccfffef63f0b649476654389f8673669a9cf
BLAKE2b-256 checksum
How to use checksums
52b8fd0ffd28211b4b5e3626c59dff13977b5d51eb4c3e2f69ddb2c4c82ddd78
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 28, 2026.

Transparency log

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

Download URL labric-0.13.7-py3-none-any.whl
Size 121.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03708411e5b378f149668c8760d662a11644da0471caaa3953ea278af7e7ccff
BLAKE2b-256 checksum
How to use checksums
9c433f6b245674bac09874c49d4ce30dde03c6e5699c85b2f70f01073a748ef9
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 28, 2026.

Transparency log

Security for labric 0.13.7

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 labric-0.13.7.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 Sep 28, 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.

Release history Release notifications | RSS feed

This release

0.13.7 This release

2 release files Full provenance

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