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.
Files changed (109) hide show
  1. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/LICENSE +1 -1
  2. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/PKG-INFO +8 -5
  3. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/README.md +7 -4
  4. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/THIRD_PARTY_LICENSES.txt +13736 -12534
  5. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/pyproject.toml +1 -1
  6. compox-2.1.1.dev1/src/compox/algorithm_debug.py +116 -0
  7. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/AlgorithmDeployer.py +15 -10
  8. compox-2.1.1.dev1/src/compox/algorithm_utils/LocalDebugSession.py +307 -0
  9. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/io_schemas.py +6 -2
  10. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/cli.py +2 -0
  11. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/config/server_settings.py +6 -6
  12. compox-2.1.1.dev1/src/compox/database_connection/database_utils.py +260 -0
  13. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/root.py +2 -2
  14. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/dummy/README.md +1 -1
  15. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_algorithm_deployer.py +1 -1
  16. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_server.yaml +7 -7
  17. compox-2.0.0.dev3/src/compox/database_connection/database_utils.py +0 -179
  18. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/NOTICE +0 -0
  19. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/__init__.py +0 -0
  20. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/AlgorithmConfigSchema.py +0 -0
  21. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/AlgorithmManager.py +0 -0
  22. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/BaseRunner.py +0 -0
  23. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Image2AlignmentRunner.py +0 -0
  24. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Image2EmbeddingRunner.py +0 -0
  25. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Image2ImageRunner.py +0 -0
  26. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Image2SegmentationRunner.py +0 -0
  27. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/Segmentation2SegmentationRunner.py +0 -0
  28. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/__init__.py +0 -0
  29. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/deployment_utils.py +0 -0
  30. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/algorithm_utils/runner_context.py +0 -0
  31. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/api_builder.py +0 -0
  32. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/celery_builder.py +0 -0
  33. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/db_connection_builder.py +0 -0
  34. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/minio_wrapper.py +0 -0
  35. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/components/server_builder.py +0 -0
  36. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/BaseConnection.py +0 -0
  37. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/InMemoryConnection.py +0 -0
  38. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/S3Connection.py +0 -0
  39. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/TempfileConnection.py +0 -0
  40. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/database_connection/__init__.py +0 -0
  41. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/deploy_algorithms.py +0 -0
  42. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/CUDAMemoryManager.py +0 -0
  43. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/JobPOpen.py +0 -0
  44. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/ServerSystrayInterface.py +0 -0
  45. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/__init__.py +0 -0
  46. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/downloader.py +0 -0
  47. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/internal/logging.py +0 -0
  48. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/pydantic_models.py +0 -0
  49. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/resources/compoxbackend.ico +0 -0
  50. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/__init__.py +0 -0
  51. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/algorithms_controller.py +0 -0
  52. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/execution_controller.py +0 -0
  53. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/execution_manager.py +0 -0
  54. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/file_controller.py +0 -0
  55. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/routers/file_controller_v1.py +0 -0
  56. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/run_server.py +0 -0
  57. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/run_worker.py +0 -0
  58. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/server_utils.py +0 -0
  59. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/session/DataCache.py +0 -0
  60. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/session/TaskSession.py +0 -0
  61. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/session/__init__.py +0 -0
  62. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/DebuggingTaskHandler.py +0 -0
  63. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/TaskHandler.py +0 -0
  64. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/__init__.py +0 -0
  65. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/celery_task.py +0 -0
  66. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/context_task_handler.py +0 -0
  67. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/tasks/fastapi_background_task.py +0 -0
  68. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/src/compox/version.py +0 -0
  69. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/.gitignore +0 -0
  70. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/__init__.py +0 -0
  71. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/Runner.py +0 -0
  72. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/__init__.py +0 -0
  73. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/dependencies/some_more_files/__init__.py +0 -0
  74. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/dependencies/some_more_files/layer.py +0 -0
  75. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/dependencies/some_more_files/layer2.py +0 -0
  76. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/dependencies/utils.py +0 -0
  77. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/main.py +0 -0
  78. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/bar/pyproject.toml +0 -0
  79. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/dummy/Runner.py +0 -0
  80. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/dummy/__init__.py +0 -0
  81. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/dummy/pyproject.toml +0 -0
  82. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/Runner.py +0 -0
  83. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/__init__.py +0 -0
  84. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/__init__.py +0 -0
  85. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/some_more_files/__init__.py +0 -0
  86. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/some_more_files/layer.py +0 -0
  87. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/some_more_files/layer2.py +0 -0
  88. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/dependencies/utils.py +0 -0
  89. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/main.py +0 -0
  90. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/algorithms/foo/pyproject.toml +0 -0
  91. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/conftest.py +0 -0
  92. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/pytest.ini +0 -0
  93. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_base_runner.py +0 -0
  94. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_child_runners.py +0 -0
  95. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_datacache.py +0 -0
  96. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_delete_file.py +0 -0
  97. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_execute_algorithm.py +0 -0
  98. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_file_controller_v1.py +0 -0
  99. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_get_algorithm.py +0 -0
  100. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_get_all_algorithms.py +0 -0
  101. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_get_execution_record.py +0 -0
  102. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_get_file.py +0 -0
  103. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_post_file.py +0 -0
  104. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_runner_attribute_behavior.py +0 -0
  105. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_server_utils.py +0 -0
  106. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_stress.py +0 -0
  107. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_task_handler.py +0 -0
  108. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_task_session.py +0 -0
  109. {compox-2.0.0.dev3 → compox-2.1.1.dev1}/tests/test_utils.py +0 -0
@@ -34,7 +34,7 @@ Software: Compox
34
34
 
35
35
  License: Apache 2.0
36
36
 
37
- Licensor: TESCAN 3DIM, s.r.o.
37
+ Licensor: TESCAN GROUP, a.s.
38
38
 
39
39
  ---- End of Commons Clause ----
40
40
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: compox
3
- Version: 2.0.0.dev3
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 for information about target structure of the deployable algorithms.
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` | `"TESCAN 3D Backend"` | Product display 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 3DIM, s.r.o."` | Full name of the organization. |
113
- | `info` | `organization_domain` | `"tescan3dim.com"` | Domain used in server configuration. |
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 for information about target structure of the deployable algorithms.
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` | `"TESCAN 3D Backend"` | Product display 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 3DIM, s.r.o."` | Full name of the organization. |
78
- | `info` | `organization_domain` | `"tescan3dim.com"` | Domain used in server configuration. |
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) |