bioptimus-sdk 1.0.2__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.
- bioptimus_sdk-1.0.2/LICENSE.md +11 -0
- bioptimus_sdk-1.0.2/PKG-INFO +68 -0
- bioptimus_sdk-1.0.2/README.md +14 -0
- bioptimus_sdk-1.0.2/bioptimus/LICENSE.md +11 -0
- bioptimus_sdk-1.0.2/bioptimus/README.md +14 -0
- bioptimus_sdk-1.0.2/bioptimus/__init__.py +0 -0
- bioptimus_sdk-1.0.2/bioptimus/data/cohort.py +1236 -0
- bioptimus_sdk-1.0.2/bioptimus/data/multi_model/multi_model_dataset.py +219 -0
- bioptimus_sdk-1.0.2/bioptimus/data/omics/bulkrna.py +172 -0
- bioptimus_sdk-1.0.2/bioptimus/data/tile_spec.py +108 -0
- bioptimus_sdk-1.0.2/bioptimus/data/wsi/__init__.py +17 -0
- bioptimus_sdk-1.0.2/bioptimus/data/wsi/torch_dataset.py +297 -0
- bioptimus_sdk-1.0.2/bioptimus/data/wsi/wsi_dataset.py +355 -0
- bioptimus_sdk-1.0.2/bioptimus/extraction/__init__.py +0 -0
- bioptimus_sdk-1.0.2/bioptimus/extraction/wsi/__init__.py +34 -0
- bioptimus_sdk-1.0.2/bioptimus/extraction/wsi/_wsi_extractor.py +84 -0
- bioptimus_sdk-1.0.2/bioptimus/extraction/wsi/megatile_extraction.py +650 -0
- bioptimus_sdk-1.0.2/bioptimus/extraction/wsi/tile_extraction.py +744 -0
- bioptimus_sdk-1.0.2/bioptimus/extraction/wsi/types.py +210 -0
- bioptimus_sdk-1.0.2/bioptimus/inference/__init__.py +32 -0
- bioptimus_sdk-1.0.2/bioptimus/inference/inference.py +1202 -0
- bioptimus_sdk-1.0.2/bioptimus/inference/schemas.py +107 -0
- bioptimus_sdk-1.0.2/bioptimus/inference/writers.py +481 -0
- bioptimus_sdk-1.0.2/bioptimus/io/__init__.py +0 -0
- bioptimus_sdk-1.0.2/bioptimus/io/omics/__init__.py +1 -0
- bioptimus_sdk-1.0.2/bioptimus/io/omics/_backends/__init__.py +0 -0
- bioptimus_sdk-1.0.2/bioptimus/io/omics/_backends/bulk.py +121 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/__init__.py +43 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/_backends/__init__.py +0 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/_backends/cucim.py +285 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/_backends/openslide.py +282 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/_backends/tifffile.py +85 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/_gc_guard.py +56 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/factory.py +193 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/interface.py +787 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/metadata.py +98 -0
- bioptimus_sdk-1.0.2/bioptimus/io/wsi/types.py +463 -0
- bioptimus_sdk-1.0.2/bioptimus/models/__init__.py +25 -0
- bioptimus_sdk-1.0.2/bioptimus/models/backbones/__init__.py +200 -0
- bioptimus_sdk-1.0.2/bioptimus/models/clients/__init__.py +49 -0
- bioptimus_sdk-1.0.2/bioptimus/models/clients/aws.py +180 -0
- bioptimus_sdk-1.0.2/bioptimus/models/clients/http.py +171 -0
- bioptimus_sdk-1.0.2/bioptimus/models/config_loader.py +223 -0
- bioptimus_sdk-1.0.2/bioptimus/models/configs/h1.yaml +32 -0
- bioptimus_sdk-1.0.2/bioptimus/models/configs/m-optimus.yaml +35 -0
- bioptimus_sdk-1.0.2/bioptimus/models/configs/tissue-seg.yaml +23 -0
- bioptimus_sdk-1.0.2/bioptimus/models/endpoint_model.py +158 -0
- bioptimus_sdk-1.0.2/bioptimus/models/types.py +151 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/omics/__init__.py +23 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/omics/base.py +80 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/omics/factory.py +78 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/omics/transforms.py +151 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/wsi/__init__.py +20 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/wsi/models/base.py +61 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/wsi/models/bioptimus_mask.py +79 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/wsi/provider/base.py +52 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/wsi/provider/precomputed.py +200 -0
- bioptimus_sdk-1.0.2/bioptimus/preprocess/wsi/provider/tiled.py +308 -0
- bioptimus_sdk-1.0.2/pyproject.toml +89 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Bioptimus. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software is provided under a proprietary license. Use of this software
|
|
6
|
+
is subject to a separate written license agreement with Bioptimus. No rights
|
|
7
|
+
are granted except as expressly set out in that agreement.
|
|
8
|
+
|
|
9
|
+
Any attempt to reverse engineer, decompile, or disassemble the models,
|
|
10
|
+
binaries, or associated artifacts distributed with this software — whether in
|
|
11
|
+
memory or on disk — is strictly prohibited.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: bioptimus-sdk
|
|
3
|
+
Version: 1.0.2
|
|
4
|
+
Summary: Client-side SDK for Bioptimus foundation model inference.
|
|
5
|
+
Project-URL: Homepage, https://www.bioptimus.com
|
|
6
|
+
Project-URL: Documentation, https://www.bioptimus.com
|
|
7
|
+
Author-email: Bioptimus <support@bioptimus.com>
|
|
8
|
+
Maintainer-email: Bioptimus <support@bioptimus.com>
|
|
9
|
+
License: # License
|
|
10
|
+
|
|
11
|
+
Copyright (c) Bioptimus. All rights reserved.
|
|
12
|
+
|
|
13
|
+
This software is provided under a proprietary license. Use of this software
|
|
14
|
+
is subject to a separate written license agreement with Bioptimus. No rights
|
|
15
|
+
are granted except as expressly set out in that agreement.
|
|
16
|
+
|
|
17
|
+
Any attempt to reverse engineer, decompile, or disassemble the models,
|
|
18
|
+
binaries, or associated artifacts distributed with this software — whether in
|
|
19
|
+
memory or on disk — is strictly prohibited.
|
|
20
|
+
License-File: LICENSE.md
|
|
21
|
+
Keywords: bioptimus,foundation-models,histology,inference,pathology,sdk,whole-slide-image
|
|
22
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
23
|
+
Classifier: Intended Audience :: Healthcare Industry
|
|
24
|
+
Classifier: Intended Audience :: Science/Research
|
|
25
|
+
Classifier: License :: Other/Proprietary License
|
|
26
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
27
|
+
Classifier: Programming Language :: Python :: 3
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
30
|
+
Classifier: Topic :: Scientific/Engineering :: Image Processing
|
|
31
|
+
Classifier: Typing :: Typed
|
|
32
|
+
Requires-Python: >=3.12
|
|
33
|
+
Requires-Dist: aiohttp>=3.9.0
|
|
34
|
+
Requires-Dist: boto3>=1.35.0
|
|
35
|
+
Requires-Dist: h5py>=3.10.0
|
|
36
|
+
Requires-Dist: numcodecs<0.16.0,>=0.12.0
|
|
37
|
+
Requires-Dist: numpy>=2.0.2
|
|
38
|
+
Requires-Dist: opencv-python>=4.11.0
|
|
39
|
+
Requires-Dist: openslide-bin>=4.0.0.8
|
|
40
|
+
Requires-Dist: openslide-python>=1.4.2
|
|
41
|
+
Requires-Dist: pandas>=2.3.1
|
|
42
|
+
Requires-Dist: pillow>=11.3.0
|
|
43
|
+
Requires-Dist: pydantic>=2.13.1
|
|
44
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
45
|
+
Requires-Dist: requests>=2.32.5
|
|
46
|
+
Requires-Dist: tiffslide>=2.5.1
|
|
47
|
+
Requires-Dist: tqdm>=4.67.1
|
|
48
|
+
Requires-Dist: zarr<3.0.0,>=2.18.2
|
|
49
|
+
Provides-Extra: cucim
|
|
50
|
+
Requires-Dist: cucim-cu12>=25.6.0; extra == 'cucim'
|
|
51
|
+
Provides-Extra: torch
|
|
52
|
+
Requires-Dist: torch>=2.9.0; extra == 'torch'
|
|
53
|
+
Description-Content-Type: text/markdown
|
|
54
|
+
|
|
55
|
+
# Bioptimus SDK
|
|
56
|
+
|
|
57
|
+
The Bioptimus SDK is the official client library for accessing Bioptimus
|
|
58
|
+
foundation models. This is an early release.
|
|
59
|
+
|
|
60
|
+
The SDK acts primarily as a client to the Bioptimus inference web service and
|
|
61
|
+
provides convenience functionality for whole-slide image inference workflows
|
|
62
|
+
built around it.
|
|
63
|
+
|
|
64
|
+
Usage examples and detailed documentation are distributed through separate
|
|
65
|
+
official channels.
|
|
66
|
+
|
|
67
|
+
Please refer to [LICENSE.md](LICENSE.md) for the terms governing use of this
|
|
68
|
+
software.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Bioptimus SDK
|
|
2
|
+
|
|
3
|
+
The Bioptimus SDK is the official client library for accessing Bioptimus
|
|
4
|
+
foundation models. This is an early release.
|
|
5
|
+
|
|
6
|
+
The SDK acts primarily as a client to the Bioptimus inference web service and
|
|
7
|
+
provides convenience functionality for whole-slide image inference workflows
|
|
8
|
+
built around it.
|
|
9
|
+
|
|
10
|
+
Usage examples and detailed documentation are distributed through separate
|
|
11
|
+
official channels.
|
|
12
|
+
|
|
13
|
+
Please refer to [LICENSE.md](LICENSE.md) for the terms governing use of this
|
|
14
|
+
software.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Bioptimus. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software is provided under a proprietary license. Use of this software
|
|
6
|
+
is subject to a separate written license agreement with Bioptimus. No rights
|
|
7
|
+
are granted except as expressly set out in that agreement.
|
|
8
|
+
|
|
9
|
+
Any attempt to reverse engineer, decompile, or disassemble the models,
|
|
10
|
+
binaries, or associated artifacts distributed with this software — whether in
|
|
11
|
+
memory or on disk — is strictly prohibited.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Bioptimus SDK
|
|
2
|
+
|
|
3
|
+
The Bioptimus SDK is the official client library for accessing Bioptimus
|
|
4
|
+
foundation models. This is an early release.
|
|
5
|
+
|
|
6
|
+
The SDK acts primarily as a client to the Bioptimus inference web service and
|
|
7
|
+
provides convenience functionality for whole-slide image inference workflows
|
|
8
|
+
built around it.
|
|
9
|
+
|
|
10
|
+
Usage examples and detailed documentation are distributed through separate
|
|
11
|
+
official channels.
|
|
12
|
+
|
|
13
|
+
Please refer to [LICENSE.md](LICENSE.md) for the terms governing use of this
|
|
14
|
+
software.
|
|
File without changes
|