dioptra-platform 1.0.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.
- dioptra_platform-1.0.0/LICENSE +415 -0
- dioptra_platform-1.0.0/MANIFEST.in +13 -0
- dioptra_platform-1.0.0/PKG-INFO +202 -0
- dioptra_platform-1.0.0/README.md +94 -0
- dioptra_platform-1.0.0/docs/Makefile +20 -0
- dioptra_platform-1.0.0/docs/assets/scss/_page.scss +343 -0
- dioptra_platform-1.0.0/docs/assets/scss/_tables.scss +43 -0
- dioptra_platform-1.0.0/docs/assets/scss/dioptra.scss +20 -0
- dioptra_platform-1.0.0/docs/make.bat +35 -0
- dioptra_platform-1.0.0/docs/source/_glossary_note.rst +20 -0
- dioptra_platform-1.0.0/docs/source/_static/applyLeaveNotice.js +38 -0
- dioptra_platform-1.0.0/docs/source/_static/dioptra.css +2 -0
- dioptra_platform-1.0.0/docs/source/_static/jquery.leaveNotice-nist.js +108 -0
- dioptra_platform-1.0.0/docs/source/_static/jquery.visible.js +107 -0
- dioptra_platform-1.0.0/docs/source/_static/smoothNavScroll.js +29 -0
- dioptra_platform-1.0.0/docs/source/_templates/footer.html +29 -0
- dioptra_platform-1.0.0/docs/source/_templates/layout.html +31 -0
- dioptra_platform-1.0.0/docs/source/_templates/sections/footer-content.html +31 -0
- dioptra_platform-1.0.0/docs/source/conf.py +192 -0
- dioptra_platform-1.0.0/docs/source/deployment-guide/docker-images-list-and-settings.rst +266 -0
- dioptra_platform-1.0.0/docs/source/deployment-guide/system-requirements.rst +50 -0
- dioptra_platform-1.0.0/docs/source/dev-guide/contributing-commit-styleguide.rst +193 -0
- dioptra_platform-1.0.0/docs/source/dev-guide/contributing-merge-request-guidelines.rst +82 -0
- dioptra_platform-1.0.0/docs/source/dev-guide/index.rst +31 -0
- dioptra_platform-1.0.0/docs/source/getting-started/acquiring-datasets.rst +295 -0
- dioptra_platform-1.0.0/docs/source/getting-started/building-the-containers.rst +89 -0
- dioptra_platform-1.0.0/docs/source/getting-started/examples-setup.rst +148 -0
- dioptra_platform-1.0.0/docs/source/getting-started/installation.rst +203 -0
- dioptra_platform-1.0.0/docs/source/getting-started/running-dioptra.rst +758 -0
- dioptra_platform-1.0.0/docs/source/glossary.rst +79 -0
- dioptra_platform-1.0.0/docs/source/images/api-components.svg +1 -0
- dioptra_platform-1.0.0/docs/source/images/api-entry-point-submission.svg +1 -0
- dioptra_platform-1.0.0/docs/source/images/entry-point-components.svg +1 -0
- dioptra_platform-1.0.0/docs/source/images/entry-point-customization.svg +1 -0
- dioptra_platform-1.0.0/docs/source/images/entry-point-task-plugin-composition.svg +1 -0
- dioptra_platform-1.0.0/docs/source/images/experiment-components.svg +1 -0
- dioptra_platform-1.0.0/docs/source/images/frontend.png +0 -0
- dioptra_platform-1.0.0/docs/source/images/overview-attack-interfaces.png +0 -0
- dioptra_platform-1.0.0/docs/source/images/overview-defense-interfaces.png +0 -0
- dioptra_platform-1.0.0/docs/source/images/overview-image-attack-examples.png +0 -0
- dioptra_platform-1.0.0/docs/source/images/swagger-docs-testbed-rest-api.gif +0 -0
- dioptra_platform-1.0.0/docs/source/images/task-plugin.svg +1 -0
- dioptra_platform-1.0.0/docs/source/images/testbed-architecture.svg +1 -0
- dioptra_platform-1.0.0/docs/source/index.rst +78 -0
- dioptra_platform-1.0.0/docs/source/overview/executive-summary.rst +179 -0
- dioptra_platform-1.0.0/docs/source/reference/api-reference-client.rst +28 -0
- dioptra_platform-1.0.0/docs/source/reference/api-reference-restapi.rst +222 -0
- dioptra_platform-1.0.0/docs/source/reference/api-reference-sdk.rst +101 -0
- dioptra_platform-1.0.0/docs/source/reference/api-restapi/openapi.yml +9913 -0
- dioptra_platform-1.0.0/docs/source/reference/api-sdk/api-exceptions.rst +28 -0
- dioptra_platform-1.0.0/docs/source/reference/api-sdk/api-generics.rst +28 -0
- dioptra_platform-1.0.0/docs/source/reference/api-sdk/api-pyplugs.rst +66 -0
- dioptra_platform-1.0.0/docs/source/reference/api-sdk/api-utilities.rst +60 -0
- dioptra_platform-1.0.0/docs/source/reference/api-task-plugins/api-builtins-artifacts.rst +52 -0
- dioptra_platform-1.0.0/docs/source/reference/api-task-plugins/api-builtins-attacks.rst +36 -0
- dioptra_platform-1.0.0/docs/source/reference/api-task-plugins/api-builtins-backend_configs.rst +36 -0
- dioptra_platform-1.0.0/docs/source/reference/api-task-plugins/api-builtins-data.rst +36 -0
- dioptra_platform-1.0.0/docs/source/reference/api-task-plugins/api-builtins-estimators.rst +44 -0
- dioptra_platform-1.0.0/docs/source/reference/api-task-plugins/api-builtins-metrics.rst +52 -0
- dioptra_platform-1.0.0/docs/source/reference/api-task-plugins/api-builtins-random.rst +44 -0
- dioptra_platform-1.0.0/docs/source/reference/api-task-plugins/api-builtins-registry.rst +44 -0
- dioptra_platform-1.0.0/docs/source/reference/api-task-plugins/api-builtins-tracking.rst +36 -0
- dioptra_platform-1.0.0/docs/source/reference/task-engine-reference.rst +846 -0
- dioptra_platform-1.0.0/docs/source/user-guide/custom-entry-points.rst +316 -0
- dioptra_platform-1.0.0/docs/source/user-guide/custom-task-plugins.rst +177 -0
- dioptra_platform-1.0.0/docs/source/user-guide/entry-points.rst +293 -0
- dioptra_platform-1.0.0/docs/source/user-guide/generics-plugin-system.rst +172 -0
- dioptra_platform-1.0.0/docs/source/user-guide/task-plugins-collection.rst +188 -0
- dioptra_platform-1.0.0/docs/source/user-guide/task-plugins.rst +146 -0
- dioptra_platform-1.0.0/docs/source/user-guide/the-basics.rst +76 -0
- dioptra_platform-1.0.0/docs/source/user-guide/the-web-frontend.rst +29 -0
- dioptra_platform-1.0.0/pyproject.toml +351 -0
- dioptra_platform-1.0.0/setup.cfg +4 -0
- dioptra_platform-1.0.0/src/dioptra/client/__init__.py +21 -0
- dioptra_platform-1.0.0/src/dioptra/client/__version__.py +17 -0
- dioptra_platform-1.0.0/src/dioptra/client/_client.py +746 -0
- dioptra_platform-1.0.0/src/dioptra/generics_plugins/estimator_predict/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/generics_plugins/estimator_predict/tf_keras_model.py +120 -0
- dioptra_platform-1.0.0/src/dioptra/generics_plugins/fit_estimator/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/generics_plugins/fit_estimator/tf_keras_model.py +95 -0
- dioptra_platform-1.0.0/src/dioptra/pyplugs/__init__.py +101 -0
- dioptra_platform-1.0.0/src/dioptra/pyplugs/__version__.py +17 -0
- dioptra_platform-1.0.0/src/dioptra/pyplugs/_plugins.py +393 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/__init__.py +22 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/__version__.py +17 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/app.py +112 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/bootstrap.py +121 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/cli/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/cli/gunicorn.py +37 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/config.py +126 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/custom_schema_fields.py +24 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/__init__.py +20 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/README +1 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/alembic.ini +45 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/env.py +128 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/run.py +571 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/script.py.mako +24 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/018130a0bf6c_.py +45 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/10f9e72e72aa_add_readonly_resource_lock_type_to_db_.py +64 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/148c032ffbd8_create_tables_for_v1_schema.py +1705 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/32d5c0055e1b_.py +266 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/4b2d781f8bb4_remove_legacy_v0_tables.py +169 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/5b80d059cbb4_fix_primary_key_and_unique_index_on_.py +118 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/6a343ff9bc2f_.py +90 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/7086ad09e884_.py +100 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/8ffe4640e009_update_uniqueness_constraint_name_for_.py +37 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/a278f46a1c9d_.py +36 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/b5cc97666e3d_add_index_over_the_draft_resources_payload.py +57 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/b835738272a8_insert_legacy_into_primary_key_constraint_names.py +256 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/d2bae5f6d991_add_readonly_resource_locks_to_pre_.py +266 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/ef1936dcc5eb_mark_existing_database_tables_as_legacy.py +156 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/alembic/versions/fd786b5377d6_add_ml_model_versions_resource.py +358 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/custom_types.py +105 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/db.py +88 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/__init__.py +110 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/artifacts.py +64 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/constants.py +38 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/entry_points.py +168 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/experiments.py +58 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/groups.py +116 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/jobs.py +212 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/locks.py +107 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/ml_models.py +120 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/plugins.py +239 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/queues.py +56 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/resources.py +401 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/tags.py +66 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/db/models/users.py +123 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/errors.py +106 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/routes.py +77 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/utils.py +327 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/__init__.py +47 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/artifacts/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/artifacts/controller.py +191 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/artifacts/errors.py +44 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/artifacts/schema.py +88 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/artifacts/service.py +442 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/auth/__init__.py +17 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/auth/controller.py +98 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/auth/schema.py +72 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/auth/service.py +114 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/entrypoints/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/entrypoints/controller.py +432 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/entrypoints/errors.py +66 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/entrypoints/schema.py +231 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/entrypoints/service.py +1168 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/experiments/__init__.py +20 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/experiments/controller.py +661 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/experiments/errors.py +42 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/experiments/schema.py +124 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/experiments/service.py +766 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/groups/__init__.py +20 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/groups/controller.py +248 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/groups/errors.py +41 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/groups/schema.py +213 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/groups/service.py +453 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/jobs/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/jobs/controller.py +261 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/jobs/errors.py +94 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/jobs/schema.py +169 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/jobs/service.py +1027 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/models/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/models/controller.py +370 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/models/errors.py +54 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/models/schema.py +168 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/models/service.py +831 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugin_parameter_types/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugin_parameter_types/controller.py +265 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugin_parameter_types/errors.py +84 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugin_parameter_types/schema.py +92 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugin_parameter_types/service.py +611 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugins/__init__.py +20 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugins/controller.py +467 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugins/errors.py +110 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugins/schema.py +290 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/plugins/service.py +1291 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/queues/__init__.py +20 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/queues/controller.py +228 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/queues/errors.py +52 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/queues/schema.py +90 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/queues/service.py +466 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/schemas.py +281 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/drafts/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/drafts/controller.py +625 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/drafts/schema.py +126 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/drafts/service.py +500 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/io_file_service.py +164 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/password_service.py +44 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/request_scope.py +136 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/rq_service.py +62 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/search_parser.py +238 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/snapshots/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/snapshots/controller.py +386 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/snapshots/service.py +215 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/tags/controller.py +350 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/shared/tags/service.py +265 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/tags/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/tags/controller.py +227 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/tags/errors.py +38 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/tags/schema.py +127 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/tags/service.py +431 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/users/__init__.py +20 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/users/controller.py +267 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/users/errors.py +115 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/users/schema.py +163 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/users/service.py +693 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/utils.py +1096 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/controller.py +80 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/errors.py +41 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/lib/__init__.py +27 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/lib/export_job_parameters.py +73 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/lib/export_plugin_files.py +56 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/lib/export_run_dioptra_job_script.py +80 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/lib/export_task_engine_yaml.py +214 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/lib/package_job_files.py +148 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/lib/run_dioptra_job.py.tmpl +170 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/lib/views.py +137 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/schema.py +43 -0
- dioptra_platform-1.0.0/src/dioptra/restapi/v1/workflows/service.py +62 -0
- dioptra_platform-1.0.0/src/dioptra/rq/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/rq/__version__.py +17 -0
- dioptra_platform-1.0.0/src/dioptra/rq/tasks/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/rq/tasks/run_v1_dioptra_job.py +212 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/__version__.py +17 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/exceptions/__init__.py +35 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/exceptions/base.py +41 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/exceptions/generics.py +23 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/exceptions/optional_dependencies.py +35 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/exceptions/pyplugs.py +59 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/exceptions/task_engine.py +347 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/generics/__init__.py +28 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/generics/_estimator_predict.py +44 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/generics/_fit_estimator.py +44 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/generics/_registry.py +46 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/architectures/__init__.py +22 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/architectures/tensorflow_layers/__init__.py +30 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/architectures/tensorflow_layers/backbones.py +131 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/architectures/tensorflow_layers/conv2dbatchnorm.py +139 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/architectures/tensorflow_layers/yolov1_detection.py +584 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/architectures/yolov1.py +406 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/augmentations/__init__.py +25 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/augmentations/augmentations.py +25 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/augmentations/imgaug_backend.py +214 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/augmentations/passthrough.py +32 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/__init__.py +51 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/coordinates/__init__.py +31 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/coordinates/bounding_box_coordinates.py +125 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/coordinates/numpy_backend.py +410 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/coordinates/tensorflow_backend.py +614 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/iou/__init__.py +28 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/iou/bounding_boxes_iou.py +41 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/iou/tensorflow_backend.py +358 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/postprocessing/__init__.py +27 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/postprocessing/bounding_boxes_postprocessing.py +32 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/postprocessing/tensorflow_backend/__init__.py +23 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/postprocessing/tensorflow_backend/confluence.py +569 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/bounding_boxes/postprocessing/tensorflow_backend/nms.py +164 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/__init__.py +23 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/annotations/__init__.py +26 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/annotations/annotation_data.py +37 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/annotations/encodings.py +70 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/annotations/pascal_voc.py +94 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/images/__init__.py +23 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/images/image_data.py +29 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/images/tensorflow_backend.py +72 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/object_detection_data.py +36 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/data/tensorflow_backend.py +565 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/losses/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/losses/yolov1/__init__.py +21 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/losses/yolov1/classification.py +179 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/losses/yolov1/localization.py +327 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/object_detection/losses/yolov1/yolov1.py +176 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/contexts/__init__.py +21 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/contexts/_plugin_dirs.py +54 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/contexts/_redirect_print.py +47 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/contexts/_sys_path_dirs.py +41 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/decorators/__init__.py +19 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/decorators/_require_package.py +57 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/logging/__init__.py +32 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/logging/config.py +103 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/logging/log_stream.py +87 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/paths/__init__.py +21 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/paths/_set_path_ext.py +29 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/paths/clear_dir.py +42 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/paths/set_cwd.py +39 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/s3/__init__.py +26 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/s3/download.py +138 -0
- dioptra_platform-1.0.0/src/dioptra/sdk/utilities/s3/uri.py +39 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/error_message.py +515 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/experiment_schema.json +393 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/issues.py +62 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/run_experiment.py +164 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/task_engine.py +507 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/type_registry.py +443 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/type_validation.py +901 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/types.py +598 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/util.py +319 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/validate.py +83 -0
- dioptra_platform-1.0.0/src/dioptra/task_engine/validation.py +1124 -0
- dioptra_platform-1.0.0/src/dioptra/worker/__init__.py +16 -0
- dioptra_platform-1.0.0/src/dioptra/worker/dioptra_worker_v1.py +72 -0
- dioptra_platform-1.0.0/src/dioptra/worker/s3_download.py +111 -0
- dioptra_platform-1.0.0/src/dioptra/worker/s3_download_cli.py +136 -0
- dioptra_platform-1.0.0/src/dioptra_platform.egg-info/PKG-INFO +202 -0
- dioptra_platform-1.0.0/src/dioptra_platform.egg-info/SOURCES.txt +397 -0
- dioptra_platform-1.0.0/src/dioptra_platform.egg-info/dependency_links.txt +1 -0
- dioptra_platform-1.0.0/src/dioptra_platform.egg-info/entry_points.txt +12 -0
- dioptra_platform-1.0.0/src/dioptra_platform.egg-info/requires.txt +91 -0
- dioptra_platform-1.0.0/src/dioptra_platform.egg-info/top_level.txt +2 -0
- dioptra_platform-1.0.0/tests/__init__.py +16 -0
- dioptra_platform-1.0.0/tests/conftest.py +36 -0
- dioptra_platform-1.0.0/tests/cookiecutter_dioptra_deployment/__init__.py +16 -0
- dioptra_platform-1.0.0/tests/cookiecutter_dioptra_deployment/conftest.py +135 -0
- dioptra_platform-1.0.0/tests/cookiecutter_dioptra_deployment/test_create_template.py +72 -0
- dioptra_platform-1.0.0/tests/unit/__init__.py +16 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/__init__.py +42 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/plugin_directory/__init__.py +42 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/plugin_directory/no_plugins.py +47 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/plugin_directory/plugin_first.py +49 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/plugin_directory/plugin_last.py +49 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/plugin_directory/plugin_parts.py +57 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/plugin_directory/plugin_plain.py +51 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/plugin_directory/plugin_task_nout.py +31 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/plugin_directory/plugin_with_import_error.py +52 -0
- dioptra_platform-1.0.0/tests/unit/pyplugs/test_plugins.py +338 -0
- dioptra_platform-1.0.0/tests/unit/restapi/__init__.py +16 -0
- dioptra_platform-1.0.0/tests/unit/restapi/conftest.py +220 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/__init__.py +19 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/actions.py +770 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/asserts.py +398 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/__init__.py +25 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/fakedata.py +493 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/setup.py +94 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/__init__.py +39 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/artifacts.py +52 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/entry_points.py +85 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/experiments.py +83 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/jobs.py +80 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_artifacts.sql +35 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_entry_point_queues.sql +68 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_entry_points.sql +35 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_experiment_entry_points.sql +68 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_experiments.sql +35 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_job_artifacts.sql +68 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_jobs.sql +35 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_ml_models.sql +35 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_plugin_files.sql +68 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_plugin_task_parameter_types.sql +35 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_plugins.sql +35 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/latest_queues.sql +35 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/ml_models.py +52 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/plugin_task_parameter_types.py +57 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/plugins.py +80 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/db/views/queues.py +52 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/helpers.py +116 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/mock_rq.py +108 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/mock_s3.py +42 -0
- dioptra_platform-1.0.0/tests/unit/restapi/lib/server.py +182 -0
- dioptra_platform-1.0.0/tests/unit/restapi/test_app.py +31 -0
- dioptra_platform-1.0.0/tests/unit/restapi/test_db_models.py +923 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/conftest.py +675 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_artifact.py +321 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_entrypoint.py +1047 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_experiment.py +1068 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_group.py +373 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_io_file_service.py +138 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_job.py +634 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_model.py +1077 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_plugin.py +1804 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_plugin_parameter_type.py +1057 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_queue.py +827 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_tag.py +409 -0
- dioptra_platform-1.0.0/tests/unit/restapi/v1/test_user.py +757 -0
- dioptra_platform-1.0.0/tests/unit/sdk/__init__.py +16 -0
- dioptra_platform-1.0.0/tests/unit/sdk/utilities/__init__.py +16 -0
- dioptra_platform-1.0.0/tests/unit/sdk/utilities/paths/__init__.py +16 -0
- dioptra_platform-1.0.0/tests/unit/sdk/utilities/paths/test_clear_directory.py +20 -0
- dioptra_platform-1.0.0/tests/unit/sdk/utilities/paths/test_set_path_ext.py +40 -0
- dioptra_platform-1.0.0/tests/unit/task_engine/__init__.py +16 -0
- dioptra_platform-1.0.0/tests/unit/task_engine/test_task_engine.py +559 -0
- dioptra_platform-1.0.0/tests/unit/task_engine/test_type_registry.py +331 -0
- dioptra_platform-1.0.0/tests/unit/task_engine/test_type_validation.py +619 -0
- dioptra_platform-1.0.0/tests/unit/task_engine/test_types.py +514 -0
- dioptra_platform-1.0.0/tests/unit/task_engine/test_validation.py +711 -0
- dioptra_platform-1.0.0/tests/unit/task_plugins/conftest.py +33 -0
- dioptra_platform-1.0.0/tests/unit/task_plugins/dioptra_builtins/artifacts/test_mlflow.py +254 -0
- dioptra_platform-1.0.0/tests/unit/task_plugins/dioptra_builtins/artifacts/test_utils.py +133 -0
- dioptra_platform-1.0.0/tests/unit/task_plugins/dioptra_builtins/metrics/test_distance.py +362 -0
- dioptra_platform-1.0.0/tests/unit/task_plugins/dioptra_builtins/metrics/test_performance.py +323 -0
- dioptra_platform-1.0.0/tests/unit/task_plugins/dioptra_builtins/random/test_rng.py +32 -0
- dioptra_platform-1.0.0/tests/unit/task_plugins/dioptra_builtins/random/test_sample.py +71 -0
- dioptra_platform-1.0.0/tests/utils.py +81 -0
- dioptra_platform-1.0.0/tox.ini +305 -0
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
This Software (Dioptra) is being made available as a public service by
|
|
2
|
+
the National Institute of Standards and Technology (NIST), an Agency of
|
|
3
|
+
the United States Department of Commerce. This software was developed
|
|
4
|
+
in part by employees of NIST and in part by NIST contractors. Copyright
|
|
5
|
+
in portions of this software that were developed by NIST contractors
|
|
6
|
+
has been licensed or assigned to NIST. Pursuant to Title 17 United
|
|
7
|
+
States Code Section 105, works of NIST employees are not subject to
|
|
8
|
+
copyright protection in the United States. However, NIST may hold
|
|
9
|
+
international copyright in software created by its employees and
|
|
10
|
+
domestic copyright (or licensing rights) in portions of software that
|
|
11
|
+
were assigned or licensed to NIST. To the extent that NIST holds
|
|
12
|
+
copyright in this software, it is being made available under the
|
|
13
|
+
Creative Commons Attribution 4.0 International license (CC BY 4.0). The
|
|
14
|
+
disclaimers of the CC BY 4.0 license apply to all parts of the software
|
|
15
|
+
developed or licensed by NIST.
|
|
16
|
+
|
|
17
|
+
ACCESS THE FULL CC BY 4.0 LICENSE HERE:
|
|
18
|
+
https://creativecommons.org/licenses/by/4.0/legalcode
|
|
19
|
+
(Reprinted Below)
|
|
20
|
+
|
|
21
|
+
Attribution 4.0 International
|
|
22
|
+
|
|
23
|
+
=======================================================================
|
|
24
|
+
|
|
25
|
+
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
|
26
|
+
does not provide legal services or legal advice. Distribution of
|
|
27
|
+
Creative Commons public licenses does not create a lawyer-client or
|
|
28
|
+
other relationship. Creative Commons makes its licenses and related
|
|
29
|
+
information available on an "as-is" basis. Creative Commons gives no
|
|
30
|
+
warranties regarding its licenses, any material licensed under their
|
|
31
|
+
terms and conditions, or any related information. Creative Commons
|
|
32
|
+
disclaims all liability for damages resulting from their use to the
|
|
33
|
+
fullest extent possible.
|
|
34
|
+
|
|
35
|
+
Using Creative Commons Public Licenses
|
|
36
|
+
|
|
37
|
+
Creative Commons public licenses provide a standard set of terms and
|
|
38
|
+
conditions that creators and other rights holders may use to share
|
|
39
|
+
original works of authorship and other material subject to copyright
|
|
40
|
+
and certain other rights specified in the public license below. The
|
|
41
|
+
following considerations are for informational purposes only, are not
|
|
42
|
+
exhaustive, and do not form part of our licenses.
|
|
43
|
+
|
|
44
|
+
Considerations for licensors: Our public licenses are
|
|
45
|
+
intended for use by those authorized to give the public
|
|
46
|
+
permission to use material in ways otherwise restricted by
|
|
47
|
+
copyright and certain other rights. Our licenses are
|
|
48
|
+
irrevocable. Licensors should read and understand the terms
|
|
49
|
+
and conditions of the license they choose before applying it.
|
|
50
|
+
Licensors should also secure all rights necessary before
|
|
51
|
+
applying our licenses so that the public can reuse the
|
|
52
|
+
material as expected. Licensors should clearly mark any
|
|
53
|
+
material not subject to the license. This includes other CC-
|
|
54
|
+
licensed material, or material used under an exception or
|
|
55
|
+
limitation to copyright. More considerations for licensors:
|
|
56
|
+
wiki.creativecommons.org/Considerations_for_licensors
|
|
57
|
+
|
|
58
|
+
Considerations for the public: By using one of our public
|
|
59
|
+
licenses, a licensor grants the public permission to use the
|
|
60
|
+
licensed material under specified terms and conditions. If
|
|
61
|
+
the licensor's permission is not necessary for any reason--for
|
|
62
|
+
example, because of any applicable exception or limitation to
|
|
63
|
+
copyright--then that use is not regulated by the license. Our
|
|
64
|
+
licenses grant only permissions under copyright and certain
|
|
65
|
+
other rights that a licensor has authority to grant. Use of
|
|
66
|
+
the licensed material may still be restricted for other
|
|
67
|
+
reasons, including because others have copyright or other
|
|
68
|
+
rights in the material. A licensor may make special requests,
|
|
69
|
+
such as asking that all changes be marked or described.
|
|
70
|
+
Although not required by our licenses, you are encouraged to
|
|
71
|
+
respect those requests where reasonable. More considerations
|
|
72
|
+
for the public:
|
|
73
|
+
wiki.creativecommons.org/Considerations_for_licensees
|
|
74
|
+
|
|
75
|
+
=======================================================================
|
|
76
|
+
|
|
77
|
+
Creative Commons Attribution 4.0 International Public License
|
|
78
|
+
|
|
79
|
+
By exercising the Licensed Rights (defined below), You accept and agree
|
|
80
|
+
to be bound by the terms and conditions of this Creative Commons
|
|
81
|
+
Attribution 4.0 International Public License ("Public License"). To the
|
|
82
|
+
extent this Public License may be interpreted as a contract, You are
|
|
83
|
+
granted the Licensed Rights in consideration of Your acceptance of
|
|
84
|
+
these terms and conditions, and the Licensor grants You such rights in
|
|
85
|
+
consideration of benefits the Licensor receives from making the
|
|
86
|
+
Licensed Material available under these terms and conditions.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
Section 1 -- Definitions.
|
|
90
|
+
|
|
91
|
+
a. Adapted Material means material subject to Copyright and Similar
|
|
92
|
+
Rights that is derived from or based upon the Licensed Material
|
|
93
|
+
and in which the Licensed Material is translated, altered,
|
|
94
|
+
arranged, transformed, or otherwise modified in a manner requiring
|
|
95
|
+
permission under the Copyright and Similar Rights held by the
|
|
96
|
+
Licensor. For purposes of this Public License, where the Licensed
|
|
97
|
+
Material is a musical work, performance, or sound recording,
|
|
98
|
+
Adapted Material is always produced where the Licensed Material is
|
|
99
|
+
synched in timed relation with a moving image.
|
|
100
|
+
|
|
101
|
+
b. Adapter's License means the license You apply to Your Copyright
|
|
102
|
+
and Similar Rights in Your contributions to Adapted Material in
|
|
103
|
+
accordance with the terms and conditions of this Public License.
|
|
104
|
+
|
|
105
|
+
c. Copyright and Similar Rights means copyright and/or similar rights
|
|
106
|
+
closely related to copyright including, without limitation,
|
|
107
|
+
performance, broadcast, sound recording, and Sui Generis Database
|
|
108
|
+
Rights, without regard to how the rights are labeled or
|
|
109
|
+
categorized. For purposes of this Public License, the rights
|
|
110
|
+
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
|
111
|
+
Rights.
|
|
112
|
+
|
|
113
|
+
d. Effective Technological Measures means those measures that, in the
|
|
114
|
+
absence of proper authority, may not be circumvented under laws
|
|
115
|
+
fulfilling obligations under Article 11 of the WIPO Copyright
|
|
116
|
+
Treaty adopted on December 20, 1996, and/or similar international
|
|
117
|
+
agreements.
|
|
118
|
+
|
|
119
|
+
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
|
120
|
+
any other exception or limitation to Copyright and Similar Rights
|
|
121
|
+
that applies to Your use of the Licensed Material.
|
|
122
|
+
|
|
123
|
+
f. Licensed Material means the artistic or literary work, database,
|
|
124
|
+
or other material to which the Licensor applied this Public
|
|
125
|
+
License.
|
|
126
|
+
|
|
127
|
+
g. Licensed Rights means the rights granted to You subject to the
|
|
128
|
+
terms and conditions of this Public License, which are limited to
|
|
129
|
+
all Copyright and Similar Rights that apply to Your use of the
|
|
130
|
+
Licensed Material and that the Licensor has authority to license.
|
|
131
|
+
|
|
132
|
+
h. Licensor means the individual(s) or entity(ies) granting rights
|
|
133
|
+
under this Public License.
|
|
134
|
+
|
|
135
|
+
i. Share means to provide material to the public by any means or
|
|
136
|
+
process that requires permission under the Licensed Rights, such
|
|
137
|
+
as reproduction, public display, public performance, distribution,
|
|
138
|
+
dissemination, communication, or importation, and to make material
|
|
139
|
+
available to the public including in ways that members of the
|
|
140
|
+
public may access the material from a place and at a time
|
|
141
|
+
individually chosen by them.
|
|
142
|
+
|
|
143
|
+
j. Sui Generis Database Rights means rights other than copyright
|
|
144
|
+
resulting from Directive 96/9/EC of the European Parliament and of
|
|
145
|
+
the Council of 11 March 1996 on the legal protection of databases,
|
|
146
|
+
as amended and/or succeeded, as well as other essentially
|
|
147
|
+
equivalent rights anywhere in the world.
|
|
148
|
+
|
|
149
|
+
k. You means the individual or entity exercising the Licensed Rights
|
|
150
|
+
under this Public License. Your has a corresponding meaning.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
Section 2 -- Scope.
|
|
154
|
+
|
|
155
|
+
a. License grant.
|
|
156
|
+
|
|
157
|
+
1. Subject to the terms and conditions of this Public License,
|
|
158
|
+
the Licensor hereby grants You a worldwide, royalty-free,
|
|
159
|
+
non-sublicensable, non-exclusive, irrevocable license to
|
|
160
|
+
exercise the Licensed Rights in the Licensed Material to:
|
|
161
|
+
|
|
162
|
+
a. reproduce and Share the Licensed Material, in whole or
|
|
163
|
+
in part; and
|
|
164
|
+
|
|
165
|
+
b. produce, reproduce, and Share Adapted Material.
|
|
166
|
+
|
|
167
|
+
2. Exceptions and Limitations. For the avoidance of doubt, where
|
|
168
|
+
Exceptions and Limitations apply to Your use, this Public
|
|
169
|
+
License does not apply, and You do not need to comply with
|
|
170
|
+
its terms and conditions.
|
|
171
|
+
|
|
172
|
+
3. Term. The term of this Public License is specified in Section
|
|
173
|
+
6(a).
|
|
174
|
+
|
|
175
|
+
4. Media and formats; technical modifications allowed. The
|
|
176
|
+
Licensor authorizes You to exercise the Licensed Rights in
|
|
177
|
+
all media and formats whether now known or hereafter created,
|
|
178
|
+
and to make technical modifications necessary to do so. The
|
|
179
|
+
Licensor waives and/or agrees not to assert any right or
|
|
180
|
+
authority to forbid You from making technical modifications
|
|
181
|
+
necessary to exercise the Licensed Rights, including
|
|
182
|
+
technical modifications necessary to circumvent Effective
|
|
183
|
+
Technological Measures. For purposes of this Public License,
|
|
184
|
+
simply making modifications authorized by this Section 2(a)
|
|
185
|
+
(4) never produces Adapted Material.
|
|
186
|
+
|
|
187
|
+
5. Downstream recipients.
|
|
188
|
+
|
|
189
|
+
a. Offer from the Licensor -- Licensed Material. Every
|
|
190
|
+
recipient of the Licensed Material automatically
|
|
191
|
+
receives an offer from the Licensor to exercise the
|
|
192
|
+
Licensed Rights under the terms and conditions of this
|
|
193
|
+
Public License.
|
|
194
|
+
|
|
195
|
+
b. No downstream restrictions. You may not offer or impose
|
|
196
|
+
any additional or different terms or conditions on, or
|
|
197
|
+
apply any Effective Technological Measures to, the
|
|
198
|
+
Licensed Material if doing so restricts exercise of the
|
|
199
|
+
Licensed Rights by any recipient of the Licensed
|
|
200
|
+
Material.
|
|
201
|
+
|
|
202
|
+
6. No endorsement. Nothing in this Public License constitutes or
|
|
203
|
+
may be construed as permission to assert or imply that You
|
|
204
|
+
are, or that Your use of the Licensed Material is, connected
|
|
205
|
+
with, or sponsored, endorsed, or granted official status by,
|
|
206
|
+
the Licensor or others designated to receive attribution as
|
|
207
|
+
provided in Section 3(a)(1)(A)(i).
|
|
208
|
+
|
|
209
|
+
b. Other rights.
|
|
210
|
+
|
|
211
|
+
1. Moral rights, such as the right of integrity, are not
|
|
212
|
+
licensed under this Public License, nor are publicity,
|
|
213
|
+
privacy, and/or other similar personality rights; however, to
|
|
214
|
+
the extent possible, the Licensor waives and/or agrees not to
|
|
215
|
+
assert any such rights held by the Licensor to the limited
|
|
216
|
+
extent necessary to allow You to exercise the Licensed
|
|
217
|
+
Rights, but not otherwise.
|
|
218
|
+
|
|
219
|
+
2. Patent and trademark rights are not licensed under this
|
|
220
|
+
Public License.
|
|
221
|
+
|
|
222
|
+
3. To the extent possible, the Licensor waives any right to
|
|
223
|
+
collect royalties from You for the exercise of the Licensed
|
|
224
|
+
Rights, whether directly or through a collecting society
|
|
225
|
+
under any voluntary or waivable statutory or compulsory
|
|
226
|
+
licensing scheme. In all other cases the Licensor expressly
|
|
227
|
+
reserves any right to collect such royalties.
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
Section 3 -- License Conditions.
|
|
231
|
+
|
|
232
|
+
Your exercise of the Licensed Rights is expressly made subject to the
|
|
233
|
+
following conditions.
|
|
234
|
+
|
|
235
|
+
a. Attribution.
|
|
236
|
+
|
|
237
|
+
1. If You Share the Licensed Material (including in modified
|
|
238
|
+
form), You must:
|
|
239
|
+
|
|
240
|
+
a. retain the following if it is supplied by the Licensor
|
|
241
|
+
with the Licensed Material:
|
|
242
|
+
|
|
243
|
+
i. identification of the creator(s) of the Licensed
|
|
244
|
+
Material and any others designated to receive
|
|
245
|
+
attribution, in any reasonable manner requested by
|
|
246
|
+
the Licensor (including by pseudonym if
|
|
247
|
+
designated);
|
|
248
|
+
|
|
249
|
+
ii. a copyright notice;
|
|
250
|
+
|
|
251
|
+
iii. a notice that refers to this Public License;
|
|
252
|
+
|
|
253
|
+
iv. a notice that refers to the disclaimer of
|
|
254
|
+
warranties;
|
|
255
|
+
|
|
256
|
+
v. a URI or hyperlink to the Licensed Material to the
|
|
257
|
+
extent reasonably practicable;
|
|
258
|
+
|
|
259
|
+
b. indicate if You modified the Licensed Material and
|
|
260
|
+
retain an indication of any previous modifications; and
|
|
261
|
+
|
|
262
|
+
c. indicate the Licensed Material is licensed under this
|
|
263
|
+
Public License, and include the text of, or the URI or
|
|
264
|
+
hyperlink to, this Public License.
|
|
265
|
+
|
|
266
|
+
2. You may satisfy the conditions in Section 3(a)(1) in any
|
|
267
|
+
reasonable manner based on the medium, means, and context in
|
|
268
|
+
which You Share the Licensed Material. For example, it may be
|
|
269
|
+
reasonable to satisfy the conditions by providing a URI or
|
|
270
|
+
hyperlink to a resource that includes the required
|
|
271
|
+
information.
|
|
272
|
+
|
|
273
|
+
3. If requested by the Licensor, You must remove any of the
|
|
274
|
+
information required by Section 3(a)(1)(A) to the extent
|
|
275
|
+
reasonably practicable.
|
|
276
|
+
|
|
277
|
+
4. If You Share Adapted Material You produce, the Adapter's
|
|
278
|
+
License You apply must not prevent recipients of the Adapted
|
|
279
|
+
Material from complying with this Public License.
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
Section 4 -- Sui Generis Database Rights.
|
|
283
|
+
|
|
284
|
+
Where the Licensed Rights include Sui Generis Database Rights that
|
|
285
|
+
apply to Your use of the Licensed Material:
|
|
286
|
+
|
|
287
|
+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
|
288
|
+
to extract, reuse, reproduce, and Share all or a substantial
|
|
289
|
+
portion of the contents of the database;
|
|
290
|
+
|
|
291
|
+
b. if You include all or a substantial portion of the database
|
|
292
|
+
contents in a database in which You have Sui Generis Database
|
|
293
|
+
Rights, then the database in which You have Sui Generis Database
|
|
294
|
+
Rights (but not its individual contents) is Adapted Material; and
|
|
295
|
+
|
|
296
|
+
c. You must comply with the conditions in Section 3(a) if You Share
|
|
297
|
+
all or a substantial portion of the contents of the database.
|
|
298
|
+
|
|
299
|
+
For the avoidance of doubt, this Section 4 supplements and does not
|
|
300
|
+
replace Your obligations under this Public License where the Licensed
|
|
301
|
+
Rights include other Copyright and Similar Rights.
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
|
305
|
+
|
|
306
|
+
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
|
307
|
+
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
|
308
|
+
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
|
309
|
+
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
|
310
|
+
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
|
311
|
+
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
|
312
|
+
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
|
313
|
+
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
|
314
|
+
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
|
315
|
+
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
|
316
|
+
|
|
317
|
+
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
|
318
|
+
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
|
319
|
+
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
|
320
|
+
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
|
321
|
+
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
|
322
|
+
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
|
323
|
+
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
|
324
|
+
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
|
325
|
+
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
|
326
|
+
|
|
327
|
+
c. The disclaimer of warranties and limitation of liability provided
|
|
328
|
+
above shall be interpreted in a manner that, to the extent
|
|
329
|
+
possible, most closely approximates an absolute disclaimer and
|
|
330
|
+
waiver of all liability.
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
Section 6 -- Term and Termination.
|
|
334
|
+
|
|
335
|
+
a. This Public License applies for the term of the Copyright and
|
|
336
|
+
Similar Rights licensed here. However, if You fail to comply with
|
|
337
|
+
this Public License, then Your rights under this Public License
|
|
338
|
+
terminate automatically.
|
|
339
|
+
|
|
340
|
+
b. Where Your right to use the Licensed Material has terminated under
|
|
341
|
+
Section 6(a), it reinstates:
|
|
342
|
+
|
|
343
|
+
1. automatically as of the date the violation is cured, provided
|
|
344
|
+
it is cured within 30 days of Your discovery of the
|
|
345
|
+
violation; or
|
|
346
|
+
|
|
347
|
+
2. upon express reinstatement by the Licensor.
|
|
348
|
+
|
|
349
|
+
For the avoidance of doubt, this Section 6(b) does not affect any
|
|
350
|
+
right the Licensor may have to seek remedies for Your violations
|
|
351
|
+
of this Public License.
|
|
352
|
+
|
|
353
|
+
c. For the avoidance of doubt, the Licensor may also offer the
|
|
354
|
+
Licensed Material under separate terms or conditions or stop
|
|
355
|
+
distributing the Licensed Material at any time; however, doing so
|
|
356
|
+
will not terminate this Public License.
|
|
357
|
+
|
|
358
|
+
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
|
359
|
+
License.
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
Section 7 -- Other Terms and Conditions.
|
|
363
|
+
|
|
364
|
+
a. The Licensor shall not be bound by any additional or different
|
|
365
|
+
terms or conditions communicated by You unless expressly agreed.
|
|
366
|
+
|
|
367
|
+
b. Any arrangements, understandings, or agreements regarding the
|
|
368
|
+
Licensed Material not stated herein are separate from and
|
|
369
|
+
independent of the terms and conditions of this Public License.
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
Section 8 -- Interpretation.
|
|
373
|
+
|
|
374
|
+
a. For the avoidance of doubt, this Public License does not, and
|
|
375
|
+
shall not be interpreted to, reduce, limit, restrict, or impose
|
|
376
|
+
conditions on any use of the Licensed Material that could lawfully
|
|
377
|
+
be made without permission under this Public License.
|
|
378
|
+
|
|
379
|
+
b. To the extent possible, if any provision of this Public License is
|
|
380
|
+
deemed unenforceable, it shall be automatically reformed to the
|
|
381
|
+
minimum extent necessary to make it enforceable. If the provision
|
|
382
|
+
cannot be reformed, it shall be severed from this Public License
|
|
383
|
+
without affecting the enforceability of the remaining terms and
|
|
384
|
+
conditions.
|
|
385
|
+
|
|
386
|
+
c. No term or condition of this Public License will be waived and no
|
|
387
|
+
failure to comply consented to unless expressly agreed to by the
|
|
388
|
+
Licensor.
|
|
389
|
+
|
|
390
|
+
d. Nothing in this Public License constitutes or may be interpreted
|
|
391
|
+
as a limitation upon, or waiver of, any privileges and immunities
|
|
392
|
+
that apply to the Licensor or You, including from the legal
|
|
393
|
+
processes of any jurisdiction or authority.
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
=======================================================================
|
|
397
|
+
|
|
398
|
+
Creative Commons is not a party to its public
|
|
399
|
+
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
|
400
|
+
its public licenses to material it publishes and in those instances
|
|
401
|
+
will be considered the “Licensor.” The text of the Creative Commons
|
|
402
|
+
public licenses is dedicated to the public domain under the CC0 Public
|
|
403
|
+
Domain Dedication. Except for the limited purpose of indicating that
|
|
404
|
+
material is shared under a Creative Commons public license or as
|
|
405
|
+
otherwise permitted by the Creative Commons policies published at
|
|
406
|
+
creativecommons.org/policies, Creative Commons does not authorize the
|
|
407
|
+
use of the trademark "Creative Commons" or any other trademark or logo
|
|
408
|
+
of Creative Commons without its prior written consent including,
|
|
409
|
+
without limitation, in connection with any unauthorized modifications
|
|
410
|
+
to any of its public licenses or any other arrangements,
|
|
411
|
+
understandings, or agreements concerning use of licensed material. For
|
|
412
|
+
the avoidance of doubt, this paragraph does not form part of the
|
|
413
|
+
public licenses.
|
|
414
|
+
|
|
415
|
+
Creative Commons may be contacted at creativecommons.org.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
include CHANGELOG.md tox.ini
|
|
2
|
+
recursive-include src/dioptra *.json *.tmpl
|
|
3
|
+
recursive-include src/dioptra/restapi/db/alembic README *.mako *.ini
|
|
4
|
+
|
|
5
|
+
graft docs
|
|
6
|
+
graft tests
|
|
7
|
+
|
|
8
|
+
prune docker
|
|
9
|
+
prune docs/build
|
|
10
|
+
prune examples
|
|
11
|
+
prune src/frontend
|
|
12
|
+
|
|
13
|
+
global-exclude .* *.py[cod]
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dioptra-platform
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Dioptra provides Machine Learning Security researchers with an environment for organizing and running experiments.
|
|
5
|
+
Author: Paul Scemama, Paul Rowe, Luke Barber, Cory Miniter
|
|
6
|
+
Author-email: James Glasbrenner <jglasbrenner@mitre.org>, Harold Booth <harold.booth@nist.gov>, Keith Manville <kmanville@mitre.org>, Julian Sexton <jtsexton@mitre.org>, Michael Andy Chisholm <chisholm@mitre.org>, Henry Choy <hchoy@mitre.org>, Andrew Hand <ahand@mitre.org>, Bronwyn Hodges <bhodges@mitre.org>, Dmitry Cousin <dmitry.cousin@nist.gov>, Eric Trapnell <eric.trapnell@nist.gov>, Mark Trapnell <mark.trapnell@nist.gov>, Howard Huang <hhuang@mitre.org>, Alexander Byrne <alexanderbyrne@mitre.org>
|
|
7
|
+
Maintainer-email: James Glasbrenner <jglasbrenner@mitre.org>, Keith Manville <kmanville@mitre.org>, Harold Booth <harold.booth@nist.gov>
|
|
8
|
+
Project-URL: repository, https://github.com/usnistgov/dioptra
|
|
9
|
+
Project-URL: documentation, https://pages.nist.gov/dioptra
|
|
10
|
+
Project-URL: Changelog, https://github.com/usnistgov/dioptra/blob/main/CHANGELOG.md
|
|
11
|
+
Project-URL: Issue Tracker, https://github.com/usnistgov/dioptra/issues
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Framework :: Flask
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
19
|
+
Classifier: Topic :: Security
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Requires-Dist: alembic>=1.13.0
|
|
24
|
+
Requires-Dist: boto3>=1.16.0
|
|
25
|
+
Requires-Dist: Click<9,>=8.0.0
|
|
26
|
+
Requires-Dist: entrypoints>=0.3
|
|
27
|
+
Requires-Dist: Flask>=2.0.0
|
|
28
|
+
Requires-Dist: flask-accepts>=0.17.0
|
|
29
|
+
Requires-Dist: Flask-Cors>=3.0.1
|
|
30
|
+
Requires-Dist: Flask-Login>=0.6.0
|
|
31
|
+
Requires-Dist: Flask-Migrate>=2.5.0
|
|
32
|
+
Requires-Dist: flask-restx>=0.5.1
|
|
33
|
+
Requires-Dist: Flask-SQLAlchemy>=2.4.0
|
|
34
|
+
Requires-Dist: injector>=0.18.0
|
|
35
|
+
Requires-Dist: jsonschema>=4.17.0
|
|
36
|
+
Requires-Dist: marshmallow<4,>=3.9.0
|
|
37
|
+
Requires-Dist: multimethod>=1.5
|
|
38
|
+
Requires-Dist: numpy>=1.22.0
|
|
39
|
+
Requires-Dist: pandas>=1.5.0
|
|
40
|
+
Requires-Dist: passlib>=1.7.0
|
|
41
|
+
Requires-Dist: pyparsing>=3.1.0
|
|
42
|
+
Requires-Dist: python-dateutil>=2.8.0
|
|
43
|
+
Requires-Dist: PyYAML>=6.0.0
|
|
44
|
+
Requires-Dist: redis>=3.5.0
|
|
45
|
+
Requires-Dist: requests<3,>=2.25
|
|
46
|
+
Requires-Dist: rq>=1.5.0
|
|
47
|
+
Requires-Dist: scipy>=1.4.1
|
|
48
|
+
Requires-Dist: structlog>=20.2.0
|
|
49
|
+
Requires-Dist: SQLAlchemy>=2
|
|
50
|
+
Requires-Dist: typing-extensions>=3.7.4.3
|
|
51
|
+
Requires-Dist: werkzeug>=3.0.0
|
|
52
|
+
Provides-Extra: cookiecutter
|
|
53
|
+
Requires-Dist: cookiecutter<2.2.0,>=2.0.0; extra == "cookiecutter"
|
|
54
|
+
Provides-Extra: mlflow-skinny
|
|
55
|
+
Requires-Dist: mlflow-skinny>=2; extra == "mlflow-skinny"
|
|
56
|
+
Provides-Extra: mlflow-full
|
|
57
|
+
Requires-Dist: mlflow>=2; extra == "mlflow-full"
|
|
58
|
+
Provides-Extra: examples
|
|
59
|
+
Requires-Dist: aiohttp>=3.8.0; extra == "examples"
|
|
60
|
+
Requires-Dist: kaggle>=1.5.0; extra == "examples"
|
|
61
|
+
Requires-Dist: Pillow>=9.2.0; extra == "examples"
|
|
62
|
+
Requires-Dist: rich>=13.3.0; extra == "examples"
|
|
63
|
+
Requires-Dist: universal_pathlib>=0.0.23; extra == "examples"
|
|
64
|
+
Provides-Extra: postgres
|
|
65
|
+
Requires-Dist: psycopg2-binary>=2.9.0; extra == "postgres"
|
|
66
|
+
Provides-Extra: worker
|
|
67
|
+
Requires-Dist: async_timeout; extra == "worker"
|
|
68
|
+
Requires-Dist: adversarial-robustness-toolbox>=1.9.0; extra == "worker"
|
|
69
|
+
Requires-Dist: imgaug>=0.4.0; extra == "worker"
|
|
70
|
+
Requires-Dist: matplotlib; extra == "worker"
|
|
71
|
+
Requires-Dist: nrtk>=0.3.0; extra == "worker"
|
|
72
|
+
Requires-Dist: opencv-python; extra == "worker"
|
|
73
|
+
Requires-Dist: Pillow>=9.2.0; extra == "worker"
|
|
74
|
+
Requires-Dist: prefect<2,>=1.0.0; extra == "worker"
|
|
75
|
+
Requires-Dist: pyarrow; extra == "worker"
|
|
76
|
+
Requires-Dist: pycocotools; extra == "worker"
|
|
77
|
+
Requires-Dist: python-json-logger>=2.0.0; extra == "worker"
|
|
78
|
+
Requires-Dist: rich>=13.3.0; extra == "worker"
|
|
79
|
+
Requires-Dist: scikit-learn>=1.0.0; extra == "worker"
|
|
80
|
+
Requires-Dist: simplejson; extra == "worker"
|
|
81
|
+
Requires-Dist: tensorboard; extra == "worker"
|
|
82
|
+
Provides-Extra: dev
|
|
83
|
+
Requires-Dist: autopep8; extra == "dev"
|
|
84
|
+
Requires-Dist: binaryornot>=0.4.0; extra == "dev"
|
|
85
|
+
Requires-Dist: build; extra == "dev"
|
|
86
|
+
Requires-Dist: entrypoints; extra == "dev"
|
|
87
|
+
Requires-Dist: esbonio; extra == "dev"
|
|
88
|
+
Requires-Dist: Faker>=24.0.0; extra == "dev"
|
|
89
|
+
Requires-Dist: flake8-bugbear; extra == "dev"
|
|
90
|
+
Requires-Dist: flake8>=3.8.0; extra == "dev"
|
|
91
|
+
Requires-Dist: freezegun; extra == "dev"
|
|
92
|
+
Requires-Dist: ipykernel; extra == "dev"
|
|
93
|
+
Requires-Dist: ipython; extra == "dev"
|
|
94
|
+
Requires-Dist: jupyter; extra == "dev"
|
|
95
|
+
Requires-Dist: jupyterlab; extra == "dev"
|
|
96
|
+
Requires-Dist: nbconvert; extra == "dev"
|
|
97
|
+
Requires-Dist: pip-tools; extra == "dev"
|
|
98
|
+
Requires-Dist: pycodestyle; extra == "dev"
|
|
99
|
+
Requires-Dist: pydocstyle; extra == "dev"
|
|
100
|
+
Requires-Dist: pytest-cookies; extra == "dev"
|
|
101
|
+
Requires-Dist: pytest>=7; extra == "dev"
|
|
102
|
+
Requires-Dist: pytoml; extra == "dev"
|
|
103
|
+
Requires-Dist: Sphinx<5,>=4.5.0; extra == "dev"
|
|
104
|
+
Requires-Dist: tomli; extra == "dev"
|
|
105
|
+
Requires-Dist: tox>=4.4.0; extra == "dev"
|
|
106
|
+
Requires-Dist: wheel; extra == "dev"
|
|
107
|
+
Dynamic: license-file
|
|
108
|
+
|
|
109
|
+
# Dioptra: Test Software for the Characterization of AI Technologies
|
|
110
|
+
|
|
111
|
+
Dioptra is a software test platform for assessing the trustworthy characteristics of artificial intelligence (AI).
|
|
112
|
+
Trustworthy AI is: valid and reliable, safe, secure and resilient, accountable and transparent, explainable and interpretable, privacy-enhanced, and fair - with harmful bias managed[^1].
|
|
113
|
+
Dioptra supports the Measure function of the [NIST AI Risk Management Framework](https://nist.gov/itl/ai-risk-management-framework/) by providing functionality to assess, analyze, and track identified AI risks.
|
|
114
|
+
|
|
115
|
+
Dioptra provides a REST API, which can be controlled via an intuitive web interface, a Python client, or any REST client library of the user's choice for designing, managing, executing, and tracking experiments.
|
|
116
|
+
Details are available in the project documentation available at <https://pages.nist.gov/dioptra/>.
|
|
117
|
+
|
|
118
|
+
[^1]: <https://doi.org/10.6028/NIST.AI.100-1>
|
|
119
|
+
|
|
120
|
+
<!-- markdownlint-disable MD007 MD030 -->
|
|
121
|
+
- [Current Release Status](#current-release-status)
|
|
122
|
+
- [Use Cases](#use-cases)
|
|
123
|
+
- [Key Properties](#key-properties)
|
|
124
|
+
- [Usage Instructions](#usage-instructions)
|
|
125
|
+
- [Build the containers](#build-the-containers)
|
|
126
|
+
- [Run Dioptra](#run-dioptra)
|
|
127
|
+
- [User registration](#user-registration)
|
|
128
|
+
- [Develop Dioptra](#develop-dioptra)
|
|
129
|
+
- [License](#license)
|
|
130
|
+
- [How to Cite](#how-to-cite)
|
|
131
|
+
<!-- markdownlint-enable MD007 MD030 -->
|
|
132
|
+
|
|
133
|
+
## Current Release Status
|
|
134
|
+
|
|
135
|
+
Release 1.0.0 -- with on-going improvements and development
|
|
136
|
+
|
|
137
|
+
## Use Cases
|
|
138
|
+
|
|
139
|
+
We envision the following primary use cases for Dioptra:
|
|
140
|
+
|
|
141
|
+
- Model Testing:
|
|
142
|
+
- 1st party - Assess AI models throughout the development lifecycle
|
|
143
|
+
- 2nd party - Assess AI models during acquisition or in an evaluation lab environment
|
|
144
|
+
- 3rd party - Assess AI models during auditing or compliance activities
|
|
145
|
+
- Research: Aid trustworthy AI researchers in tracking experiments
|
|
146
|
+
- Evaluations and Challenges: Provide a common platform and resources for participants
|
|
147
|
+
- Red-Teaming: Expose models and resources to a red team in a controlled environment
|
|
148
|
+
|
|
149
|
+
## Key Properties
|
|
150
|
+
|
|
151
|
+
Dioptra strives for the following key properties:
|
|
152
|
+
|
|
153
|
+
- Reproducible: Dioptra automatically creates snapshots of resources so experiments can be reproduced and validated
|
|
154
|
+
- Traceable: The full history of experiments and their inputs are tracked
|
|
155
|
+
- Extensible: Support for expanding functionality and importing existing Python packages via a plugin system
|
|
156
|
+
- Interoperable: A type system promotes interoperability between plugins
|
|
157
|
+
- Modular: New experiments can be composed from modular components in a simple yaml file
|
|
158
|
+
- Secure: Dioptra provides user authentication with access controls coming soon
|
|
159
|
+
- Interactive: Users can interact with Dioptra via an intuitive web interface
|
|
160
|
+
- Shareable and Reusable: Dioptra can be deployed in a multi-tenant environment so users can share and reuse components
|
|
161
|
+
|
|
162
|
+
## Usage Instructions
|
|
163
|
+
|
|
164
|
+
### Build the containers
|
|
165
|
+
|
|
166
|
+
The first step in setting up Dioptra is to clone the repository and build the docker containers for the various services that are part of a deployment.
|
|
167
|
+
See the [Building the containers](https://pages.nist.gov/dioptra/getting-started/building-the-containers.html) section of the documentation for instructions.
|
|
168
|
+
|
|
169
|
+
### Run Dioptra
|
|
170
|
+
|
|
171
|
+
Once the containers have been built, the next step is to configure the deployment with cruft and run Dioptra.
|
|
172
|
+
See the [Running Dioptra](https://pages.nist.gov/dioptra/getting-started/running-dioptra.html) section of the documentation for instructions.
|
|
173
|
+
|
|
174
|
+
Additionally, you may want to add datasets, see the [Downloading datasets](https://pages.nist.gov/dioptra/getting-started/acquiring-datasets.html) section of the documentation for details.
|
|
175
|
+
|
|
176
|
+
### User registration
|
|
177
|
+
|
|
178
|
+
Register a user account with your Dioptra instance via either the user interface.
|
|
179
|
+
The user interface can be accessed via your web browser at the URL specified when creating the deployment.
|
|
180
|
+
The default is <http://localhost>.
|
|
181
|
+
|
|
182
|
+
## Develop Dioptra
|
|
183
|
+
|
|
184
|
+
If you are interested in contributing to Dioptra, please see the [Developer Guide](DEVELOPER.md)
|
|
185
|
+
|
|
186
|
+
## License
|
|
187
|
+
|
|
188
|
+
[](http://creativecommons.org/licenses/by/4.0/)
|
|
189
|
+
|
|
190
|
+
This Software (Dioptra) is being made available as a public service by the [National Institute of Standards and Technology (NIST)](https://www.nist.gov/), an Agency of the United States Department of Commerce.
|
|
191
|
+
This software was developed in part by employees of NIST and in part by NIST contractors.
|
|
192
|
+
Copyright in portions of this software that were developed by NIST contractors has been licensed or assigned to NIST.
|
|
193
|
+
Pursuant to Title 17 United States Code Section 105, works of NIST employees are not subject to copyright protection in the United States.
|
|
194
|
+
However, NIST may hold international copyright in software created by its employees and domestic copyright (or licensing rights) in portions of software that were assigned or licensed to NIST.
|
|
195
|
+
To the extent that NIST holds copyright in this software, it is being made available under the [Creative Commons Attribution 4.0 International license (CC BY 4.0)](http://creativecommons.org/licenses/by/4.0/).
|
|
196
|
+
The disclaimers of the CC BY 4.0 license apply to all parts of the software developed or licensed by NIST.
|
|
197
|
+
|
|
198
|
+
## How to Cite
|
|
199
|
+
|
|
200
|
+
Glasbrenner, James, Booth, Harold, Manville, Keith, Sexton, Julian, Chisholm, Michael Andy, Choy, Henry, Hand, Andrew, Hodges, Bronwyn, Scemama, Paul, Cousin, Dmitry, Trapnell, Eric, Trapnell, Mark, Huang, Howard, Rowe, Paul, Byrne, Alex (2024), Dioptra Test Platform, National Institute of Standards and Technology, https://doi.org/10.18434/mds2-3398 (Accessed 'Today's Date')
|
|
201
|
+
|
|
202
|
+
N.B.: Replace 'Today's Date' with today's date
|