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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| labric-0.13.2.tar.gz | 103.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| labric-0.13.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 223.8 kB
Release files / labric-0.13.2.tar.gz
| Download URL | labric-0.13.2.tar.gz |
|---|---|
| Size | 103.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93659b5b2ae9e5b05fe687c770226618622e793bad1b94cfb113b4a7cd4cb8b1
|
|
BLAKE2b-256 checksum How to use checksums |
dfd52cadad45086a3a4191a99f98605b37c50e65b9b1134c013c3baf8951b7f9
|
| 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 24, 2026.
Transparency logRelease files / labric-0.13.2-py3-none-any.whl
| Download URL | labric-0.13.2-py3-none-any.whl |
|---|---|
| Size | 120.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5d255a686b9e01c295978f8dede03b579ab0180e4e8bad224ff7c98c378859e
|
|
BLAKE2b-256 checksum How to use checksums |
6db3a2a78d9261747cdbe79782be12cf393d4001e6fbf8cab2d963fdfa91974b
|
| 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 24, 2026.
Transparency log