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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

labric-0.9.5.tar.gz (95.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

labric-0.9.5-py3-none-any.whl (95.8 kB view details)

Uploaded Python 3

File details

Details for the file labric-0.9.5.tar.gz.

File metadata

  • Download URL: labric-0.9.5.tar.gz
  • Upload date:
  • Size: 95.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for labric-0.9.5.tar.gz
Algorithm Hash digest
SHA256 56c37e3f813fec171c06097d01120ee124a972f3956bff7d11c04d91e3baf79a
MD5 1e8bc44b55bbcecca08ff85e645c89d1
BLAKE2b-256 c226f777e887adcdb4f1e8900dc2b91d2612b7171c3cdd28ec7f3094d4af2c84

See more details on using hashes here.

Provenance

The following attestation bundles were made for labric-0.9.5.tar.gz:

Publisher: release.yml on Labric-Platforms/py-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file labric-0.9.5-py3-none-any.whl.

File metadata

  • Download URL: labric-0.9.5-py3-none-any.whl
  • Upload date:
  • Size: 95.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for labric-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 688f514cd5eb40bf1d96cd479867ac65cc5fac525f504092c6cf4990c015d4dd
MD5 d2f671746e760c72f99e0c823beba986
BLAKE2b-256 b0b9cafc9ca2a2606706de4b45bbce8ff93ccc9159862c88a71b777a05426288

See more details on using hashes here.

Provenance

The following attestation bundles were made for labric-0.9.5-py3-none-any.whl:

Publisher: release.yml on Labric-Platforms/py-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.12.8

2 files

0.12.7

2 files

0.12.6

2 files

0.12.5

2 files

0.12.4

2 files

0.12.3

2 files

0.12.1

2 files

0.12.0

2 files

0.11.0

2 files

0.10.4

2 files

0.10.1

2 files

0.10.0

2 files

0.9.6

2 files

This release

0.9.5 This release

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.17

2 files

0.8.16

2 files

0.8.15

2 files

0.8.14

2 files

0.8.13

2 files

0.8.12

2 files

0.8.10

2 files

0.8.5

2 files

0.8.4

2 files

0.8.1

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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