label-studio-sdk 0.0.34__tar.gz → 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- label_studio_sdk-1.0.1/PKG-INFO +163 -0
- label_studio_sdk-1.0.1/README.md +126 -0
- label_studio_sdk-1.0.1/pyproject.toml +67 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/__init__.py +234 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/__init__.py +0 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/core/__init__.py +0 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/core/label_config.py +163 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/core/utils/__init__.py +0 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/core/utils/exceptions.py +2 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/core/utils/io.py +228 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/core/utils/params.py +45 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/etl/__init__.py +1 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/etl/beam.py +34 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/etl/example.py +17 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/etl/registry.py +67 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/postprocessing/__init__.py +0 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/label_studio_tools/postprocessing/video.py +97 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions/pager_ext.py +49 -0
- {label-studio-sdk-0.0.34/label_studio_sdk → label_studio_sdk-1.0.1/src/label_studio_sdk/_legacy}/__init__.py +1 -1
- label_studio_sdk-1.0.1/src/label_studio_sdk/_legacy/objects.py +74 -0
- {label-studio-sdk-0.0.34/label_studio_sdk → label_studio_sdk-1.0.1/src/label_studio_sdk/_legacy}/project.py +2 -2
- {label-studio-sdk-0.0.34/label_studio_sdk → label_studio_sdk-1.0.1/src/label_studio_sdk/_legacy}/schema/label_config_schema.json +14 -14
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/__init__.py +27 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/client.py +223 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/__init__.py +25 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_filters.py +43 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_filters_conjunction.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_filters_items_item.py +49 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_filters_items_item_filter.py +31 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_filters_items_item_operator.py +23 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_id.py +19 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_ordering_item.py +31 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_selected_items.py +10 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_selected_items_excluded.py +39 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/actions/types/actions_create_request_selected_items_included.py +39 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/annotations/__init__.py +2 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/annotations/client.py +750 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/base_client.py +183 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/client.py +25 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/__init__.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/audio.py +56 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/brush.py +452 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/converter.py +1175 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/exports/__init__.py +0 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/exports/csv.py +82 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/exports/csv2.py +103 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/funsd.py +85 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/imports/__init__.py +0 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/imports/coco.py +314 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/imports/colors.py +198 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/imports/label_config.py +45 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/imports/pathtrack.py +269 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/imports/yolo.py +236 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/main.py +202 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/converter/utils.py +473 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/__init__.py +33 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/api_error.py +15 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/client_wrapper.py +55 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/datetime_utils.py +28 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/file.py +38 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/http_client.py +447 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/jsonable_encoder.py +99 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/pagination.py +87 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/pydantic_utilities.py +28 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/query_encoder.py +33 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/remove_none_from_dict.py +11 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/core/request_options.py +32 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/environment.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/errors/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/errors/bad_request_error.py +8 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/errors/internal_server_error.py +8 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/__init__.py +28 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/azure/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/azure/client.py +888 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/azure/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/azure/types/azure_create_response.py +67 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/azure/types/azure_update_response.py +67 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/client.py +107 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/gcs/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/gcs/client.py +888 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/gcs/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/gcs/types/gcs_create_response.py +67 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/gcs/types/gcs_update_response.py +67 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/local/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/local/client.py +834 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/local/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/local/types/local_create_response.py +57 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/local/types/local_update_response.py +57 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/redis/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/redis/client.py +918 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/redis/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/redis/types/redis_create_response.py +72 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/redis/types/redis_update_response.py +72 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/s3/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/s3/client.py +1008 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/s3/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/s3/types/s3create_response.py +89 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/s3/types/s3update_response.py +89 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/types/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/export_storage/types/export_storage_list_types_response_item.py +30 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/files/__init__.py +2 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/files/client.py +556 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/__init__.py +28 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/azure/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/azure/client.py +988 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/azure/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/azure/types/azure_create_response.py +82 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/azure/types/azure_update_response.py +82 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/client.py +107 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/gcs/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/gcs/client.py +988 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/gcs/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/gcs/types/gcs_create_response.py +82 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/gcs/types/gcs_update_response.py +82 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/local/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/local/client.py +836 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/local/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/local/types/local_create_response.py +57 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/local/types/local_update_response.py +57 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/redis/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/redis/client.py +924 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/redis/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/redis/types/redis_create_response.py +72 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/redis/types/redis_update_response.py +72 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/s3/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/s3/client.py +1138 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/s3/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/s3/types/s3create_response.py +109 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/s3/types/s3update_response.py +109 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/types/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/import_storage/types/import_storage_list_types_response_item.py +30 -0
- {label-studio-sdk-0.0.34 → label_studio_sdk-1.0.1/src}/label_studio_sdk/label_interface/base.py +10 -0
- {label-studio-sdk-0.0.34 → label_studio_sdk-1.0.1/src}/label_studio_sdk/label_interface/control_tags.py +109 -71
- label_studio_sdk-1.0.1/src/label_studio_sdk/label_interface/data_examples.json +96 -0
- {label-studio-sdk-0.0.34 → label_studio_sdk-1.0.1/src}/label_studio_sdk/label_interface/interface.py +102 -53
- {label-studio-sdk-0.0.34 → label_studio_sdk-1.0.1/src}/label_studio_sdk/label_interface/object_tags.py +8 -13
- label_studio_sdk-1.0.1/src/label_studio_sdk/label_interface/region.py +75 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/ml/__init__.py +19 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/ml/client.py +981 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/ml/types/__init__.py +17 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/ml/types/ml_create_request_auth_method.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/ml/types/ml_create_response.py +78 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/ml/types/ml_create_response_auth_method.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/ml/types/ml_update_request_auth_method.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/ml/types/ml_update_response.py +78 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/ml/types/ml_update_response_auth_method.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/predictions/__init__.py +2 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/predictions/client.py +638 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/projects/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/projects/client.py +1055 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/projects/client_ext.py +19 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/projects/exports/__init__.py +2 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/projects/exports/client.py +930 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/projects/types/__init__.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/projects/types/projects_create_response.py +96 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/projects/types/projects_import_tasks_response.py +71 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/projects/types/projects_list_response.py +33 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/py.typed +0 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/tasks/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/tasks/client.py +835 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/tasks/client_ext.py +18 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/tasks/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/tasks/types/tasks_list_request_fields.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/tasks/types/tasks_list_response.py +48 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/__init__.py +115 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/annotation.py +116 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/annotation_filter_options.py +42 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/annotation_last_action.py +19 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/azure_blob_export_storage.py +112 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/azure_blob_export_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/azure_blob_import_storage.py +113 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/azure_blob_import_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/base_task.py +113 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/base_user.py +42 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/converted_format.py +36 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/converted_format_status.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/export.py +48 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/export_convert.py +32 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/export_create.py +54 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/export_create_status.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/export_status.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/file_upload.py +30 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/filter.py +53 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/filter_group.py +35 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/gcs_export_storage.py +112 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/gcs_export_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/gcs_import_storage.py +113 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/gcs_import_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/local_files_export_storage.py +97 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/local_files_export_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/local_files_import_storage.py +92 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/local_files_import_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/ml_backend.py +89 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/ml_backend_auth_method.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/ml_backend_state.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/prediction.py +78 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/project.py +198 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/project_import.py +63 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/project_import_status.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/project_label_config.py +32 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/project_sampling.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/project_skip_queue.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/redis_export_storage.py +117 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/redis_export_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/redis_import_storage.py +112 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/redis_import_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/s3export_storage.py +134 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/s3export_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/s3import_storage.py +140 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/s3import_storage_status.py +7 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/serialization_option.py +36 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/serialization_options.py +45 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/task.py +157 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/task_filter_options.py +49 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/user_simple.py +37 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/view.py +55 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/webhook.py +67 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/webhook_actions_item.py +21 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/webhook_serializer_for_update.py +67 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/types/webhook_serializer_for_update_actions_item.py +21 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/users/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/users/client.py +830 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/users/types/__init__.py +6 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/users/types/users_get_token_response.py +36 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/users/types/users_reset_token_response.py +36 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/version.py +4 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/__init__.py +35 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/client.py +564 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/__init__.py +33 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_create_request_data.py +43 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_create_request_data_filters.py +43 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_create_request_data_filters_conjunction.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_create_request_data_filters_items_item.py +49 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_create_request_data_filters_items_item_filter.py +31 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_create_request_data_filters_items_item_operator.py +23 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_create_request_data_ordering_item.py +31 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_update_request_data.py +43 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_update_request_data_filters.py +43 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_update_request_data_filters_conjunction.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_update_request_data_filters_items_item.py +49 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_update_request_data_filters_items_item_filter.py +31 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_update_request_data_filters_items_item_operator.py +23 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/views/types/views_update_request_data_ordering_item.py +31 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/webhooks/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/webhooks/client.py +636 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/webhooks/types/__init__.py +5 -0
- label_studio_sdk-1.0.1/src/label_studio_sdk/webhooks/types/webhooks_update_request_actions_item.py +21 -0
- label-studio-sdk-0.0.34/LICENSE +0 -201
- label-studio-sdk-0.0.34/MANIFEST.in +0 -2
- label-studio-sdk-0.0.34/PKG-INFO +0 -18
- label-studio-sdk-0.0.34/README.md +0 -60
- label-studio-sdk-0.0.34/label_studio_sdk/label_interface/region.py +0 -43
- label-studio-sdk-0.0.34/label_studio_sdk/objects.py +0 -35
- label-studio-sdk-0.0.34/label_studio_sdk.egg-info/PKG-INFO +0 -18
- label-studio-sdk-0.0.34/label_studio_sdk.egg-info/SOURCES.txt +0 -42
- label-studio-sdk-0.0.34/label_studio_sdk.egg-info/dependency_links.txt +0 -1
- label-studio-sdk-0.0.34/label_studio_sdk.egg-info/requires.txt +0 -6
- label-studio-sdk-0.0.34/label_studio_sdk.egg-info/top_level.txt +0 -2
- label-studio-sdk-0.0.34/requirements.txt +0 -6
- label-studio-sdk-0.0.34/setup.cfg +0 -4
- label-studio-sdk-0.0.34/setup.py +0 -35
- label-studio-sdk-0.0.34/tests/test_client.py +0 -37
- label-studio-sdk-0.0.34/tests/test_export.py +0 -105
- label-studio-sdk-0.0.34/tests/test_interface/__init__.py +0 -1
- label-studio-sdk-0.0.34/tests/test_interface/configs.py +0 -137
- label-studio-sdk-0.0.34/tests/test_interface/mockups.py +0 -22
- label-studio-sdk-0.0.34/tests/test_interface/test_compat.py +0 -64
- label-studio-sdk-0.0.34/tests/test_interface/test_control_tags.py +0 -55
- label-studio-sdk-0.0.34/tests/test_interface/test_data_generation.py +0 -45
- label-studio-sdk-0.0.34/tests/test_interface/test_lpi.py +0 -15
- label-studio-sdk-0.0.34/tests/test_interface/test_main.py +0 -196
- label-studio-sdk-0.0.34/tests/test_interface/test_object_tags.py +0 -36
- label-studio-sdk-0.0.34/tests/test_interface/test_region.py +0 -36
- label-studio-sdk-0.0.34/tests/test_interface/test_validate_summary.py +0 -35
- label-studio-sdk-0.0.34/tests/test_interface/test_validation.py +0 -59
- {label-studio-sdk-0.0.34/tests → label_studio_sdk-1.0.1/src/label_studio_sdk/_extensions}/__init__.py +0 -0
- {label-studio-sdk-0.0.34/label_studio_sdk → label_studio_sdk-1.0.1/src/label_studio_sdk/_legacy}/client.py +0 -0
- {label-studio-sdk-0.0.34/label_studio_sdk → label_studio_sdk-1.0.1/src/label_studio_sdk/_legacy}/exceptions.py +0 -0
- {label-studio-sdk-0.0.34/label_studio_sdk → label_studio_sdk-1.0.1/src/label_studio_sdk/_legacy}/users.py +0 -0
- {label-studio-sdk-0.0.34/label_studio_sdk → label_studio_sdk-1.0.1/src/label_studio_sdk/_legacy}/utils.py +0 -0
- {label-studio-sdk-0.0.34/label_studio_sdk → label_studio_sdk-1.0.1/src/label_studio_sdk/_legacy}/workspaces.py +0 -0
- {label-studio-sdk-0.0.34 → label_studio_sdk-1.0.1/src}/label_studio_sdk/data_manager.py +0 -0
- {label-studio-sdk-0.0.34 → label_studio_sdk-1.0.1/src}/label_studio_sdk/label_interface/__init__.py +0 -0
- {label-studio-sdk-0.0.34 → label_studio_sdk-1.0.1/src}/label_studio_sdk/label_interface/label_tags.py +0 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: label-studio-sdk
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Summary:
|
|
5
|
+
Requires-Python: >=3.8,<4.0
|
|
6
|
+
Classifier: Intended Audience :: Developers
|
|
7
|
+
Classifier: Operating System :: MacOS
|
|
8
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: Operating System :: POSIX
|
|
11
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
12
|
+
Classifier: Programming Language :: Python
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Dist: Pillow (>=10.0.1)
|
|
22
|
+
Requires-Dist: appdirs (>=1.4.3)
|
|
23
|
+
Requires-Dist: httpx (>=0.21.2)
|
|
24
|
+
Requires-Dist: ijson (>=3.2.3)
|
|
25
|
+
Requires-Dist: jsonschema (==3.2.0)
|
|
26
|
+
Requires-Dist: lxml (>=4.2.5)
|
|
27
|
+
Requires-Dist: nltk (==3.6.7)
|
|
28
|
+
Requires-Dist: pandas (>=0.24.0)
|
|
29
|
+
Requires-Dist: pydantic (>=1.9.2)
|
|
30
|
+
Requires-Dist: requests (>=2.22.0)
|
|
31
|
+
Requires-Dist: requests-mock (==1.12.1)
|
|
32
|
+
Requires-Dist: typing_extensions (>=4.0.0)
|
|
33
|
+
Requires-Dist: ujson (>=5.8.0)
|
|
34
|
+
Requires-Dist: xmljson (==0.2.1)
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
|
|
37
|
+
# Label Studio Python Library
|
|
38
|
+
|
|
39
|
+
<!-- Note about deprecated version <1 -->
|
|
40
|
+
---
|
|
41
|
+
> :warning: **Note**<br/>
|
|
42
|
+
>
|
|
43
|
+
> The version of `label-studio-sdk<1` is deprecated and no longer supported. We recommend updating to the latest version.
|
|
44
|
+
> If you still want to use the old version, you can install it with `pip install "label-studio-sdk<1"`.
|
|
45
|
+
> OR You can find the branch with the old version by cloning the repository and checking out the branch as follows:
|
|
46
|
+
>
|
|
47
|
+
> ```sh
|
|
48
|
+
> git clone https://github.com/HumanSignal/label-studio-sdk.git
|
|
49
|
+
> cd label-studio-sdk
|
|
50
|
+
> git checkout previous-version
|
|
51
|
+
> ```
|
|
52
|
+
>
|
|
53
|
+
> OR you can change your import statements as follows:
|
|
54
|
+
> ```python
|
|
55
|
+
> from label_studio_sdk import Client
|
|
56
|
+
> from label_studio_sdk.data_manager import Filters, Column, Operator, Type
|
|
57
|
+
> from label_studio_sdk._legacy import Project
|
|
58
|
+
> ```
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
[](https://github.com/fern-api/fern)
|
|
62
|
+
|
|
63
|
+
The Label Studio Python Library provides convenient access to the Label Studio API from applications written in Python.
|
|
64
|
+
<!-- End Title -->
|
|
65
|
+
|
|
66
|
+
<!-- Outline -->
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
# Documentation
|
|
70
|
+
Explore the Label Studio API documentation [here](https://api.labelstud.io/).
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
# Installation
|
|
74
|
+
|
|
75
|
+
```sh
|
|
76
|
+
pip install --upgrade label-studio-sdk
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
# Usage
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
from label_studio_sdk.client import LabelStudio
|
|
83
|
+
|
|
84
|
+
ls = LabelStudio(
|
|
85
|
+
base_url='YOUR_LABEL_STUDIO_URL',
|
|
86
|
+
api_key="YOUR_API_KEY",
|
|
87
|
+
)
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
# Examples
|
|
91
|
+
|
|
92
|
+
Check more examples [here](https://api.labelstud.io/).
|
|
93
|
+
|
|
94
|
+
## Create a new project
|
|
95
|
+
|
|
96
|
+
```python
|
|
97
|
+
project = ls.projects.create(
|
|
98
|
+
name="Project name",
|
|
99
|
+
description="Project description",
|
|
100
|
+
label_config="""
|
|
101
|
+
<View>
|
|
102
|
+
<Image name="image" value="$image" />
|
|
103
|
+
<RectangleLabels name="label" toName="image">
|
|
104
|
+
<Label value="cat" />
|
|
105
|
+
<Label value="dog" />
|
|
106
|
+
</RectangleLabels>
|
|
107
|
+
</View>
|
|
108
|
+
"""
|
|
109
|
+
)
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Create a new task
|
|
113
|
+
|
|
114
|
+
```python
|
|
115
|
+
task = ls.tasks.create(
|
|
116
|
+
project=project.id,
|
|
117
|
+
data={"image": "https://example.com/image.jpg"}
|
|
118
|
+
)
|
|
119
|
+
```
|
|
120
|
+
Now you can open the project `PROJECT_ID` in the Label Studio UI and create annotations for the task.
|
|
121
|
+
|
|
122
|
+
## Export annotations
|
|
123
|
+
|
|
124
|
+
```python
|
|
125
|
+
annotations = [
|
|
126
|
+
task.annotations
|
|
127
|
+
for task in ls.tasks.list(project=project.id, fields='all')
|
|
128
|
+
if task.annotations
|
|
129
|
+
]
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
## Async client
|
|
134
|
+
|
|
135
|
+
```python
|
|
136
|
+
from label_studio_sdk.client import AsyncLabelStudio
|
|
137
|
+
|
|
138
|
+
client = AsyncLabelStudio(
|
|
139
|
+
api_key="YOUR_API_KEY",
|
|
140
|
+
)
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
<!-- Begin Status, generated by Fern -->
|
|
144
|
+
# Beta Status
|
|
145
|
+
|
|
146
|
+
This SDK is in beta, and there may be breaking changes between versions without a major
|
|
147
|
+
version update. Therefore, we recommend pinning the package version to a specific version.
|
|
148
|
+
This way, you can install the same version each time without breaking changes.
|
|
149
|
+
<!-- End Status -->
|
|
150
|
+
|
|
151
|
+
<!-- Begin Contributing, generated by Fern -->
|
|
152
|
+
# Contributing
|
|
153
|
+
|
|
154
|
+
While we value open-source contributions to this SDK, this library is generated programmatically.
|
|
155
|
+
Additions made directly to this library would have to be moved over to our generation code,
|
|
156
|
+
otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
|
|
157
|
+
a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
|
|
158
|
+
an issue first to discuss with us!
|
|
159
|
+
|
|
160
|
+
On the other hand, contributions to the README are always very welcome!
|
|
161
|
+
<!-- End Contributing -->
|
|
162
|
+
|
|
163
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# Label Studio Python Library
|
|
2
|
+
|
|
3
|
+
<!-- Note about deprecated version <1 -->
|
|
4
|
+
---
|
|
5
|
+
> :warning: **Note**<br/>
|
|
6
|
+
>
|
|
7
|
+
> The version of `label-studio-sdk<1` is deprecated and no longer supported. We recommend updating to the latest version.
|
|
8
|
+
> If you still want to use the old version, you can install it with `pip install "label-studio-sdk<1"`.
|
|
9
|
+
> OR You can find the branch with the old version by cloning the repository and checking out the branch as follows:
|
|
10
|
+
>
|
|
11
|
+
> ```sh
|
|
12
|
+
> git clone https://github.com/HumanSignal/label-studio-sdk.git
|
|
13
|
+
> cd label-studio-sdk
|
|
14
|
+
> git checkout previous-version
|
|
15
|
+
> ```
|
|
16
|
+
>
|
|
17
|
+
> OR you can change your import statements as follows:
|
|
18
|
+
> ```python
|
|
19
|
+
> from label_studio_sdk import Client
|
|
20
|
+
> from label_studio_sdk.data_manager import Filters, Column, Operator, Type
|
|
21
|
+
> from label_studio_sdk._legacy import Project
|
|
22
|
+
> ```
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
[](https://github.com/fern-api/fern)
|
|
26
|
+
|
|
27
|
+
The Label Studio Python Library provides convenient access to the Label Studio API from applications written in Python.
|
|
28
|
+
<!-- End Title -->
|
|
29
|
+
|
|
30
|
+
<!-- Outline -->
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# Documentation
|
|
34
|
+
Explore the Label Studio API documentation [here](https://api.labelstud.io/).
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# Installation
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
pip install --upgrade label-studio-sdk
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
# Usage
|
|
44
|
+
|
|
45
|
+
```python
|
|
46
|
+
from label_studio_sdk.client import LabelStudio
|
|
47
|
+
|
|
48
|
+
ls = LabelStudio(
|
|
49
|
+
base_url='YOUR_LABEL_STUDIO_URL',
|
|
50
|
+
api_key="YOUR_API_KEY",
|
|
51
|
+
)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
# Examples
|
|
55
|
+
|
|
56
|
+
Check more examples [here](https://api.labelstud.io/).
|
|
57
|
+
|
|
58
|
+
## Create a new project
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
project = ls.projects.create(
|
|
62
|
+
name="Project name",
|
|
63
|
+
description="Project description",
|
|
64
|
+
label_config="""
|
|
65
|
+
<View>
|
|
66
|
+
<Image name="image" value="$image" />
|
|
67
|
+
<RectangleLabels name="label" toName="image">
|
|
68
|
+
<Label value="cat" />
|
|
69
|
+
<Label value="dog" />
|
|
70
|
+
</RectangleLabels>
|
|
71
|
+
</View>
|
|
72
|
+
"""
|
|
73
|
+
)
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Create a new task
|
|
77
|
+
|
|
78
|
+
```python
|
|
79
|
+
task = ls.tasks.create(
|
|
80
|
+
project=project.id,
|
|
81
|
+
data={"image": "https://example.com/image.jpg"}
|
|
82
|
+
)
|
|
83
|
+
```
|
|
84
|
+
Now you can open the project `PROJECT_ID` in the Label Studio UI and create annotations for the task.
|
|
85
|
+
|
|
86
|
+
## Export annotations
|
|
87
|
+
|
|
88
|
+
```python
|
|
89
|
+
annotations = [
|
|
90
|
+
task.annotations
|
|
91
|
+
for task in ls.tasks.list(project=project.id, fields='all')
|
|
92
|
+
if task.annotations
|
|
93
|
+
]
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## Async client
|
|
98
|
+
|
|
99
|
+
```python
|
|
100
|
+
from label_studio_sdk.client import AsyncLabelStudio
|
|
101
|
+
|
|
102
|
+
client = AsyncLabelStudio(
|
|
103
|
+
api_key="YOUR_API_KEY",
|
|
104
|
+
)
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
<!-- Begin Status, generated by Fern -->
|
|
108
|
+
# Beta Status
|
|
109
|
+
|
|
110
|
+
This SDK is in beta, and there may be breaking changes between versions without a major
|
|
111
|
+
version update. Therefore, we recommend pinning the package version to a specific version.
|
|
112
|
+
This way, you can install the same version each time without breaking changes.
|
|
113
|
+
<!-- End Status -->
|
|
114
|
+
|
|
115
|
+
<!-- Begin Contributing, generated by Fern -->
|
|
116
|
+
# Contributing
|
|
117
|
+
|
|
118
|
+
While we value open-source contributions to this SDK, this library is generated programmatically.
|
|
119
|
+
Additions made directly to this library would have to be moved over to our generation code,
|
|
120
|
+
otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
|
|
121
|
+
a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
|
|
122
|
+
an issue first to discuss with us!
|
|
123
|
+
|
|
124
|
+
On the other hand, contributions to the README are always very welcome!
|
|
125
|
+
<!-- End Contributing -->
|
|
126
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "label-studio-sdk"
|
|
3
|
+
version = "1.0.1"
|
|
4
|
+
description = ""
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = []
|
|
7
|
+
keywords = []
|
|
8
|
+
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Intended Audience :: Developers",
|
|
11
|
+
"Programming Language :: Python",
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Programming Language :: Python :: 3.8",
|
|
14
|
+
"Programming Language :: Python :: 3.9",
|
|
15
|
+
"Programming Language :: Python :: 3.10",
|
|
16
|
+
"Programming Language :: Python :: 3.11",
|
|
17
|
+
"Programming Language :: Python :: 3.12",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Operating System :: POSIX",
|
|
20
|
+
"Operating System :: MacOS",
|
|
21
|
+
"Operating System :: POSIX :: Linux",
|
|
22
|
+
"Operating System :: Microsoft :: Windows",
|
|
23
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
24
|
+
"Typing :: Typed"
|
|
25
|
+
]
|
|
26
|
+
packages = [
|
|
27
|
+
{ include = "label_studio_sdk", from = "src"}
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
[project.urls]
|
|
31
|
+
Repository = 'https://github.com/HumanSignal/label-studio-sdk'
|
|
32
|
+
|
|
33
|
+
[tool.poetry.dependencies]
|
|
34
|
+
python = "^3.8"
|
|
35
|
+
Pillow = ">=10.0.1"
|
|
36
|
+
appdirs = ">=1.4.3"
|
|
37
|
+
httpx = ">=0.21.2"
|
|
38
|
+
ijson = ">=3.2.3"
|
|
39
|
+
jsonschema = "3.2.0"
|
|
40
|
+
lxml = ">=4.2.5"
|
|
41
|
+
nltk = "3.6.7"
|
|
42
|
+
pandas = ">=0.24.0"
|
|
43
|
+
pydantic = ">= 1.9.2"
|
|
44
|
+
requests = ">=2.22.0"
|
|
45
|
+
requests-mock = "1.12.1"
|
|
46
|
+
typing_extensions = ">= 4.0.0"
|
|
47
|
+
ujson = ">=5.8.0"
|
|
48
|
+
xmljson = "0.2.1"
|
|
49
|
+
|
|
50
|
+
[tool.poetry.dev-dependencies]
|
|
51
|
+
mypy = "1.0.1"
|
|
52
|
+
pytest = "^7.4.0"
|
|
53
|
+
pytest-asyncio = "^0.23.5"
|
|
54
|
+
python-dateutil = "^2.9.0"
|
|
55
|
+
types-python-dateutil = "^2.9.0.20240316"
|
|
56
|
+
|
|
57
|
+
[tool.pytest.ini_options]
|
|
58
|
+
testpaths = [ "tests" ]
|
|
59
|
+
asyncio_mode = "auto"
|
|
60
|
+
|
|
61
|
+
[tool.mypy]
|
|
62
|
+
plugins = ["pydantic.mypy"]
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
[build-system]
|
|
66
|
+
requires = ["poetry-core"]
|
|
67
|
+
build-backend = "poetry.core.masonry.api"
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from .types import (
|
|
4
|
+
Annotation,
|
|
5
|
+
AnnotationFilterOptions,
|
|
6
|
+
AnnotationLastAction,
|
|
7
|
+
AzureBlobExportStorage,
|
|
8
|
+
AzureBlobExportStorageStatus,
|
|
9
|
+
AzureBlobImportStorage,
|
|
10
|
+
AzureBlobImportStorageStatus,
|
|
11
|
+
BaseTask,
|
|
12
|
+
BaseUser,
|
|
13
|
+
ConvertedFormat,
|
|
14
|
+
ConvertedFormatStatus,
|
|
15
|
+
Export,
|
|
16
|
+
ExportConvert,
|
|
17
|
+
ExportCreate,
|
|
18
|
+
ExportCreateStatus,
|
|
19
|
+
ExportStatus,
|
|
20
|
+
FileUpload,
|
|
21
|
+
Filter,
|
|
22
|
+
FilterGroup,
|
|
23
|
+
GcsExportStorage,
|
|
24
|
+
GcsExportStorageStatus,
|
|
25
|
+
GcsImportStorage,
|
|
26
|
+
GcsImportStorageStatus,
|
|
27
|
+
LocalFilesExportStorage,
|
|
28
|
+
LocalFilesExportStorageStatus,
|
|
29
|
+
LocalFilesImportStorage,
|
|
30
|
+
LocalFilesImportStorageStatus,
|
|
31
|
+
MlBackend,
|
|
32
|
+
MlBackendAuthMethod,
|
|
33
|
+
MlBackendState,
|
|
34
|
+
Prediction,
|
|
35
|
+
Project,
|
|
36
|
+
ProjectImport,
|
|
37
|
+
ProjectImportStatus,
|
|
38
|
+
ProjectLabelConfig,
|
|
39
|
+
ProjectSampling,
|
|
40
|
+
ProjectSkipQueue,
|
|
41
|
+
RedisExportStorage,
|
|
42
|
+
RedisExportStorageStatus,
|
|
43
|
+
RedisImportStorage,
|
|
44
|
+
RedisImportStorageStatus,
|
|
45
|
+
S3ExportStorage,
|
|
46
|
+
S3ExportStorageStatus,
|
|
47
|
+
S3ImportStorage,
|
|
48
|
+
S3ImportStorageStatus,
|
|
49
|
+
SerializationOption,
|
|
50
|
+
SerializationOptions,
|
|
51
|
+
Task,
|
|
52
|
+
TaskFilterOptions,
|
|
53
|
+
UserSimple,
|
|
54
|
+
View,
|
|
55
|
+
Webhook,
|
|
56
|
+
WebhookActionsItem,
|
|
57
|
+
WebhookSerializerForUpdate,
|
|
58
|
+
WebhookSerializerForUpdateActionsItem,
|
|
59
|
+
)
|
|
60
|
+
from .errors import BadRequestError, InternalServerError
|
|
61
|
+
from . import (
|
|
62
|
+
actions,
|
|
63
|
+
annotations,
|
|
64
|
+
export_storage,
|
|
65
|
+
files,
|
|
66
|
+
import_storage,
|
|
67
|
+
ml,
|
|
68
|
+
predictions,
|
|
69
|
+
projects,
|
|
70
|
+
tasks,
|
|
71
|
+
users,
|
|
72
|
+
views,
|
|
73
|
+
webhooks,
|
|
74
|
+
)
|
|
75
|
+
from ._legacy import Client
|
|
76
|
+
from .actions import (
|
|
77
|
+
ActionsCreateRequestFilters,
|
|
78
|
+
ActionsCreateRequestFiltersConjunction,
|
|
79
|
+
ActionsCreateRequestFiltersItemsItem,
|
|
80
|
+
ActionsCreateRequestFiltersItemsItemFilter,
|
|
81
|
+
ActionsCreateRequestFiltersItemsItemOperator,
|
|
82
|
+
ActionsCreateRequestId,
|
|
83
|
+
ActionsCreateRequestOrderingItem,
|
|
84
|
+
ActionsCreateRequestSelectedItems,
|
|
85
|
+
ActionsCreateRequestSelectedItemsExcluded,
|
|
86
|
+
ActionsCreateRequestSelectedItemsIncluded,
|
|
87
|
+
)
|
|
88
|
+
from .environment import LabelStudioEnvironment
|
|
89
|
+
from .export_storage import ExportStorageListTypesResponseItem
|
|
90
|
+
from .import_storage import ImportStorageListTypesResponseItem
|
|
91
|
+
from .ml import (
|
|
92
|
+
MlCreateRequestAuthMethod,
|
|
93
|
+
MlCreateResponse,
|
|
94
|
+
MlCreateResponseAuthMethod,
|
|
95
|
+
MlUpdateRequestAuthMethod,
|
|
96
|
+
MlUpdateResponse,
|
|
97
|
+
MlUpdateResponseAuthMethod,
|
|
98
|
+
)
|
|
99
|
+
from .projects import ProjectsCreateResponse, ProjectsImportTasksResponse, ProjectsListResponse
|
|
100
|
+
from .tasks import TasksListRequestFields, TasksListResponse
|
|
101
|
+
from .users import UsersGetTokenResponse, UsersResetTokenResponse
|
|
102
|
+
from .version import __version__
|
|
103
|
+
from .views import (
|
|
104
|
+
ViewsCreateRequestData,
|
|
105
|
+
ViewsCreateRequestDataFilters,
|
|
106
|
+
ViewsCreateRequestDataFiltersConjunction,
|
|
107
|
+
ViewsCreateRequestDataFiltersItemsItem,
|
|
108
|
+
ViewsCreateRequestDataFiltersItemsItemFilter,
|
|
109
|
+
ViewsCreateRequestDataFiltersItemsItemOperator,
|
|
110
|
+
ViewsCreateRequestDataOrderingItem,
|
|
111
|
+
ViewsUpdateRequestData,
|
|
112
|
+
ViewsUpdateRequestDataFilters,
|
|
113
|
+
ViewsUpdateRequestDataFiltersConjunction,
|
|
114
|
+
ViewsUpdateRequestDataFiltersItemsItem,
|
|
115
|
+
ViewsUpdateRequestDataFiltersItemsItemFilter,
|
|
116
|
+
ViewsUpdateRequestDataFiltersItemsItemOperator,
|
|
117
|
+
ViewsUpdateRequestDataOrderingItem,
|
|
118
|
+
)
|
|
119
|
+
from .webhooks import WebhooksUpdateRequestActionsItem
|
|
120
|
+
|
|
121
|
+
__all__ = [
|
|
122
|
+
"ActionsCreateRequestFilters",
|
|
123
|
+
"ActionsCreateRequestFiltersConjunction",
|
|
124
|
+
"ActionsCreateRequestFiltersItemsItem",
|
|
125
|
+
"ActionsCreateRequestFiltersItemsItemFilter",
|
|
126
|
+
"ActionsCreateRequestFiltersItemsItemOperator",
|
|
127
|
+
"ActionsCreateRequestId",
|
|
128
|
+
"ActionsCreateRequestOrderingItem",
|
|
129
|
+
"ActionsCreateRequestSelectedItems",
|
|
130
|
+
"ActionsCreateRequestSelectedItemsExcluded",
|
|
131
|
+
"ActionsCreateRequestSelectedItemsIncluded",
|
|
132
|
+
"Annotation",
|
|
133
|
+
"AnnotationFilterOptions",
|
|
134
|
+
"AnnotationLastAction",
|
|
135
|
+
"AzureBlobExportStorage",
|
|
136
|
+
"AzureBlobExportStorageStatus",
|
|
137
|
+
"AzureBlobImportStorage",
|
|
138
|
+
"AzureBlobImportStorageStatus",
|
|
139
|
+
"BadRequestError",
|
|
140
|
+
"BaseTask",
|
|
141
|
+
"BaseUser",
|
|
142
|
+
"Client",
|
|
143
|
+
"ConvertedFormat",
|
|
144
|
+
"ConvertedFormatStatus",
|
|
145
|
+
"Export",
|
|
146
|
+
"ExportConvert",
|
|
147
|
+
"ExportCreate",
|
|
148
|
+
"ExportCreateStatus",
|
|
149
|
+
"ExportStatus",
|
|
150
|
+
"ExportStorageListTypesResponseItem",
|
|
151
|
+
"FileUpload",
|
|
152
|
+
"Filter",
|
|
153
|
+
"FilterGroup",
|
|
154
|
+
"GcsExportStorage",
|
|
155
|
+
"GcsExportStorageStatus",
|
|
156
|
+
"GcsImportStorage",
|
|
157
|
+
"GcsImportStorageStatus",
|
|
158
|
+
"ImportStorageListTypesResponseItem",
|
|
159
|
+
"InternalServerError",
|
|
160
|
+
"LabelStudioEnvironment",
|
|
161
|
+
"LocalFilesExportStorage",
|
|
162
|
+
"LocalFilesExportStorageStatus",
|
|
163
|
+
"LocalFilesImportStorage",
|
|
164
|
+
"LocalFilesImportStorageStatus",
|
|
165
|
+
"MlBackend",
|
|
166
|
+
"MlBackendAuthMethod",
|
|
167
|
+
"MlBackendState",
|
|
168
|
+
"MlCreateRequestAuthMethod",
|
|
169
|
+
"MlCreateResponse",
|
|
170
|
+
"MlCreateResponseAuthMethod",
|
|
171
|
+
"MlUpdateRequestAuthMethod",
|
|
172
|
+
"MlUpdateResponse",
|
|
173
|
+
"MlUpdateResponseAuthMethod",
|
|
174
|
+
"Prediction",
|
|
175
|
+
"Project",
|
|
176
|
+
"ProjectImport",
|
|
177
|
+
"ProjectImportStatus",
|
|
178
|
+
"ProjectLabelConfig",
|
|
179
|
+
"ProjectSampling",
|
|
180
|
+
"ProjectSkipQueue",
|
|
181
|
+
"ProjectsCreateResponse",
|
|
182
|
+
"ProjectsImportTasksResponse",
|
|
183
|
+
"ProjectsListResponse",
|
|
184
|
+
"RedisExportStorage",
|
|
185
|
+
"RedisExportStorageStatus",
|
|
186
|
+
"RedisImportStorage",
|
|
187
|
+
"RedisImportStorageStatus",
|
|
188
|
+
"S3ExportStorage",
|
|
189
|
+
"S3ExportStorageStatus",
|
|
190
|
+
"S3ImportStorage",
|
|
191
|
+
"S3ImportStorageStatus",
|
|
192
|
+
"SerializationOption",
|
|
193
|
+
"SerializationOptions",
|
|
194
|
+
"Task",
|
|
195
|
+
"TaskFilterOptions",
|
|
196
|
+
"TasksListRequestFields",
|
|
197
|
+
"TasksListResponse",
|
|
198
|
+
"UserSimple",
|
|
199
|
+
"UsersGetTokenResponse",
|
|
200
|
+
"UsersResetTokenResponse",
|
|
201
|
+
"View",
|
|
202
|
+
"ViewsCreateRequestData",
|
|
203
|
+
"ViewsCreateRequestDataFilters",
|
|
204
|
+
"ViewsCreateRequestDataFiltersConjunction",
|
|
205
|
+
"ViewsCreateRequestDataFiltersItemsItem",
|
|
206
|
+
"ViewsCreateRequestDataFiltersItemsItemFilter",
|
|
207
|
+
"ViewsCreateRequestDataFiltersItemsItemOperator",
|
|
208
|
+
"ViewsCreateRequestDataOrderingItem",
|
|
209
|
+
"ViewsUpdateRequestData",
|
|
210
|
+
"ViewsUpdateRequestDataFilters",
|
|
211
|
+
"ViewsUpdateRequestDataFiltersConjunction",
|
|
212
|
+
"ViewsUpdateRequestDataFiltersItemsItem",
|
|
213
|
+
"ViewsUpdateRequestDataFiltersItemsItemFilter",
|
|
214
|
+
"ViewsUpdateRequestDataFiltersItemsItemOperator",
|
|
215
|
+
"ViewsUpdateRequestDataOrderingItem",
|
|
216
|
+
"Webhook",
|
|
217
|
+
"WebhookActionsItem",
|
|
218
|
+
"WebhookSerializerForUpdate",
|
|
219
|
+
"WebhookSerializerForUpdateActionsItem",
|
|
220
|
+
"WebhooksUpdateRequestActionsItem",
|
|
221
|
+
"__version__",
|
|
222
|
+
"actions",
|
|
223
|
+
"annotations",
|
|
224
|
+
"export_storage",
|
|
225
|
+
"files",
|
|
226
|
+
"import_storage",
|
|
227
|
+
"ml",
|
|
228
|
+
"predictions",
|
|
229
|
+
"projects",
|
|
230
|
+
"tasks",
|
|
231
|
+
"users",
|
|
232
|
+
"views",
|
|
233
|
+
"webhooks",
|
|
234
|
+
]
|
|
File without changes
|
|
File without changes
|