superb-ai-onprem 0.6.2__tar.gz → 0.7.0__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.
Potentially problematic release.
This version of superb-ai-onprem might be problematic. Click here for more details.
- superb_ai_onprem-0.7.0/PKG-INFO +285 -0
- superb_ai_onprem-0.7.0/README.md +258 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/_version.py +3 -3
- superb_ai_onprem-0.7.0/spb_onprem/activities/README.md +156 -0
- superb_ai_onprem-0.7.0/spb_onprem/activities/entities/activity.py +46 -0
- superb_ai_onprem-0.7.0/spb_onprem/activities/entities/activity_history.py +34 -0
- superb_ai_onprem-0.7.0/spb_onprem/contents/README.md +10 -0
- superb_ai_onprem-0.7.0/spb_onprem/data/README.md +233 -0
- superb_ai_onprem-0.7.0/spb_onprem/data/entities/annotation.py +30 -0
- superb_ai_onprem-0.7.0/spb_onprem/data/entities/data.py +45 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/entities/data_meta.py +1 -1
- superb_ai_onprem-0.7.0/spb_onprem/data/entities/data_slice.py +20 -0
- superb_ai_onprem-0.7.0/spb_onprem/data/entities/frame.py +22 -0
- superb_ai_onprem-0.7.0/spb_onprem/data/entities/prediction.py +15 -0
- superb_ai_onprem-0.7.0/spb_onprem/data/entities/scene.py +16 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/enums/data_meta_type.py +0 -1
- superb_ai_onprem-0.7.0/spb_onprem/data/params/data_list.py +406 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/update_data.py +5 -6
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/update_data_slice.py +17 -6
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/queries.py +10 -41
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/service.py +7 -37
- superb_ai_onprem-0.7.0/spb_onprem/datasets/README.md +146 -0
- superb_ai_onprem-0.7.0/spb_onprem/datasets/entities/dataset.py +20 -0
- superb_ai_onprem-0.7.0/spb_onprem/exports/README.md +315 -0
- superb_ai_onprem-0.7.0/spb_onprem/exports/entities/export.py +30 -0
- superb_ai_onprem-0.7.0/spb_onprem/inferences/DEPRECATED.md +23 -0
- superb_ai_onprem-0.7.0/spb_onprem/models/DEPRECATED.md +23 -0
- superb_ai_onprem-0.7.0/spb_onprem/predictions/DEPRECATED.md +23 -0
- superb_ai_onprem-0.7.0/spb_onprem/slices/README.md +221 -0
- superb_ai_onprem-0.7.0/spb_onprem/slices/entities/slice.py +20 -0
- superb_ai_onprem-0.7.0/superb_ai_onprem.egg-info/PKG-INFO +285 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/superb_ai_onprem.egg-info/SOURCES.txt +9 -0
- superb_ai_onprem-0.6.2/PKG-INFO +0 -246
- superb_ai_onprem-0.6.2/README.md +0 -219
- superb_ai_onprem-0.6.2/spb_onprem/activities/entities/activity.py +0 -39
- superb_ai_onprem-0.6.2/spb_onprem/activities/entities/activity_history.py +0 -31
- superb_ai_onprem-0.6.2/spb_onprem/data/entities/annotation.py +0 -27
- superb_ai_onprem-0.6.2/spb_onprem/data/entities/data.py +0 -31
- superb_ai_onprem-0.6.2/spb_onprem/data/entities/data_slice.py +0 -17
- superb_ai_onprem-0.6.2/spb_onprem/data/entities/frame.py +0 -19
- superb_ai_onprem-0.6.2/spb_onprem/data/entities/prediction.py +0 -13
- superb_ai_onprem-0.6.2/spb_onprem/data/entities/scene.py +0 -14
- superb_ai_onprem-0.6.2/spb_onprem/data/params/data_list.py +0 -215
- superb_ai_onprem-0.6.2/spb_onprem/datasets/entities/dataset.py +0 -14
- superb_ai_onprem-0.6.2/spb_onprem/exports/entities/export.py +0 -27
- superb_ai_onprem-0.6.2/spb_onprem/slices/entities/slice.py +0 -17
- superb_ai_onprem-0.6.2/superb_ai_onprem.egg-info/PKG-INFO +0 -246
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/.claude/settings.local.json +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/.github/workflows/publish.yml +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/.github/workflows/tests.yml +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/.gitignore +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/LICENSE +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/Pipfile +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/Pipfile.lock +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/pyproject.toml +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/requirements-test.txt +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/setup.cfg +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/setup.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/entities/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/params/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/params/activities.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/params/activity.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/params/create_activity.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/params/delete_activity.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/params/get_activity_history.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/params/start_activity.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/params/update_activity.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/params/update_activity_history.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/queries.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/activities/service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/base_model.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/base_service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/base_types.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/entities/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/entities/base_content.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/entities/content.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/params/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/params/create.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/params/delete_content.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/params/get_download_url.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/queries.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/contents/service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/entities/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/enums/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/enums/data_status.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/enums/data_type.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/enums/scene_type.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/change_data_labeler.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/change_data_reviewer.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/change_data_status.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/create_data.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/data.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/delete_annotation_version.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/delete_data.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/delete_prediction.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/delete_scene.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/delete_slice_annotation_version.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/get_data_detail.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/get_evaluation_value_list.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/insert_annotation_version.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/insert_data_to_slice.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/insert_prediction.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/insert_scene.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/insert_slice_annotation_version.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/remove_data_from_slice.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/remove_data_meta.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/update_annotation.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/update_frames.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/update_scene.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/update_slice_annotation.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/update_slice_annotation_version.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/data/params/upsert_data_meta.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/entities/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/params/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/params/create_dataset.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/params/dataset.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/params/datasets.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/params/delete_dataset.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/params/update_dataset.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/queries.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/datasets/service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/entities.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exceptions.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/entities/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/params/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/params/create_export.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/params/delete_export.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/params/export.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/params/exports.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/params/update_export.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/queries/get_exports.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/queries.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/exports/service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/inferences/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/inferences/service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/models/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/models/entities.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/models/params/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/models/params/delete_model.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/models/params/get_models.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/models/queries.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/models/service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/entities.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/params/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/params/create_prediction_set.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/params/delete_prediction_from_data.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/params/delete_prediction_set.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/params/get_prediction_set.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/params/get_prediction_sets.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/params/update_prediction_set_data_info.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/queries.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/predictions/service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/searches.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/entities/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/params/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/params/create_slice.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/params/delete_slice.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/params/slice.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/params/slices.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/params/update_slice.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/queries.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/slices/service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/users/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/users/entities/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/spb_onprem/users/entities/auth.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/superb_ai_onprem.egg-info/dependency_links.txt +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/superb_ai_onprem.egg-info/requires.txt +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/superb_ai_onprem.egg-info/top_level.txt +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/activities/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/activities/real_test.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/activities/test_get_activity_history.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/activities/test_params.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/activities/test_service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/contents/test_content_service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/data/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/data/test_data_service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/datasets/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/datasets/test_dataset_service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/exports/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/exports/real_test.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/exports/test_entities.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/exports/test_integration.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/exports/test_params.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/exports/test_service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/models/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/models/test_model_service.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/predictions/__init__.py +0 -0
- {superb_ai_onprem-0.6.2 → superb_ai_onprem-0.7.0}/tests/predictions/test_prediction_service.py +0 -0
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: superb-ai-onprem
|
|
3
|
+
Version: 0.7.0
|
|
4
|
+
Summary: Python SDK for Superb AI On-premise
|
|
5
|
+
Home-page: https://github.com/Superb-AI-Suite/superb-ai-onprem-python
|
|
6
|
+
Author: Superb AI
|
|
7
|
+
Author-email: support@superb-ai.com
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: requests>=2.22.0
|
|
15
|
+
Requires-Dist: urllib3>=1.21.1
|
|
16
|
+
Requires-Dist: pydantic>=1.8.0
|
|
17
|
+
Dynamic: author
|
|
18
|
+
Dynamic: author-email
|
|
19
|
+
Dynamic: classifier
|
|
20
|
+
Dynamic: description
|
|
21
|
+
Dynamic: description-content-type
|
|
22
|
+
Dynamic: home-page
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
Dynamic: requires-dist
|
|
25
|
+
Dynamic: requires-python
|
|
26
|
+
Dynamic: summary
|
|
27
|
+
|
|
28
|
+
# 🚀 Superb AI On-premise Python SDK
|
|
29
|
+
|
|
30
|
+

|
|
31
|
+

|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
**Superb AI On-premise Python SDK** is a comprehensive Python library that provides a simple and intuitive interface to interact with your on-premise Superb AI installation. Build powerful data management, annotation, and machine learning workflows with ease.
|
|
35
|
+
|
|
36
|
+
## 🌟 Key Features
|
|
37
|
+
|
|
38
|
+
- **🗂️ Dataset Management**: Create, organize, and manage your datasets
|
|
39
|
+
- **📊 Data Operations**: Upload, annotate, and manipulate your data with powerful filtering
|
|
40
|
+
- **🔍 Advanced Filtering**: Sophisticated filtering system for precise data queries
|
|
41
|
+
- **🏷️ Annotation Management**: Handle annotations and versions seamlessly
|
|
42
|
+
- **📤 Export & Import**: Flexible data export and content management
|
|
43
|
+
- **⚡ Activity Tracking**: Monitor and manage long-running tasks
|
|
44
|
+
- **🔧 Slice Management**: Organize data into logical groups
|
|
45
|
+
|
|
46
|
+
## 🔧 Installation
|
|
47
|
+
|
|
48
|
+
### Step 1: Install the SDK
|
|
49
|
+
|
|
50
|
+
Install the SDK using pip:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
pip install superb-ai-onprem
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**Requirements:**
|
|
57
|
+
- Python 3.7 or higher
|
|
58
|
+
- Active Superb AI On-premise installation
|
|
59
|
+
|
|
60
|
+
> ⚠️ **Important**: The SDK will not work without this configuration file. Make sure to replace the values with your actual credentials from your Superb AI administrator.
|
|
61
|
+
|
|
62
|
+
## 🚀 Quick Start
|
|
63
|
+
|
|
64
|
+
Get up and running with Superb AI SDK in minutes:
|
|
65
|
+
|
|
66
|
+
### Step 1: Authentication Setup
|
|
67
|
+
|
|
68
|
+
First, set up your authentication credentials:
|
|
69
|
+
|
|
70
|
+
**Option A: Config file (Recommended for local development)**
|
|
71
|
+
```bash
|
|
72
|
+
# Create config directory
|
|
73
|
+
mkdir -p ~/.spb
|
|
74
|
+
|
|
75
|
+
# Create config file
|
|
76
|
+
cat > ~/.spb/onprem-config << EOF
|
|
77
|
+
[default]
|
|
78
|
+
host=https://your-superb-ai-host.com
|
|
79
|
+
access_key=your-access-key
|
|
80
|
+
access_key_secret=your-access-key-secret
|
|
81
|
+
EOF
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Step 2: Your First Workflow
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
from spb_onprem import DatasetService, DataService
|
|
88
|
+
|
|
89
|
+
# Initialize services
|
|
90
|
+
dataset_service = DatasetService()
|
|
91
|
+
data_service = DataService()
|
|
92
|
+
|
|
93
|
+
# 1. Find existing datasets
|
|
94
|
+
datasets, cursor, total = dataset_service.get_dataset_list(length=10)
|
|
95
|
+
print(f"📂 Found {total} datasets")
|
|
96
|
+
|
|
97
|
+
if datasets:
|
|
98
|
+
# Use the first available dataset
|
|
99
|
+
dataset = datasets[0]
|
|
100
|
+
print(f"✅ Using dataset: {dataset.name} (ID: {dataset.id})")
|
|
101
|
+
|
|
102
|
+
# 2. Get data list from the dataset
|
|
103
|
+
data_list, cursor, total = data_service.get_data_list(
|
|
104
|
+
dataset_id=dataset.id,
|
|
105
|
+
length=10
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
print(f"📊 Dataset contains {total} data items")
|
|
109
|
+
|
|
110
|
+
# 3. Display data information
|
|
111
|
+
for i, data in enumerate(data_list, 1):
|
|
112
|
+
print(f" {i}. Key: {data.key}, Type: {data.type}, ID: {data.id}")
|
|
113
|
+
|
|
114
|
+
if total > len(data_list):
|
|
115
|
+
print(f" ... and {total - len(data_list)} more items")
|
|
116
|
+
else:
|
|
117
|
+
print("❌ No datasets found. Please create a dataset first.")
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**🎉 Congratulations!** You've successfully:
|
|
121
|
+
- ✅ Connected to your Superb AI instance
|
|
122
|
+
- ✅ Found existing datasets
|
|
123
|
+
- ✅ Retrieved and displayed data information
|
|
124
|
+
|
|
125
|
+
Ready for more? Check out our [comprehensive documentation](#-documentation) below!
|
|
126
|
+
|
|
127
|
+
## 📚 Module Documentation
|
|
128
|
+
|
|
129
|
+
### 🏗️ Core Modules
|
|
130
|
+
|
|
131
|
+
Comprehensive guides for each SDK module with detailed examples and best practices:
|
|
132
|
+
|
|
133
|
+
| Module | Purpose | Key Features | Documentation |
|
|
134
|
+
|--------|---------|--------------|---------------|
|
|
135
|
+
| **📁 Datasets** | Dataset lifecycle management | Create, organize, manage data collections | [📂 Dataset Guide](spb_onprem/datasets/README.md) |
|
|
136
|
+
| **📊 Data** | Individual data management | CRUD operations, advanced filtering, annotations | [📊 Data Guide](spb_onprem/data/README.md) |
|
|
137
|
+
| **🔪 Slices** | Data organization & filtering | Create filtered views, team collaboration | [� Slice Guide](spb_onprem/slices/README.md) |
|
|
138
|
+
| **⚡ Activities** | Workflow & task management | Process automation, progress tracking | [⚡ Activity Guide](spb_onprem/activities/README.md) |
|
|
139
|
+
| **📤 Exports** | Data & annotation export | Multi-format export (COCO, YOLO, Custom) | [📤 Export Guide](spb_onprem/exports/README.md) |
|
|
140
|
+
|
|
141
|
+
### 🎯 Getting Started Paths
|
|
142
|
+
|
|
143
|
+
Choose your learning path based on your use case:
|
|
144
|
+
|
|
145
|
+
#### **📊 Data Management Workflow**
|
|
146
|
+
1. Start with [� Datasets](spb_onprem/datasets/README.md) - Create and organize your data collections
|
|
147
|
+
2. Then explore [📊 Data](spb_onprem/data/README.md) - Manage individual items and annotations
|
|
148
|
+
3. Use [🔪 Slices](spb_onprem/slices/README.md) - Organize data into logical groups
|
|
149
|
+
|
|
150
|
+
#### **🚀 ML Pipeline Integration**
|
|
151
|
+
1. Begin with [� Data](spb_onprem/data/README.md) - Understand data structure and filtering
|
|
152
|
+
2. Configure [⚡ Activities](spb_onprem/activities/README.md) - Automate labeling and review workflows
|
|
153
|
+
3. Setup [� Exports](spb_onprem/exports/README.md) - Export to ML training formats
|
|
154
|
+
|
|
155
|
+
#### **👥 Team Collaboration**
|
|
156
|
+
1. Setup [📁 Datasets](spb_onprem/datasets/README.md) - Organize team projects
|
|
157
|
+
2. Create [🔪 Slices](spb_onprem/slices/README.md) - Assign work to team members
|
|
158
|
+
3. Implement [⚡ Activities](spb_onprem/activities/README.md) - Track progress and quality
|
|
159
|
+
|
|
160
|
+
### 🔧 Advanced Features
|
|
161
|
+
|
|
162
|
+
Each module includes:
|
|
163
|
+
- **🎯 Quick Start Examples** - Get running immediately
|
|
164
|
+
- **📋 Detailed Entity Documentation** - Pydantic models with comprehensive field descriptions
|
|
165
|
+
- **🔍 Advanced Usage Patterns** - Best practices and complex workflows
|
|
166
|
+
- **🔗 Cross-Module Integration** - How modules work together
|
|
167
|
+
- **⚡ Performance Tips** - Optimization recommendations
|
|
168
|
+
|
|
169
|
+
### 🌐 Module Relationships
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
📁 Datasets (containers)
|
|
173
|
+
├── 📊 Data (individual items)
|
|
174
|
+
│ ├── 🔪 Slices (filtered views)
|
|
175
|
+
│ └── ⚡ Activities (processing workflows)
|
|
176
|
+
└── 📤 Exports (output formats)
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### ⚠️ Deprecated Modules
|
|
180
|
+
|
|
181
|
+
| Module | Status | Migration Path |
|
|
182
|
+
|--------|--------|----------------|
|
|
183
|
+
| **ModelService** | 🚫 Deprecated | Use external ML frameworks |
|
|
184
|
+
| **PredictionService** | 🚫 Deprecated | Use [📊 Data](spb_onprem/data/README.md) prediction entities |
|
|
185
|
+
| **InferService** | 🚫 Deprecated | Use [⚡ Activities](spb_onprem/activities/README.md) for inference workflows |
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
## ⚠️ Error Handling
|
|
192
|
+
|
|
193
|
+
The SDK provides specific error types for different scenarios:
|
|
194
|
+
|
|
195
|
+
```python
|
|
196
|
+
from spb_onprem.exceptions import (
|
|
197
|
+
BadParameterError,
|
|
198
|
+
NotFoundError,
|
|
199
|
+
UnknownError
|
|
200
|
+
)
|
|
201
|
+
|
|
202
|
+
try:
|
|
203
|
+
dataset = dataset_service.get_dataset(dataset_id="non-existent-id")
|
|
204
|
+
except NotFoundError:
|
|
205
|
+
print("Dataset not found")
|
|
206
|
+
except BadParameterError as e:
|
|
207
|
+
print(f"Invalid parameter: {e}")
|
|
208
|
+
except UnknownError as e:
|
|
209
|
+
print(f"An unexpected error occurred: {e}")
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
## 🧪 Requirements
|
|
214
|
+
|
|
215
|
+
- Python >= 3.7
|
|
216
|
+
- requests >= 2.22.0
|
|
217
|
+
- urllib3 >= 1.21.1
|
|
218
|
+
- pydantic >= 1.8.0
|
|
219
|
+
|
|
220
|
+
## 🤝 Contributing
|
|
221
|
+
|
|
222
|
+
We welcome contributions to the Superb AI On-premise SDK! Here's how you can help:
|
|
223
|
+
|
|
224
|
+
### Development Setup
|
|
225
|
+
|
|
226
|
+
1. **Clone the repository:**
|
|
227
|
+
```bash
|
|
228
|
+
git clone https://github.com/Superb-AI-Suite/superb-ai-onprem-python.git
|
|
229
|
+
cd superb-ai-onprem-python
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
2. **Install development dependencies:**
|
|
233
|
+
```bash
|
|
234
|
+
pip install -e ".[dev]"
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Contribution Guidelines
|
|
238
|
+
|
|
239
|
+
- **Code Style:** Follow PEP 8 guidelines
|
|
240
|
+
- **Testing:** Add tests for new features
|
|
241
|
+
- **Documentation:** Update docstrings and README
|
|
242
|
+
- **Pull Requests:** Use descriptive titles and include test results
|
|
243
|
+
|
|
244
|
+
### Reporting Issues
|
|
245
|
+
|
|
246
|
+
When reporting issues, please include:
|
|
247
|
+
- SDK version (`spb_onprem.__version__`)
|
|
248
|
+
- Python version
|
|
249
|
+
- Error messages and stack traces
|
|
250
|
+
- Minimal reproduction example
|
|
251
|
+
- Expected vs actual behavior
|
|
252
|
+
|
|
253
|
+
## 📞 Support
|
|
254
|
+
|
|
255
|
+
### Community Support
|
|
256
|
+
- **GitHub Issues:** [Report bugs and request features](https://github.com/Superb-AI-Suite/superb-ai-onprem-python/issues)
|
|
257
|
+
- **Documentation:** [Official API documentation](https://docs.superb-ai.com)
|
|
258
|
+
|
|
259
|
+
### Enterprise Support
|
|
260
|
+
- **Technical Support:** Contact your Superb AI representative
|
|
261
|
+
- **Custom Integration:** Professional services available
|
|
262
|
+
- **Training:** SDK workshops and onboarding sessions
|
|
263
|
+
|
|
264
|
+
### Quick Help
|
|
265
|
+
|
|
266
|
+
**Common Issues:**
|
|
267
|
+
- **Authentication errors:** Check config file format and credentials
|
|
268
|
+
- **Connection issues:** Verify host URL and network connectivity
|
|
269
|
+
- **Import errors:** Ensure SDK is properly installed (`pip install superb-ai-onprem`)
|
|
270
|
+
- **Performance issues:** Use appropriate pagination and filtering
|
|
271
|
+
|
|
272
|
+
**Need immediate help?** Check our [FAQ section](https://docs.superb-ai.com/faq) or contact support.
|
|
273
|
+
|
|
274
|
+
## 📄 License
|
|
275
|
+
|
|
276
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
**🚀 Ready to build something amazing?** Start with our [Quick Start Guide](#-quick-start) and explore the powerful features of Superb AI On-premise SDK!
|
|
281
|
+
|
|
282
|
+
<div align="center">
|
|
283
|
+
<sub>Built with ❤️ by the <a href="https://superb-ai.com">Superb AI</a> team</sub>
|
|
284
|
+
</div>
|
|
285
|
+
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
# 🚀 Superb AI On-premise Python SDK
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
**Superb AI On-premise Python SDK** is a comprehensive Python library that provides a simple and intuitive interface to interact with your on-premise Superb AI installation. Build powerful data management, annotation, and machine learning workflows with ease.
|
|
8
|
+
|
|
9
|
+
## 🌟 Key Features
|
|
10
|
+
|
|
11
|
+
- **🗂️ Dataset Management**: Create, organize, and manage your datasets
|
|
12
|
+
- **📊 Data Operations**: Upload, annotate, and manipulate your data with powerful filtering
|
|
13
|
+
- **🔍 Advanced Filtering**: Sophisticated filtering system for precise data queries
|
|
14
|
+
- **🏷️ Annotation Management**: Handle annotations and versions seamlessly
|
|
15
|
+
- **📤 Export & Import**: Flexible data export and content management
|
|
16
|
+
- **⚡ Activity Tracking**: Monitor and manage long-running tasks
|
|
17
|
+
- **🔧 Slice Management**: Organize data into logical groups
|
|
18
|
+
|
|
19
|
+
## 🔧 Installation
|
|
20
|
+
|
|
21
|
+
### Step 1: Install the SDK
|
|
22
|
+
|
|
23
|
+
Install the SDK using pip:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install superb-ai-onprem
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Requirements:**
|
|
30
|
+
- Python 3.7 or higher
|
|
31
|
+
- Active Superb AI On-premise installation
|
|
32
|
+
|
|
33
|
+
> ⚠️ **Important**: The SDK will not work without this configuration file. Make sure to replace the values with your actual credentials from your Superb AI administrator.
|
|
34
|
+
|
|
35
|
+
## 🚀 Quick Start
|
|
36
|
+
|
|
37
|
+
Get up and running with Superb AI SDK in minutes:
|
|
38
|
+
|
|
39
|
+
### Step 1: Authentication Setup
|
|
40
|
+
|
|
41
|
+
First, set up your authentication credentials:
|
|
42
|
+
|
|
43
|
+
**Option A: Config file (Recommended for local development)**
|
|
44
|
+
```bash
|
|
45
|
+
# Create config directory
|
|
46
|
+
mkdir -p ~/.spb
|
|
47
|
+
|
|
48
|
+
# Create config file
|
|
49
|
+
cat > ~/.spb/onprem-config << EOF
|
|
50
|
+
[default]
|
|
51
|
+
host=https://your-superb-ai-host.com
|
|
52
|
+
access_key=your-access-key
|
|
53
|
+
access_key_secret=your-access-key-secret
|
|
54
|
+
EOF
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Step 2: Your First Workflow
|
|
58
|
+
|
|
59
|
+
```python
|
|
60
|
+
from spb_onprem import DatasetService, DataService
|
|
61
|
+
|
|
62
|
+
# Initialize services
|
|
63
|
+
dataset_service = DatasetService()
|
|
64
|
+
data_service = DataService()
|
|
65
|
+
|
|
66
|
+
# 1. Find existing datasets
|
|
67
|
+
datasets, cursor, total = dataset_service.get_dataset_list(length=10)
|
|
68
|
+
print(f"📂 Found {total} datasets")
|
|
69
|
+
|
|
70
|
+
if datasets:
|
|
71
|
+
# Use the first available dataset
|
|
72
|
+
dataset = datasets[0]
|
|
73
|
+
print(f"✅ Using dataset: {dataset.name} (ID: {dataset.id})")
|
|
74
|
+
|
|
75
|
+
# 2. Get data list from the dataset
|
|
76
|
+
data_list, cursor, total = data_service.get_data_list(
|
|
77
|
+
dataset_id=dataset.id,
|
|
78
|
+
length=10
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
print(f"📊 Dataset contains {total} data items")
|
|
82
|
+
|
|
83
|
+
# 3. Display data information
|
|
84
|
+
for i, data in enumerate(data_list, 1):
|
|
85
|
+
print(f" {i}. Key: {data.key}, Type: {data.type}, ID: {data.id}")
|
|
86
|
+
|
|
87
|
+
if total > len(data_list):
|
|
88
|
+
print(f" ... and {total - len(data_list)} more items")
|
|
89
|
+
else:
|
|
90
|
+
print("❌ No datasets found. Please create a dataset first.")
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**🎉 Congratulations!** You've successfully:
|
|
94
|
+
- ✅ Connected to your Superb AI instance
|
|
95
|
+
- ✅ Found existing datasets
|
|
96
|
+
- ✅ Retrieved and displayed data information
|
|
97
|
+
|
|
98
|
+
Ready for more? Check out our [comprehensive documentation](#-documentation) below!
|
|
99
|
+
|
|
100
|
+
## 📚 Module Documentation
|
|
101
|
+
|
|
102
|
+
### 🏗️ Core Modules
|
|
103
|
+
|
|
104
|
+
Comprehensive guides for each SDK module with detailed examples and best practices:
|
|
105
|
+
|
|
106
|
+
| Module | Purpose | Key Features | Documentation |
|
|
107
|
+
|--------|---------|--------------|---------------|
|
|
108
|
+
| **📁 Datasets** | Dataset lifecycle management | Create, organize, manage data collections | [📂 Dataset Guide](spb_onprem/datasets/README.md) |
|
|
109
|
+
| **📊 Data** | Individual data management | CRUD operations, advanced filtering, annotations | [📊 Data Guide](spb_onprem/data/README.md) |
|
|
110
|
+
| **🔪 Slices** | Data organization & filtering | Create filtered views, team collaboration | [� Slice Guide](spb_onprem/slices/README.md) |
|
|
111
|
+
| **⚡ Activities** | Workflow & task management | Process automation, progress tracking | [⚡ Activity Guide](spb_onprem/activities/README.md) |
|
|
112
|
+
| **📤 Exports** | Data & annotation export | Multi-format export (COCO, YOLO, Custom) | [📤 Export Guide](spb_onprem/exports/README.md) |
|
|
113
|
+
|
|
114
|
+
### 🎯 Getting Started Paths
|
|
115
|
+
|
|
116
|
+
Choose your learning path based on your use case:
|
|
117
|
+
|
|
118
|
+
#### **📊 Data Management Workflow**
|
|
119
|
+
1. Start with [� Datasets](spb_onprem/datasets/README.md) - Create and organize your data collections
|
|
120
|
+
2. Then explore [📊 Data](spb_onprem/data/README.md) - Manage individual items and annotations
|
|
121
|
+
3. Use [🔪 Slices](spb_onprem/slices/README.md) - Organize data into logical groups
|
|
122
|
+
|
|
123
|
+
#### **🚀 ML Pipeline Integration**
|
|
124
|
+
1. Begin with [� Data](spb_onprem/data/README.md) - Understand data structure and filtering
|
|
125
|
+
2. Configure [⚡ Activities](spb_onprem/activities/README.md) - Automate labeling and review workflows
|
|
126
|
+
3. Setup [� Exports](spb_onprem/exports/README.md) - Export to ML training formats
|
|
127
|
+
|
|
128
|
+
#### **👥 Team Collaboration**
|
|
129
|
+
1. Setup [📁 Datasets](spb_onprem/datasets/README.md) - Organize team projects
|
|
130
|
+
2. Create [🔪 Slices](spb_onprem/slices/README.md) - Assign work to team members
|
|
131
|
+
3. Implement [⚡ Activities](spb_onprem/activities/README.md) - Track progress and quality
|
|
132
|
+
|
|
133
|
+
### 🔧 Advanced Features
|
|
134
|
+
|
|
135
|
+
Each module includes:
|
|
136
|
+
- **🎯 Quick Start Examples** - Get running immediately
|
|
137
|
+
- **📋 Detailed Entity Documentation** - Pydantic models with comprehensive field descriptions
|
|
138
|
+
- **🔍 Advanced Usage Patterns** - Best practices and complex workflows
|
|
139
|
+
- **🔗 Cross-Module Integration** - How modules work together
|
|
140
|
+
- **⚡ Performance Tips** - Optimization recommendations
|
|
141
|
+
|
|
142
|
+
### 🌐 Module Relationships
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
📁 Datasets (containers)
|
|
146
|
+
├── 📊 Data (individual items)
|
|
147
|
+
│ ├── 🔪 Slices (filtered views)
|
|
148
|
+
│ └── ⚡ Activities (processing workflows)
|
|
149
|
+
└── 📤 Exports (output formats)
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### ⚠️ Deprecated Modules
|
|
153
|
+
|
|
154
|
+
| Module | Status | Migration Path |
|
|
155
|
+
|--------|--------|----------------|
|
|
156
|
+
| **ModelService** | 🚫 Deprecated | Use external ML frameworks |
|
|
157
|
+
| **PredictionService** | 🚫 Deprecated | Use [📊 Data](spb_onprem/data/README.md) prediction entities |
|
|
158
|
+
| **InferService** | 🚫 Deprecated | Use [⚡ Activities](spb_onprem/activities/README.md) for inference workflows |
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
## ⚠️ Error Handling
|
|
165
|
+
|
|
166
|
+
The SDK provides specific error types for different scenarios:
|
|
167
|
+
|
|
168
|
+
```python
|
|
169
|
+
from spb_onprem.exceptions import (
|
|
170
|
+
BadParameterError,
|
|
171
|
+
NotFoundError,
|
|
172
|
+
UnknownError
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
try:
|
|
176
|
+
dataset = dataset_service.get_dataset(dataset_id="non-existent-id")
|
|
177
|
+
except NotFoundError:
|
|
178
|
+
print("Dataset not found")
|
|
179
|
+
except BadParameterError as e:
|
|
180
|
+
print(f"Invalid parameter: {e}")
|
|
181
|
+
except UnknownError as e:
|
|
182
|
+
print(f"An unexpected error occurred: {e}")
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
## 🧪 Requirements
|
|
187
|
+
|
|
188
|
+
- Python >= 3.7
|
|
189
|
+
- requests >= 2.22.0
|
|
190
|
+
- urllib3 >= 1.21.1
|
|
191
|
+
- pydantic >= 1.8.0
|
|
192
|
+
|
|
193
|
+
## 🤝 Contributing
|
|
194
|
+
|
|
195
|
+
We welcome contributions to the Superb AI On-premise SDK! Here's how you can help:
|
|
196
|
+
|
|
197
|
+
### Development Setup
|
|
198
|
+
|
|
199
|
+
1. **Clone the repository:**
|
|
200
|
+
```bash
|
|
201
|
+
git clone https://github.com/Superb-AI-Suite/superb-ai-onprem-python.git
|
|
202
|
+
cd superb-ai-onprem-python
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
2. **Install development dependencies:**
|
|
206
|
+
```bash
|
|
207
|
+
pip install -e ".[dev]"
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### Contribution Guidelines
|
|
211
|
+
|
|
212
|
+
- **Code Style:** Follow PEP 8 guidelines
|
|
213
|
+
- **Testing:** Add tests for new features
|
|
214
|
+
- **Documentation:** Update docstrings and README
|
|
215
|
+
- **Pull Requests:** Use descriptive titles and include test results
|
|
216
|
+
|
|
217
|
+
### Reporting Issues
|
|
218
|
+
|
|
219
|
+
When reporting issues, please include:
|
|
220
|
+
- SDK version (`spb_onprem.__version__`)
|
|
221
|
+
- Python version
|
|
222
|
+
- Error messages and stack traces
|
|
223
|
+
- Minimal reproduction example
|
|
224
|
+
- Expected vs actual behavior
|
|
225
|
+
|
|
226
|
+
## 📞 Support
|
|
227
|
+
|
|
228
|
+
### Community Support
|
|
229
|
+
- **GitHub Issues:** [Report bugs and request features](https://github.com/Superb-AI-Suite/superb-ai-onprem-python/issues)
|
|
230
|
+
- **Documentation:** [Official API documentation](https://docs.superb-ai.com)
|
|
231
|
+
|
|
232
|
+
### Enterprise Support
|
|
233
|
+
- **Technical Support:** Contact your Superb AI representative
|
|
234
|
+
- **Custom Integration:** Professional services available
|
|
235
|
+
- **Training:** SDK workshops and onboarding sessions
|
|
236
|
+
|
|
237
|
+
### Quick Help
|
|
238
|
+
|
|
239
|
+
**Common Issues:**
|
|
240
|
+
- **Authentication errors:** Check config file format and credentials
|
|
241
|
+
- **Connection issues:** Verify host URL and network connectivity
|
|
242
|
+
- **Import errors:** Ensure SDK is properly installed (`pip install superb-ai-onprem`)
|
|
243
|
+
- **Performance issues:** Use appropriate pagination and filtering
|
|
244
|
+
|
|
245
|
+
**Need immediate help?** Check our [FAQ section](https://docs.superb-ai.com/faq) or contact support.
|
|
246
|
+
|
|
247
|
+
## 📄 License
|
|
248
|
+
|
|
249
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
**🚀 Ready to build something amazing?** Start with our [Quick Start Guide](#-quick-start) and explore the powerful features of Superb AI On-premise SDK!
|
|
254
|
+
|
|
255
|
+
<div align="center">
|
|
256
|
+
<sub>Built with ❤️ by the <a href="https://superb-ai.com">Superb AI</a> team</sub>
|
|
257
|
+
</div>
|
|
258
|
+
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.
|
|
32
|
-
__version_tuple__ = version_tuple = (0,
|
|
31
|
+
__version__ = version = '0.7.0'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 7, 0)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'g42451052f'
|