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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file labric-0.12.4.tar.gz.
File metadata
- Download URL: labric-0.12.4.tar.gz
- Upload date:
- Size: 88.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac62b26643b98e94b5d8e54606d3880cfc617052bf0b664e788b8a66c2d0d297
|
|
| MD5 |
9de25d20e33089ce251d26eb731ce03d
|
|
| BLAKE2b-256 |
ee414ecea833419a3a12153666da20ead28a6d173d38cb503e38829ad8564120
|
Provenance
The following attestation bundles were made for labric-0.12.4.tar.gz:
Publisher:
release.yml on Labric-Platforms/py-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
labric-0.12.4.tar.gz -
Subject digest:
ac62b26643b98e94b5d8e54606d3880cfc617052bf0b664e788b8a66c2d0d297 - Sigstore transparency entry: 2705187401
- Sigstore integration time:
-
Permalink:
Labric-Platforms/py-sdk@4b36f8115a88214b673b02a99e769afa1c92fea1 -
Branch / Tag:
refs/tags/v0.12.4 - Owner: https://github.com/Labric-Platforms
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4b36f8115a88214b673b02a99e769afa1c92fea1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file labric-0.12.4-py3-none-any.whl.
File metadata
- Download URL: labric-0.12.4-py3-none-any.whl
- Upload date:
- Size: 96.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca26e7fbdf511447b64dd27596f6458503349e315d6ef30e4c2cf2b372b53a48
|
|
| MD5 |
9f873ccacba36fe737642005ff06d613
|
|
| BLAKE2b-256 |
5150618cbbcc0787d00208239f7854eab7d3f34c12c23f8728b688f2a006b956
|
Provenance
The following attestation bundles were made for labric-0.12.4-py3-none-any.whl:
Publisher:
release.yml on Labric-Platforms/py-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
labric-0.12.4-py3-none-any.whl -
Subject digest:
ca26e7fbdf511447b64dd27596f6458503349e315d6ef30e4c2cf2b372b53a48 - Sigstore transparency entry: 2705187457
- Sigstore integration time:
-
Permalink:
Labric-Platforms/py-sdk@4b36f8115a88214b673b02a99e769afa1c92fea1 -
Branch / Tag:
refs/tags/v0.12.4 - Owner: https://github.com/Labric-Platforms
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4b36f8115a88214b673b02a99e769afa1c92fea1 -
Trigger Event:
push
-
Statement type: