biocentral-api 1.2.0__tar.gz → 2.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.
- biocentral_api-2.0.0/LICENSE +9 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/PKG-INFO +12 -12
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/README.md +5 -5
- biocentral_api-2.0.0/biocentral_api/__init__.py +45 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/__init__.py +62 -20
- biocentral_api-2.0.0/biocentral_api/_generated/api/active_learning_api.py +884 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api/biocentral_service_api.py +1 -2
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api/custom_models_api.py +1 -2
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api/default_api.py +1 -2
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api/embeddings_api.py +1 -2
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api/ppi_api.py +1 -2
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api/prediction_api.py +1 -2
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api/projections_api.py +1 -2
- biocentral_api-1.2.0/biocentral_api/_generated/api/active_learning_api.py → biocentral_api-2.0.0/biocentral_api/_generated/api/proteins_api.py +71 -74
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api_client.py +41 -26
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/configuration.py +63 -26
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/exceptions.py +7 -5
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/__init__.py +31 -10
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/active_learning_convergence_config.py +12 -11
- biocentral_api-2.0.0/biocentral_api/_generated/models/active_learning_engineering_campaign_config.py +105 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/active_learning_engineering_iteration_config.py +105 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/active_learning_engineering_iteration_request.py +98 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/active_learning_iteration_result.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/active_learning_result.py +4 -3
- biocentral_api-1.2.0/biocentral_api/_generated/models/active_learning_campaign_config.py → biocentral_api-2.0.0/biocentral_api/_generated/models/active_learning_screening_campaign_config.py +16 -15
- biocentral_api-1.2.0/biocentral_api/_generated/models/active_learning_iteration_config.py → biocentral_api-2.0.0/biocentral_api/_generated/models/active_learning_screening_iteration_config.py +10 -9
- biocentral_api-1.2.0/biocentral_api/_generated/models/active_learning_iteration_request.py → biocentral_api-2.0.0/biocentral_api/_generated/models/active_learning_screening_iteration_request.py +14 -13
- biocentral_api-1.2.0/biocentral_api/_generated/models/active_learning_simulation_config.py → biocentral_api-2.0.0/biocentral_api/_generated/models/active_learning_screening_simulation_config.py +12 -11
- biocentral_api-1.2.0/biocentral_api/_generated/models/active_learning_simulation_request.py → biocentral_api-2.0.0/biocentral_api/_generated/models/active_learning_screening_simulation_request.py +14 -13
- biocentral_api-1.2.0/biocentral_api/_generated/models/active_learning_simulation_result.py → biocentral_api-2.0.0/biocentral_api/_generated/models/active_learning_screening_simulation_result.py +35 -17
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/add_embeddings_request.py +7 -6
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/add_embeddings_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/auto_detect_format_request.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/biocentral_server_custom_models_endpoint_models_error_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/biocentral_server_server_management_shared_endpoint_models_error_models_error_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/biocentral_service_stats.py +7 -4
- biocentral_api-2.0.0/biocentral_api/_generated/models/biotrainer_inference_result.py +103 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/biotrainer_model_result.py +139 -0
- biocentral_api-1.2.0/biocentral_api/_generated/models/biotrainer_sequence_record.py → biocentral_api-2.0.0/biocentral_api/_generated/models/biotrainer_model_update.py +21 -28
- biocentral_api-2.0.0/biocentral_api/_generated/models/biotrainer_prediction.py +172 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/bootstrapped_metric.py +100 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/clustering_request.py +91 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/common_embedder.py +2 -1
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/config_options_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/config_verification_request.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/config_verification_response.py +4 -3
- biocentral_api-2.0.0/biocentral_api/_generated/models/derived_values.py +188 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/detected_format_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/embed_request.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/embedding_progress.py +4 -3
- biocentral_api-2.0.0/biocentral_api/_generated/models/embedding_stats.py +96 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/epoch_metrics.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/get_missing_embeddings_request.py +7 -6
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/get_missing_embeddings_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/get_projection_config_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/http_validation_error.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/import_dataset_request.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/import_dataset_response.py +4 -3
- biocentral_api-1.2.0/biocentral_api/_generated/models/validation_error_loc_inner.py → biocentral_api-2.0.0/biocentral_api/_generated/models/location_inner.py +6 -6
- biocentral_api-2.0.0/biocentral_api/_generated/models/mcd_lower_bound.py +144 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/mcd_mean.py +144 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/mcd_std.py +144 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/mcd_upper_bound.py +144 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/model_files_request.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/model_metadata.py +5 -4
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/model_metadata_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/model_output.py +7 -6
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/not_found_error_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/output_class.py +4 -3
- biocentral_api-1.2.0/biocentral_api/_generated/models/test_result.py → biocentral_api-2.0.0/biocentral_api/_generated/models/ppi_test_result.py +8 -7
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/prediction.py +6 -5
- biocentral_api-2.0.0/biocentral_api/_generated/models/prediction1.py +155 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/prediction_request.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/projection_request.py +8 -7
- biocentral_api-2.0.0/biocentral_api/_generated/models/projection_result.py +104 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/projections_data.py +96 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/projections_metadata.py +92 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/protein_annotations.py +88 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/raw_prediction.py +161 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/research_stats.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/research_stats_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/run_test_request.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/run_test_response.py +7 -6
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/service_stats_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/start_inference_request.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/start_task_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/start_training_request.py +7 -6
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/task_dto.py +50 -25
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/task_status_response.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/taxonomy_item.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/taxonomy_request.py +4 -3
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/taxonomy_response.py +4 -3
- biocentral_api-2.0.0/biocentral_api/_generated/models/test_result.py +140 -0
- biocentral_api-2.0.0/biocentral_api/_generated/models/training_result.py +171 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/validation_error.py +7 -6
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/rest.py +61 -6
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/api.py +329 -92
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/clients/__init__.py +9 -2
- biocentral_api-2.0.0/biocentral_api/clients/active_learning_client.py +189 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/clients/client_interface.py +23 -5
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/clients/custom_models_client.py +45 -21
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/clients/embeddings_client.py +155 -40
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/clients/predict_client.py +35 -15
- biocentral_api-2.0.0/biocentral_api/clients/proteins_client.py +96 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/clients/tasks/__init__.py +1 -1
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/clients/tasks/biocentral_server_task.py +22 -12
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/clients/tasks/dto_handler.py +1 -1
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/utils/batching.py +2 -1
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/utils/hashing.py +1 -1
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api.egg-info/PKG-INFO +12 -12
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api.egg-info/SOURCES.txt +31 -12
- biocentral_api-2.0.0/biocentral_api.egg-info/requires.txt +6 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/pyproject.toml +17 -14
- biocentral_api-1.2.0/LICENSE +0 -674
- biocentral_api-1.2.0/biocentral_api/__init__.py +0 -20
- biocentral_api-1.2.0/biocentral_api/_generated/api/proteins_api.py +0 -319
- biocentral_api-1.2.0/biocentral_api/_generated/models/output_data.py +0 -128
- biocentral_api-1.2.0/biocentral_api/_generated/models/sequence_training_data.py +0 -106
- biocentral_api-1.2.0/biocentral_api/clients/active_learning_client.py +0 -129
- biocentral_api-1.2.0/biocentral_api/clients/proteins_client.py +0 -17
- biocentral_api-1.2.0/biocentral_api.egg-info/requires.txt +0 -7
- biocentral_api-1.2.0/tests/test_biocentral_api_integration.py +0 -314
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api/__init__.py +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/api_response.py +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/active_learning_model_type.py +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/active_learning_optimization_mode.py +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/biocentral_prediction_model.py +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/output_type.py +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/protocol.py +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/models/task_status.py +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/_generated/py.typed +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api/utils/__init__.py +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api.egg-info/dependency_links.txt +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/biocentral_api.egg-info/top_level.txt +0 -0
- {biocentral_api-1.2.0 → biocentral_api-2.0.0}/setup.cfg +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright © 2026 biocentral (Sebastian Franz)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: biocentral_api
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Programmatic access to the biocentral ecosystem.
|
|
5
5
|
Author-email: Sebastian Franz <sebastian.franz@tum.de>
|
|
6
|
+
License: MIT
|
|
6
7
|
Project-URL: Repository, https://github.com/biocentral/biocentral_api/
|
|
7
8
|
Keywords: OpenAPI,OpenAPI-Generator,Biocentral Server,Biocentral
|
|
8
|
-
Requires-Python:
|
|
9
|
+
Requires-Python: <3.14,>=3.12
|
|
9
10
|
Description-Content-Type: text/markdown
|
|
10
11
|
License-File: LICENSE
|
|
11
12
|
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
12
|
-
Requires-Dist: python-dateutil
|
|
13
|
-
Requires-Dist: pydantic
|
|
14
|
-
Requires-Dist: typing-extensions
|
|
15
|
-
Requires-Dist:
|
|
16
|
-
Requires-Dist:
|
|
17
|
-
Requires-Dist: biopython>=1.85
|
|
13
|
+
Requires-Dist: python-dateutil<3.0.0,>=2.8.2
|
|
14
|
+
Requires-Dist: pydantic<3.0.0,>=2.0.0
|
|
15
|
+
Requires-Dist: typing-extensions<5.0.0,>=4.7.1
|
|
16
|
+
Requires-Dist: tqdm<5.0.0,>=4.68.0
|
|
17
|
+
Requires-Dist: biotrainer-core<3.0.0,>=2.0.0
|
|
18
18
|
Dynamic: license-file
|
|
19
19
|
|
|
20
20
|
# biocentral_api - Python Client
|
|
@@ -51,17 +51,17 @@ For more examples, please refer to the [examples](examples) folder.
|
|
|
51
51
|
|
|
52
52
|
The following limitations are currently in place:
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
- **Sequence Limit**: The embed() API has a limit of 1,000 sequences per request.
|
|
55
55
|
See the [amylase example](examples/amylase_example/amylase_example.py) for how to deal with datasets
|
|
56
56
|
that exceed this limit.
|
|
57
|
-
|
|
57
|
+
- **Rate Limiting**: Most endpoints have a quite strict rate limiting to distribute the available resources as fair
|
|
58
58
|
as possible. All affected endpoints have a built-in retry mechanism to handle the rate limiting.
|
|
59
|
-
|
|
59
|
+
- **431 Forbidden**: Sometimes, the DDoS Protection of the API will send a mistaken 431 forbidden response. If you
|
|
60
60
|
encounter this, please just try to re-run your script.
|
|
61
61
|
|
|
62
62
|
## Citation
|
|
63
63
|
|
|
64
|
-
Please cite [our paper](https://doi.org/10.1016/j.jmb.2026.169673) if you are using the
|
|
64
|
+
Please cite [our paper](https://doi.org/10.1016/j.jmb.2026.169673) if you are using the _biocentral API_ in your work:
|
|
65
65
|
|
|
66
66
|
```text
|
|
67
67
|
@Article{Franz2026,
|
|
@@ -32,17 +32,17 @@ For more examples, please refer to the [examples](examples) folder.
|
|
|
32
32
|
|
|
33
33
|
The following limitations are currently in place:
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
- **Sequence Limit**: The embed() API has a limit of 1,000 sequences per request.
|
|
36
36
|
See the [amylase example](examples/amylase_example/amylase_example.py) for how to deal with datasets
|
|
37
37
|
that exceed this limit.
|
|
38
|
-
|
|
38
|
+
- **Rate Limiting**: Most endpoints have a quite strict rate limiting to distribute the available resources as fair
|
|
39
39
|
as possible. All affected endpoints have a built-in retry mechanism to handle the rate limiting.
|
|
40
|
-
|
|
40
|
+
- **431 Forbidden**: Sometimes, the DDoS Protection of the API will send a mistaken 431 forbidden response. If you
|
|
41
41
|
encounter this, please just try to re-run your script.
|
|
42
42
|
|
|
43
43
|
## Citation
|
|
44
44
|
|
|
45
|
-
Please cite [our paper](https://doi.org/10.1016/j.jmb.2026.169673) if you are using the
|
|
45
|
+
Please cite [our paper](https://doi.org/10.1016/j.jmb.2026.169673) if you are using the _biocentral API_ in your work:
|
|
46
46
|
|
|
47
47
|
```text
|
|
48
48
|
@Article{Franz2026,
|
|
@@ -57,4 +57,4 @@ Please cite [our paper](https://doi.org/10.1016/j.jmb.2026.169673) if you are us
|
|
|
57
57
|
groups = {[JMB] biocentral: embedding-based protein predictions, swc_bo_engineering},
|
|
58
58
|
publisher = {Elsevier BV},
|
|
59
59
|
}
|
|
60
|
-
```
|
|
60
|
+
```
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
from .api import BiocentralAPI
|
|
2
|
+
from ._generated import (
|
|
3
|
+
ActiveLearningEngineeringCampaignConfig,
|
|
4
|
+
ActiveLearningEngineeringIterationConfig,
|
|
5
|
+
SequenceData,
|
|
6
|
+
ActiveLearningOptimizationMode,
|
|
7
|
+
ActiveLearningModelType,
|
|
8
|
+
ActiveLearningScreeningSimulationConfig,
|
|
9
|
+
ActiveLearningScreeningCampaignConfig,
|
|
10
|
+
ActiveLearningScreeningIterationConfig,
|
|
11
|
+
ActiveLearningIterationResult,
|
|
12
|
+
ActiveLearningScreeningSimulationResult,
|
|
13
|
+
ActiveLearningConvergenceConfig,
|
|
14
|
+
BiocentralPredictionModel,
|
|
15
|
+
BiotrainerModelResult,
|
|
16
|
+
BiotrainerInferenceResult,
|
|
17
|
+
CommonEmbedder,
|
|
18
|
+
Protocol,
|
|
19
|
+
Prediction,
|
|
20
|
+
ProjectionResult,
|
|
21
|
+
)
|
|
22
|
+
from .utils import batched
|
|
23
|
+
|
|
24
|
+
__all__ = [
|
|
25
|
+
"BiocentralAPI",
|
|
26
|
+
"BiocentralPredictionModel",
|
|
27
|
+
"BiotrainerModelResult",
|
|
28
|
+
"BiotrainerInferenceResult",
|
|
29
|
+
"CommonEmbedder",
|
|
30
|
+
"SequenceData",
|
|
31
|
+
"ActiveLearningScreeningSimulationConfig",
|
|
32
|
+
"ActiveLearningScreeningCampaignConfig",
|
|
33
|
+
"ActiveLearningScreeningIterationConfig",
|
|
34
|
+
"ActiveLearningEngineeringCampaignConfig",
|
|
35
|
+
"ActiveLearningEngineeringIterationConfig",
|
|
36
|
+
"ActiveLearningOptimizationMode",
|
|
37
|
+
"ActiveLearningModelType",
|
|
38
|
+
"ActiveLearningIterationResult",
|
|
39
|
+
"ActiveLearningScreeningSimulationResult",
|
|
40
|
+
"ActiveLearningConvergenceConfig",
|
|
41
|
+
"Protocol",
|
|
42
|
+
"Prediction",
|
|
43
|
+
"ProjectionResult",
|
|
44
|
+
"batched",
|
|
45
|
+
]
|
|
@@ -36,17 +36,20 @@ __all__ = [
|
|
|
36
36
|
"ApiKeyError",
|
|
37
37
|
"ApiAttributeError",
|
|
38
38
|
"ApiException",
|
|
39
|
-
"ActiveLearningCampaignConfig",
|
|
40
39
|
"ActiveLearningConvergenceConfig",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
40
|
+
"ActiveLearningEngineeringCampaignConfig",
|
|
41
|
+
"ActiveLearningEngineeringIterationConfig",
|
|
42
|
+
"ActiveLearningEngineeringIterationRequest",
|
|
43
43
|
"ActiveLearningIterationResult",
|
|
44
44
|
"ActiveLearningModelType",
|
|
45
45
|
"ActiveLearningOptimizationMode",
|
|
46
46
|
"ActiveLearningResult",
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
47
|
+
"ActiveLearningScreeningCampaignConfig",
|
|
48
|
+
"ActiveLearningScreeningIterationConfig",
|
|
49
|
+
"ActiveLearningScreeningIterationRequest",
|
|
50
|
+
"ActiveLearningScreeningSimulationConfig",
|
|
51
|
+
"ActiveLearningScreeningSimulationRequest",
|
|
52
|
+
"ActiveLearningScreeningSimulationResult",
|
|
50
53
|
"AddEmbeddingsRequest",
|
|
51
54
|
"AddEmbeddingsResponse",
|
|
52
55
|
"AutoDetectFormatRequest",
|
|
@@ -54,14 +57,21 @@ __all__ = [
|
|
|
54
57
|
"BiocentralServerCustomModelsEndpointModelsErrorResponse",
|
|
55
58
|
"BiocentralServerServerManagementSharedEndpointModelsErrorModelsErrorResponse",
|
|
56
59
|
"BiocentralServiceStats",
|
|
57
|
-
"
|
|
60
|
+
"BiotrainerInferenceResult",
|
|
61
|
+
"BiotrainerModelResult",
|
|
62
|
+
"BiotrainerModelUpdate",
|
|
63
|
+
"BiotrainerPrediction",
|
|
64
|
+
"BootstrappedMetric",
|
|
65
|
+
"ClusteringRequest",
|
|
58
66
|
"CommonEmbedder",
|
|
59
67
|
"ConfigOptionsResponse",
|
|
60
68
|
"ConfigVerificationRequest",
|
|
61
69
|
"ConfigVerificationResponse",
|
|
70
|
+
"DerivedValues",
|
|
62
71
|
"DetectedFormatResponse",
|
|
63
72
|
"EmbedRequest",
|
|
64
73
|
"EmbeddingProgress",
|
|
74
|
+
"EmbeddingStats",
|
|
65
75
|
"EpochMetrics",
|
|
66
76
|
"GetMissingEmbeddingsRequest",
|
|
67
77
|
"GetMissingEmbeddingsResponse",
|
|
@@ -69,23 +79,34 @@ __all__ = [
|
|
|
69
79
|
"HTTPValidationError",
|
|
70
80
|
"ImportDatasetRequest",
|
|
71
81
|
"ImportDatasetResponse",
|
|
82
|
+
"LocationInner",
|
|
83
|
+
"McdLowerBound",
|
|
84
|
+
"McdMean",
|
|
85
|
+
"McdStd",
|
|
86
|
+
"McdUpperBound",
|
|
72
87
|
"ModelFilesRequest",
|
|
73
88
|
"ModelMetadata",
|
|
74
89
|
"ModelMetadataResponse",
|
|
75
90
|
"ModelOutput",
|
|
76
91
|
"NotFoundErrorResponse",
|
|
77
92
|
"OutputClass",
|
|
78
|
-
"OutputData",
|
|
79
93
|
"OutputType",
|
|
94
|
+
"PPITestResult",
|
|
80
95
|
"Prediction",
|
|
96
|
+
"Prediction1",
|
|
81
97
|
"PredictionRequest",
|
|
82
98
|
"ProjectionRequest",
|
|
99
|
+
"ProjectionResult",
|
|
100
|
+
"ProjectionsData",
|
|
101
|
+
"ProjectionsMetadata",
|
|
102
|
+
"ProteinAnnotations",
|
|
83
103
|
"Protocol",
|
|
104
|
+
"RawPrediction",
|
|
84
105
|
"ResearchStats",
|
|
85
106
|
"ResearchStatsResponse",
|
|
86
107
|
"RunTestRequest",
|
|
87
108
|
"RunTestResponse",
|
|
88
|
-
"
|
|
109
|
+
"SequenceData",
|
|
89
110
|
"ServiceStatsResponse",
|
|
90
111
|
"StartInferenceRequest",
|
|
91
112
|
"StartTaskResponse",
|
|
@@ -97,8 +118,8 @@ __all__ = [
|
|
|
97
118
|
"TaxonomyRequest",
|
|
98
119
|
"TaxonomyResponse",
|
|
99
120
|
"TestResult",
|
|
121
|
+
"TrainingResult",
|
|
100
122
|
"ValidationError",
|
|
101
|
-
"ValidationErrorLocInner",
|
|
102
123
|
]
|
|
103
124
|
|
|
104
125
|
# import apis into sdk package
|
|
@@ -124,17 +145,20 @@ from biocentral_api._generated.exceptions import ApiAttributeError as ApiAttribu
|
|
|
124
145
|
from biocentral_api._generated.exceptions import ApiException as ApiException
|
|
125
146
|
|
|
126
147
|
# import models into sdk package
|
|
127
|
-
from biocentral_api._generated.models.active_learning_campaign_config import ActiveLearningCampaignConfig as ActiveLearningCampaignConfig
|
|
128
148
|
from biocentral_api._generated.models.active_learning_convergence_config import ActiveLearningConvergenceConfig as ActiveLearningConvergenceConfig
|
|
129
|
-
from biocentral_api._generated.models.
|
|
130
|
-
from biocentral_api._generated.models.
|
|
149
|
+
from biocentral_api._generated.models.active_learning_engineering_campaign_config import ActiveLearningEngineeringCampaignConfig as ActiveLearningEngineeringCampaignConfig
|
|
150
|
+
from biocentral_api._generated.models.active_learning_engineering_iteration_config import ActiveLearningEngineeringIterationConfig as ActiveLearningEngineeringIterationConfig
|
|
151
|
+
from biocentral_api._generated.models.active_learning_engineering_iteration_request import ActiveLearningEngineeringIterationRequest as ActiveLearningEngineeringIterationRequest
|
|
131
152
|
from biocentral_api._generated.models.active_learning_iteration_result import ActiveLearningIterationResult as ActiveLearningIterationResult
|
|
132
153
|
from biocentral_api._generated.models.active_learning_model_type import ActiveLearningModelType as ActiveLearningModelType
|
|
133
154
|
from biocentral_api._generated.models.active_learning_optimization_mode import ActiveLearningOptimizationMode as ActiveLearningOptimizationMode
|
|
134
155
|
from biocentral_api._generated.models.active_learning_result import ActiveLearningResult as ActiveLearningResult
|
|
135
|
-
from biocentral_api._generated.models.
|
|
136
|
-
from biocentral_api._generated.models.
|
|
137
|
-
from biocentral_api._generated.models.
|
|
156
|
+
from biocentral_api._generated.models.active_learning_screening_campaign_config import ActiveLearningScreeningCampaignConfig as ActiveLearningScreeningCampaignConfig
|
|
157
|
+
from biocentral_api._generated.models.active_learning_screening_iteration_config import ActiveLearningScreeningIterationConfig as ActiveLearningScreeningIterationConfig
|
|
158
|
+
from biocentral_api._generated.models.active_learning_screening_iteration_request import ActiveLearningScreeningIterationRequest as ActiveLearningScreeningIterationRequest
|
|
159
|
+
from biocentral_api._generated.models.active_learning_screening_simulation_config import ActiveLearningScreeningSimulationConfig as ActiveLearningScreeningSimulationConfig
|
|
160
|
+
from biocentral_api._generated.models.active_learning_screening_simulation_request import ActiveLearningScreeningSimulationRequest as ActiveLearningScreeningSimulationRequest
|
|
161
|
+
from biocentral_api._generated.models.active_learning_screening_simulation_result import ActiveLearningScreeningSimulationResult as ActiveLearningScreeningSimulationResult
|
|
138
162
|
from biocentral_api._generated.models.add_embeddings_request import AddEmbeddingsRequest as AddEmbeddingsRequest
|
|
139
163
|
from biocentral_api._generated.models.add_embeddings_response import AddEmbeddingsResponse as AddEmbeddingsResponse
|
|
140
164
|
from biocentral_api._generated.models.auto_detect_format_request import AutoDetectFormatRequest as AutoDetectFormatRequest
|
|
@@ -142,14 +166,21 @@ from biocentral_api._generated.models.biocentral_prediction_model import Biocent
|
|
|
142
166
|
from biocentral_api._generated.models.biocentral_server_custom_models_endpoint_models_error_response import BiocentralServerCustomModelsEndpointModelsErrorResponse as BiocentralServerCustomModelsEndpointModelsErrorResponse
|
|
143
167
|
from biocentral_api._generated.models.biocentral_server_server_management_shared_endpoint_models_error_models_error_response import BiocentralServerServerManagementSharedEndpointModelsErrorModelsErrorResponse as BiocentralServerServerManagementSharedEndpointModelsErrorModelsErrorResponse
|
|
144
168
|
from biocentral_api._generated.models.biocentral_service_stats import BiocentralServiceStats as BiocentralServiceStats
|
|
145
|
-
from biocentral_api._generated.models.
|
|
169
|
+
from biocentral_api._generated.models.biotrainer_inference_result import BiotrainerInferenceResult as BiotrainerInferenceResult
|
|
170
|
+
from biocentral_api._generated.models.biotrainer_model_result import BiotrainerModelResult as BiotrainerModelResult
|
|
171
|
+
from biocentral_api._generated.models.biotrainer_model_update import BiotrainerModelUpdate as BiotrainerModelUpdate
|
|
172
|
+
from biocentral_api._generated.models.biotrainer_prediction import BiotrainerPrediction as BiotrainerPrediction
|
|
173
|
+
from biocentral_api._generated.models.bootstrapped_metric import BootstrappedMetric as BootstrappedMetric
|
|
174
|
+
from biocentral_api._generated.models.clustering_request import ClusteringRequest as ClusteringRequest
|
|
146
175
|
from biocentral_api._generated.models.common_embedder import CommonEmbedder as CommonEmbedder
|
|
147
176
|
from biocentral_api._generated.models.config_options_response import ConfigOptionsResponse as ConfigOptionsResponse
|
|
148
177
|
from biocentral_api._generated.models.config_verification_request import ConfigVerificationRequest as ConfigVerificationRequest
|
|
149
178
|
from biocentral_api._generated.models.config_verification_response import ConfigVerificationResponse as ConfigVerificationResponse
|
|
179
|
+
from biocentral_api._generated.models.derived_values import DerivedValues as DerivedValues
|
|
150
180
|
from biocentral_api._generated.models.detected_format_response import DetectedFormatResponse as DetectedFormatResponse
|
|
151
181
|
from biocentral_api._generated.models.embed_request import EmbedRequest as EmbedRequest
|
|
152
182
|
from biocentral_api._generated.models.embedding_progress import EmbeddingProgress as EmbeddingProgress
|
|
183
|
+
from biocentral_api._generated.models.embedding_stats import EmbeddingStats as EmbeddingStats
|
|
153
184
|
from biocentral_api._generated.models.epoch_metrics import EpochMetrics as EpochMetrics
|
|
154
185
|
from biocentral_api._generated.models.get_missing_embeddings_request import GetMissingEmbeddingsRequest as GetMissingEmbeddingsRequest
|
|
155
186
|
from biocentral_api._generated.models.get_missing_embeddings_response import GetMissingEmbeddingsResponse as GetMissingEmbeddingsResponse
|
|
@@ -157,23 +188,33 @@ from biocentral_api._generated.models.get_projection_config_response import GetP
|
|
|
157
188
|
from biocentral_api._generated.models.http_validation_error import HTTPValidationError as HTTPValidationError
|
|
158
189
|
from biocentral_api._generated.models.import_dataset_request import ImportDatasetRequest as ImportDatasetRequest
|
|
159
190
|
from biocentral_api._generated.models.import_dataset_response import ImportDatasetResponse as ImportDatasetResponse
|
|
191
|
+
from biocentral_api._generated.models.location_inner import LocationInner as LocationInner
|
|
192
|
+
from biocentral_api._generated.models.mcd_lower_bound import McdLowerBound as McdLowerBound
|
|
193
|
+
from biocentral_api._generated.models.mcd_mean import McdMean as McdMean
|
|
194
|
+
from biocentral_api._generated.models.mcd_std import McdStd as McdStd
|
|
195
|
+
from biocentral_api._generated.models.mcd_upper_bound import McdUpperBound as McdUpperBound
|
|
160
196
|
from biocentral_api._generated.models.model_files_request import ModelFilesRequest as ModelFilesRequest
|
|
161
197
|
from biocentral_api._generated.models.model_metadata import ModelMetadata as ModelMetadata
|
|
162
198
|
from biocentral_api._generated.models.model_metadata_response import ModelMetadataResponse as ModelMetadataResponse
|
|
163
199
|
from biocentral_api._generated.models.model_output import ModelOutput as ModelOutput
|
|
164
200
|
from biocentral_api._generated.models.not_found_error_response import NotFoundErrorResponse as NotFoundErrorResponse
|
|
165
201
|
from biocentral_api._generated.models.output_class import OutputClass as OutputClass
|
|
166
|
-
from biocentral_api._generated.models.output_data import OutputData as OutputData
|
|
167
202
|
from biocentral_api._generated.models.output_type import OutputType as OutputType
|
|
203
|
+
from biocentral_api._generated.models.ppi_test_result import PPITestResult as PPITestResult
|
|
168
204
|
from biocentral_api._generated.models.prediction import Prediction as Prediction
|
|
205
|
+
from biocentral_api._generated.models.prediction1 import Prediction1 as Prediction1
|
|
169
206
|
from biocentral_api._generated.models.prediction_request import PredictionRequest as PredictionRequest
|
|
170
207
|
from biocentral_api._generated.models.projection_request import ProjectionRequest as ProjectionRequest
|
|
208
|
+
from biocentral_api._generated.models.projection_result import ProjectionResult as ProjectionResult
|
|
209
|
+
from biocentral_api._generated.models.projections_data import ProjectionsData as ProjectionsData
|
|
210
|
+
from biocentral_api._generated.models.projections_metadata import ProjectionsMetadata as ProjectionsMetadata
|
|
211
|
+
from biocentral_api._generated.models.protein_annotations import ProteinAnnotations as ProteinAnnotations
|
|
171
212
|
from biocentral_api._generated.models.protocol import Protocol as Protocol
|
|
213
|
+
from biocentral_api._generated.models.raw_prediction import RawPrediction as RawPrediction
|
|
172
214
|
from biocentral_api._generated.models.research_stats import ResearchStats as ResearchStats
|
|
173
215
|
from biocentral_api._generated.models.research_stats_response import ResearchStatsResponse as ResearchStatsResponse
|
|
174
216
|
from biocentral_api._generated.models.run_test_request import RunTestRequest as RunTestRequest
|
|
175
217
|
from biocentral_api._generated.models.run_test_response import RunTestResponse as RunTestResponse
|
|
176
|
-
from biocentral_api._generated.models.sequence_training_data import SequenceTrainingData as SequenceTrainingData
|
|
177
218
|
from biocentral_api._generated.models.service_stats_response import ServiceStatsResponse as ServiceStatsResponse
|
|
178
219
|
from biocentral_api._generated.models.start_inference_request import StartInferenceRequest as StartInferenceRequest
|
|
179
220
|
from biocentral_api._generated.models.start_task_response import StartTaskResponse as StartTaskResponse
|
|
@@ -185,6 +226,7 @@ from biocentral_api._generated.models.taxonomy_item import TaxonomyItem as Taxon
|
|
|
185
226
|
from biocentral_api._generated.models.taxonomy_request import TaxonomyRequest as TaxonomyRequest
|
|
186
227
|
from biocentral_api._generated.models.taxonomy_response import TaxonomyResponse as TaxonomyResponse
|
|
187
228
|
from biocentral_api._generated.models.test_result import TestResult as TestResult
|
|
229
|
+
from biocentral_api._generated.models.training_result import TrainingResult as TrainingResult
|
|
188
230
|
from biocentral_api._generated.models.validation_error import ValidationError as ValidationError
|
|
189
|
-
from
|
|
231
|
+
from biotrainer_core.data_classes import SequenceData # Intentional export of biotrainer-core model to keep compatibility
|
|
190
232
|
|