{"id":21510,"library":"label-studio","title":"Label Studio","description":"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.","status":"active","version":"1.23.0","language":"python","source_language":"en","source_url":"https://github.com/HumanSignal/label-studio","tags":["annotation","data-labeling","machine-learning","computer-vision","nlp"],"install":[{"cmd":"pip install label-studio","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"The SDK is used for API access; the main package provides a server.","symbol":"LabelStudio","correct":"from label_studio_sdk import Client"}],"quickstart":{"code":"import os\nfrom label_studio_sdk import Client\n\n# Connect to Label Studio\nls = Client(url='http://localhost:8080', api_key=os.environ.get('LABEL_STUDIO_API_KEY', ''))\n\n# Get or create a project\nproject = ls.get_project(1) if ls.get_project(1) else ls.create_project(title='My Project')\nprint(project)\n\n# Import tasks\nproject.import_tasks([{'data': {'text': 'Hello world'}}])","lang":"python","description":"Quickstart to connect and create a labeling project using the SDK."},"warnings":[{"fix":"Run `pip install label-studio-sdk` to use the SDK.","message":"The 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.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `label-studio start` as documented, or `python -m label_studio`.","message":"The `start` command with `label-studio start` will eventually be replaced by a CLI command. Check the documentation for the latest startup procedure.","severity":"deprecated","affected_versions":">=1.23.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run `pip install label-studio-sdk`","cause":"The SDK is not installed alongside the server package.","error":"ModuleNotFoundError: No module named 'label_studio_sdk'"},{"fix":"Use `from label_studio_sdk import Client`","cause":"Trying to import from the wrong package.","error":"ImportError: cannot import name 'Client' from 'label_studio'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}