compox 2.0.0.dev3__tar.gz → 2.1.1.dev1__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.
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/LICENSE +1 -1
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/PKG-INFO +8 -5
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/README.md +7 -4
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/THIRD_PARTY_LICENSES.txt +13736 -12534
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/pyproject.toml +1 -1
- compox-2.1.1.dev1/src/compox/algorithm_debug.py +116 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/AlgorithmDeployer.py +15 -10
- compox-2.1.1.dev1/src/compox/algorithm_utils/LocalDebugSession.py +307 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/io_schemas.py +6 -2
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/cli.py +2 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/config/server_settings.py +6 -6
- compox-2.1.1.dev1/src/compox/database_connection/database_utils.py +260 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/root.py +2 -2
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/dummy/README.md +1 -1
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_algorithm_deployer.py +1 -1
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_server.yaml +7 -7
- compox-2.0.0.dev3/src/compox/database_connection/database_utils.py +0 -179
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/NOTICE +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/AlgorithmConfigSchema.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/AlgorithmManager.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/BaseRunner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Image2AlignmentRunner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Image2EmbeddingRunner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Image2ImageRunner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Image2SegmentationRunner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Segmentation2SegmentationRunner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/deployment_utils.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/runner_context.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/api_builder.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/celery_builder.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/db_connection_builder.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/minio_wrapper.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/server_builder.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/BaseConnection.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/InMemoryConnection.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/S3Connection.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/TempfileConnection.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/deploy_algorithms.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/CUDAMemoryManager.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/JobPOpen.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/ServerSystrayInterface.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/downloader.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/logging.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/pydantic_models.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/resources/compoxbackend.ico +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/algorithms_controller.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/execution_controller.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/execution_manager.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/file_controller.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/file_controller_v1.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/run_server.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/run_worker.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/server_utils.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/session/DataCache.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/session/TaskSession.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/session/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/DebuggingTaskHandler.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/TaskHandler.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/celery_task.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/context_task_handler.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/fastapi_background_task.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/version.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/.gitignore +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/Runner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/dependencies/some_more_files/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/dependencies/some_more_files/layer.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/dependencies/some_more_files/layer2.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/dependencies/utils.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/main.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/pyproject.toml +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/dummy/Runner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/dummy/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/dummy/pyproject.toml +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/Runner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/some_more_files/__init__.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/some_more_files/layer.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/some_more_files/layer2.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/utils.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/main.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/pyproject.toml +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/conftest.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/pytest.ini +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_base_runner.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_child_runners.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_datacache.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_delete_file.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_execute_algorithm.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_file_controller_v1.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_get_algorithm.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_get_all_algorithms.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_get_execution_record.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_get_file.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_post_file.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_runner_attribute_behavior.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_server_utils.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_stress.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_task_handler.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_task_session.py +0 -0
- {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: compox
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.1.dev1
|
|
4
4
|
Author-Email: Jan Matula <jan.matula@tescan.com>, =?utf-8?q?Old=C5=99ich_Kodym?= <oldrich.kodym@tescan.com>
|
|
5
5
|
License-Expression: Apache-2.0 AND LicenseRef-Commons-Clause-1.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -35,6 +35,9 @@ Description-Content-Type: text/markdown
|
|
|
35
35
|
|
|
36
36
|
# Compox
|
|
37
37
|
Compox is a simple Python execution engine for Tescan applications. It's purpose is to run data processing algorithms written in Python on the server and report the results to the client application such as Tescan 3D Viewer or Picannto.
|
|
38
|
+
|
|
39
|
+
See the [GitHub pages](https://tescan-3dim.github.io/compox) for full python API reference, docs and tutorials!
|
|
40
|
+
|
|
38
41
|
## Installation
|
|
39
42
|
Compox can be installed through PyPI:
|
|
40
43
|
```bash
|
|
@@ -67,7 +70,7 @@ compox run --config /path/to/config.yaml
|
|
|
67
70
|
```
|
|
68
71
|
|
|
69
72
|
### Deploying algorithms
|
|
70
|
-
See Algorithm development tutorial
|
|
73
|
+
See ([Algorithm development tutorial](/compox/algorithms/README.md)) for information about target structure of the deployable algorithms.
|
|
71
74
|
|
|
72
75
|
Once your algorithm is ready, you can use the `compox deploy-algorithms` command to deploy it to your server.
|
|
73
76
|
To see the usage of the `deploy-algorithms` command, you can run:
|
|
@@ -106,11 +109,11 @@ The server uses pydantic settings for configuration. The options can be either s
|
|
|
106
109
|
| | `deploy_algorithms_from` | `"./algorithms"` | Directory for algorithm deployment sources. |
|
|
107
110
|
| | `log_path` | `"LOG_DEFAULT:compox.log"` | Path to the main log file (supports dynamic prefixes). |
|
|
108
111
|
| | `config` | `None` | Optional config path override. |
|
|
109
|
-
| `info` | `product_name` | `"
|
|
112
|
+
| `info` | `product_name` | `"Tescan Compox Backend"` | Product display name. |
|
|
110
113
|
| `info` | `server_tags` | `[]` → auto appends `"compox"` | Tags attached to the server. `"compox"` is added automatically. |
|
|
111
114
|
| `info` | `group_name` | `"TESCAN GROUP, a.s."` | Name of the corporate group. |
|
|
112
|
-
| `info` | `organization_name` | `"TESCAN
|
|
113
|
-
| `info` | `organization_domain` | `"
|
|
115
|
+
| `info` | `organization_name` | `"TESCAN GROUP, a.s."` | Full name of the organization. |
|
|
116
|
+
| `info` | `organization_domain` | `"tescan.com"` | Domain used in server configuration. |
|
|
114
117
|
| `gui` | `algorithm_add_remove_in_menus` | `False` | Enables/disables GUI menu for algorithm management. |
|
|
115
118
|
| `gui` | `use_systray` | `False` | Enables/disables systray GUI integration. |
|
|
116
119
|
| `gui` | `icon_path` | Path to the installed package resource | Path to the systray icon (supports dynamic prefixes) |
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Compox
|
|
2
2
|
Compox is a simple Python execution engine for Tescan applications. It's purpose is to run data processing algorithms written in Python on the server and report the results to the client application such as Tescan 3D Viewer or Picannto.
|
|
3
|
+
|
|
4
|
+
See the [GitHub pages](https://tescan-3dim.github.io/compox) for full python API reference, docs and tutorials!
|
|
5
|
+
|
|
3
6
|
## Installation
|
|
4
7
|
Compox can be installed through PyPI:
|
|
5
8
|
```bash
|
|
@@ -32,7 +35,7 @@ compox run --config /path/to/config.yaml
|
|
|
32
35
|
```
|
|
33
36
|
|
|
34
37
|
### Deploying algorithms
|
|
35
|
-
See Algorithm development tutorial
|
|
38
|
+
See ([Algorithm development tutorial](/compox/algorithms/README.md)) for information about target structure of the deployable algorithms.
|
|
36
39
|
|
|
37
40
|
Once your algorithm is ready, you can use the `compox deploy-algorithms` command to deploy it to your server.
|
|
38
41
|
To see the usage of the `deploy-algorithms` command, you can run:
|
|
@@ -71,11 +74,11 @@ The server uses pydantic settings for configuration. The options can be either s
|
|
|
71
74
|
| | `deploy_algorithms_from` | `"./algorithms"` | Directory for algorithm deployment sources. |
|
|
72
75
|
| | `log_path` | `"LOG_DEFAULT:compox.log"` | Path to the main log file (supports dynamic prefixes). |
|
|
73
76
|
| | `config` | `None` | Optional config path override. |
|
|
74
|
-
| `info` | `product_name` | `"
|
|
77
|
+
| `info` | `product_name` | `"Tescan Compox Backend"` | Product display name. |
|
|
75
78
|
| `info` | `server_tags` | `[]` → auto appends `"compox"` | Tags attached to the server. `"compox"` is added automatically. |
|
|
76
79
|
| `info` | `group_name` | `"TESCAN GROUP, a.s."` | Name of the corporate group. |
|
|
77
|
-
| `info` | `organization_name` | `"TESCAN
|
|
78
|
-
| `info` | `organization_domain` | `"
|
|
80
|
+
| `info` | `organization_name` | `"TESCAN GROUP, a.s."` | Full name of the organization. |
|
|
81
|
+
| `info` | `organization_domain` | `"tescan.com"` | Domain used in server configuration. |
|
|
79
82
|
| `gui` | `algorithm_add_remove_in_menus` | `False` | Enables/disables GUI menu for algorithm management. |
|
|
80
83
|
| `gui` | `use_systray` | `False` | Enables/disables systray GUI integration. |
|
|
81
84
|
| `gui` | `icon_path` | Path to the installed package resource | Path to the systray icon (supports dynamic prefixes) |
|