Cradle SDK
A Python SDK for the Cradle Platform API: programmatic access to the data, projects, rounds, and tasks in a Cradle workspace.
>>> from cradle.sdk import Client
>>> client = Client(workspace="my-workspace")
>>> [project.name for project in client.project.list()]
Please click the following URL to complete authentication
https://signin.cradle.bio/device?user_code=XXXX-XXXX
and verify that the code matches: XXXX-XXXX
['My first project', 'My second project']
Authentication happens on first use via OAuth device flow, as shown above: the client prints a URL where sign-in completes in the browser.
The full documentation can be found at api-docs.cradle.bio/sdk.
Installation
pip install cradle-sdk
Metadata
Release files for cradle-sdk 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cradle_sdk-0.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / cradle_sdk-0.13.0-py3-none-any.whl
| Download URL | cradle_sdk-0.13.0-py3-none-any.whl |
|---|---|
| Size | 53.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35041489c69c3e9ac5ac6115bacc927cf6bfb45bbc23330a2f18c18ec6f97518
|
|
BLAKE2b-256 checksum How to use checksums |
e081aa927351bc9aa11a9cb177671988c13894526dc9404995c0da85488863a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|