Registry / ai-ml / label-studio

label-studio

JSON →
library1.23.0pypypi✓ verified 86d ago

Label Studio is an open-source data labeling platform for preparing training data for machine learning models. It supports various data types including images, text, audio, video, and time series. The current stable version is 1.23.0, with active development on a nightly build track, releasing approximately monthly.

pip install label-studio
INSTALL
IMPORT
SIG · LABEL-STUDIO
L
label-studio
ai-mlpythonv1.23.0
Install
37.3s avg
Import
1268ms
Disk
840MB
Pass rate
6/ 10
Env Coverage6 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.23.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 46.1s
py 3.11
✕ build_error
✓ 44.7s
py 3.12
✕ build_error
✓ 44.2s
py 3.13
✕ build_error
✓ 41.4s
py 3.9
✓ 0.1s
✓ 47.1s
840MB installed
● package 840MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LabelStudio
from label_studio_sdk import Client
The SDK is used for API access; the main package provides a server.

Quickstart to connect and create a labeling project using the SDK.

import os from label_studio_sdk import Client # Connect to Label Studio ls = Client(url='http://localhost:8080', api_key=os.environ.get('LABEL_STUDIO_API_KEY', '')) # Get or create a project project = ls.get_project(1) if ls.get_project(1) else ls.create_project(title='My Project') print(project) # Import tasks project.import_tasks([{'data': {'text': 'Hello world'}}])
label-studio --version
Debug
Known issues
gotchaThe label-studio package (server) and label-studio-sdk (client) are separate. Installing label-studio does not automatically install the SDK. Use `pip install label-studio-sdk` for programmatic access.
fix
Run `pip install label-studio-sdk` to use the SDK.
affects: all
deprecatedThe `start` command with `label-studio start` will eventually be replaced by a CLI command. Check the documentation for the latest startup procedure.
fix
Use `label-studio start` as documented, or `python -m label_studio`.
affects: >=1.23.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'label_studio_sdk'
The SDK is not installed alongside the server package.
fix
Run `pip install label-studio-sdk`
ImportError: cannot import name 'Client' from 'label_studio'
Trying to import from the wrong package.
fix
Use `from label_studio_sdk import Client`
Upgrade
Version history
1.23.0latest on PyPI · released Mar 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources