Create a Project
You can create a project in Label Studio using the SDK.
To start, you just need to specify:
- Project title
- Labeling configuration
Choose your labeling configuration based on the type of labeling that you wish to perform. See the available templates for Label Studio projects, or set a blank configuration with <View></View>.
For this example, we will use the following basic labeling config to perform sentiment analysis on text:
Your Python will look like this. For information on finding your API key and base URL, see Authenticate and Connect to the API.
Setting workspace in Label Studio Enterprise
The example above creates the project in your Sandbox workspace.
You can specify a different workspace using the workspace ID, which you can find in the URL when viewing the workspace in Label Studio or by using the API.