label-studio-sdk
What it is and what it does
label-studio-sdk is a Python client library that wraps the Label Studio API, allowing developers to create, manage, and interact with annotation projects, tasks, and labels programmatically. It ships with both a Python API (instantiate a LabelStudio client and call methods like projects.create, tasks.create, projects.import_tasks) and a command-line interface that mirrors the SDK's resource structure.
The package is actively maintained and recently released version 2.0.0 with breaking changes and expanded feature support. It depends on a substantial set of runtime libraries including httpx and requests for HTTP communication, pydantic for data validation, and data processing tools like pandas, numpy, and opencv-python-headless. The library requires Python 3.10 or later and is distributed as a pure Python wheel, making installation straightforward across Windows, macOS, and Linux.
Use it for:
- Automate bulk creation and import of annotation tasks into Label Studio projects from external data sources.
- Build a Python application that programmatically retrieves project statistics, task metadata, or annotation results.
- Integrate Label Studio workflows into data pipelines by using the CLI to manage projects and tasks without writing Python code.
- Validate label configurations and manage project settings programmatically before launching annotation campaigns.
- Sync annotation data between Label Studio and external systems via the SDK's API methods.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library and CLI for interacting with the Label Studio API, enabling programmatic access to projects, tasks, annotations, and other Label Studio resources.
Yes, if you need programmatic access to Label Studio. The package is actively maintained, has low install friction, and supports current Python versions. However, verify the license terms before use—the metadata does not declare a license, which is a gap you should resolve before integrating into production or proprietary systems.
Install
label-studio-sdk on PyPI
pip
pip install label-studio-sdkuv
uv add label-studio-sdkpoetry
poetry add label-studio-sdkInstalling label-studio-sdk
Before you install
Low friction installation with a pure Python wheel. Active maintenance with a release 4 days old and recent commits. Depends on 24 runtime packages including httpx, requests, and pydantic for core functionality, plus data processing libraries like pandas, numpy, and opencv-python-headless.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms in the repository before use, particularly if this will be incorporated into proprietary or commercially distributed software.
Quickstart
pip install label-studio-sdk
from label_studio_sdk import LabelStudio
client = LabelStudio(
base_url='YOUR_LABEL_STUDIO_URL',
api_key='YOUR_API_KEY'
)
project = client.projects.create(title='My Project', label_config='...')
Requires Python 3.10 or later (supports up to 3.15). Requires a running Label Studio instance and valid API credentials.
Verify before relying
- Whether the unclear license is documented in the repository and what its terms are.
- Whether all 24 runtime dependencies are truly required for basic SDK usage or if some are optional.
- Performance characteristics and rate-limiting behavior with large numbers of tasks or projects.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (<4,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 24 — Pillow, appdirs, datamodel-code-generator, doclang, httpx, ijson, jsf, jsonschema, lxml, nltk, numpy, opencv-python-headless, pandas, pydantic, pydantic-core, pyjwt, requests, requests-mock, typer, typing_extensions, ujson, urllib3, watchfiles, xmljson |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 865,329/month — #4,864 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: label_studio_sdk-2.1.1-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
label-studioLabel Studio is a web-based data annotation…
permissive · top 15,000 on PyPI
surge-apiA Python SDK for accessing the Surge API to…
permissive · top 5,000 on PyPI
linear-apiA Python wrapper for the Linear API that…
permissive · top 15,000 on PyPI
orchestra-sdkA lightweight SDK for self-hosted tasks to send…
permissive · top 15,000 on PyPI
sagemaker-studioA Python SDK for accessing Amazon SageMaker…
permissive · top 5,000 on PyPI
elevenlabsOfficial Python SDK for ElevenLabs…
permissive · top 5,000 on PyPI
superviselyPython SDK for the Supervisely computer vision…
unclear · top 15,000 on PyPI
simileA Python client library for interacting with…
permissive · top 15,000 on PyPI
buildkite-sdkA Python SDK for interacting with Buildkite's…
unclear · top 15,000 on PyPI
labelboxLabelbox is a Python SDK for interacting with…
permissive · top 15,000 on PyPI