biopb 0.1.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.
Files changed (85) hide show
  1. biopb-0.1.0/LICENSE +21 -0
  2. biopb-0.1.0/PKG-INFO +41 -0
  3. biopb-0.1.0/README.md +8 -0
  4. biopb-0.1.0/gen/python/biopb/image/bindata_pb2.py +39 -0
  5. biopb-0.1.0/gen/python/biopb/image/bindata_pb2_grpc.py +24 -0
  6. biopb-0.1.0/gen/python/biopb/image/detection_request_pb2.py +40 -0
  7. biopb-0.1.0/gen/python/biopb/image/detection_request_pb2_grpc.py +24 -0
  8. biopb-0.1.0/gen/python/biopb/image/detection_response_pb2.py +40 -0
  9. biopb-0.1.0/gen/python/biopb/image/detection_response_pb2_grpc.py +24 -0
  10. biopb-0.1.0/gen/python/biopb/image/detection_settings_pb2.py +38 -0
  11. biopb-0.1.0/gen/python/biopb/image/detection_settings_pb2_grpc.py +24 -0
  12. biopb-0.1.0/gen/python/biopb/image/image_data_pb2.py +43 -0
  13. biopb-0.1.0/gen/python/biopb/image/image_data_pb2_grpc.py +24 -0
  14. biopb-0.1.0/gen/python/biopb/image/roi_pb2.py +52 -0
  15. biopb-0.1.0/gen/python/biopb/image/roi_pb2_grpc.py +24 -0
  16. biopb-0.1.0/gen/python/biopb/image/rpc_object_detection_pb2.py +40 -0
  17. biopb-0.1.0/gen/python/biopb/image/rpc_object_detection_pb2_grpc.py +248 -0
  18. biopb-0.1.0/gen/python/biopb/ome/annotation_pb2.py +38 -0
  19. biopb-0.1.0/gen/python/biopb/ome/annotation_pb2_grpc.py +24 -0
  20. biopb-0.1.0/gen/python/biopb/ome/bindata_pb2.py +39 -0
  21. biopb-0.1.0/gen/python/biopb/ome/bindata_pb2_grpc.py +24 -0
  22. biopb-0.1.0/gen/python/biopb/ome/dataset_pb2.py +37 -0
  23. biopb-0.1.0/gen/python/biopb/ome/dataset_pb2_grpc.py +24 -0
  24. biopb-0.1.0/gen/python/biopb/ome/detector_pb2.py +40 -0
  25. biopb-0.1.0/gen/python/biopb/ome/detector_pb2_grpc.py +24 -0
  26. biopb-0.1.0/gen/python/biopb/ome/detector_setting_pb2.py +37 -0
  27. biopb-0.1.0/gen/python/biopb/ome/detector_setting_pb2_grpc.py +24 -0
  28. biopb-0.1.0/gen/python/biopb/ome/experiment_pb2.py +44 -0
  29. biopb-0.1.0/gen/python/biopb/ome/experiment_pb2_grpc.py +24 -0
  30. biopb-0.1.0/gen/python/biopb/ome/experimenter_group_pb2.py +37 -0
  31. biopb-0.1.0/gen/python/biopb/ome/experimenter_group_pb2_grpc.py +24 -0
  32. biopb-0.1.0/gen/python/biopb/ome/experimenter_pb2.py +37 -0
  33. biopb-0.1.0/gen/python/biopb/ome/experimenter_pb2_grpc.py +24 -0
  34. biopb-0.1.0/gen/python/biopb/ome/filter_pb2.py +44 -0
  35. biopb-0.1.0/gen/python/biopb/ome/filter_pb2_grpc.py +24 -0
  36. biopb-0.1.0/gen/python/biopb/ome/filter_set_pb2.py +38 -0
  37. biopb-0.1.0/gen/python/biopb/ome/filter_set_pb2_grpc.py +24 -0
  38. biopb-0.1.0/gen/python/biopb/ome/folder_pb2.py +41 -0
  39. biopb-0.1.0/gen/python/biopb/ome/folder_pb2_grpc.py +24 -0
  40. biopb-0.1.0/gen/python/biopb/ome/image_pb2.py +44 -0
  41. biopb-0.1.0/gen/python/biopb/ome/image_pb2_grpc.py +24 -0
  42. biopb-0.1.0/gen/python/biopb/ome/instrument_pb2.py +67 -0
  43. biopb-0.1.0/gen/python/biopb/ome/instrument_pb2_grpc.py +24 -0
  44. biopb-0.1.0/gen/python/biopb/ome/light_source_pb2.py +58 -0
  45. biopb-0.1.0/gen/python/biopb/ome/light_source_pb2_grpc.py +24 -0
  46. biopb-0.1.0/gen/python/biopb/ome/light_source_setting_pb2.py +37 -0
  47. biopb-0.1.0/gen/python/biopb/ome/light_source_setting_pb2_grpc.py +24 -0
  48. biopb-0.1.0/gen/python/biopb/ome/lightpath_pb2.py +37 -0
  49. biopb-0.1.0/gen/python/biopb/ome/lightpath_pb2_grpc.py +24 -0
  50. biopb-0.1.0/gen/python/biopb/ome/manufacturer_spec_pb2.py +37 -0
  51. biopb-0.1.0/gen/python/biopb/ome/manufacturer_spec_pb2_grpc.py +24 -0
  52. biopb-0.1.0/gen/python/biopb/ome/metadata_pb2.py +97 -0
  53. biopb-0.1.0/gen/python/biopb/ome/metadata_pb2_grpc.py +24 -0
  54. biopb-0.1.0/gen/python/biopb/ome/metadata_ref_pb2.py +37 -0
  55. biopb-0.1.0/gen/python/biopb/ome/metadata_ref_pb2_grpc.py +24 -0
  56. biopb-0.1.0/gen/python/biopb/ome/microbeam_manipulation_pb2.py +40 -0
  57. biopb-0.1.0/gen/python/biopb/ome/microbeam_manipulation_pb2_grpc.py +24 -0
  58. biopb-0.1.0/gen/python/biopb/ome/microscope_pb2.py +40 -0
  59. biopb-0.1.0/gen/python/biopb/ome/microscope_pb2_grpc.py +24 -0
  60. biopb-0.1.0/gen/python/biopb/ome/objective_pb2.py +40 -0
  61. biopb-0.1.0/gen/python/biopb/ome/objective_pb2_grpc.py +24 -0
  62. biopb-0.1.0/gen/python/biopb/ome/objective_setting_pb2.py +37 -0
  63. biopb-0.1.0/gen/python/biopb/ome/objective_setting_pb2_grpc.py +24 -0
  64. biopb-0.1.0/gen/python/biopb/ome/ome_pb2.py +40 -0
  65. biopb-0.1.0/gen/python/biopb/ome/ome_pb2_grpc.py +24 -0
  66. biopb-0.1.0/gen/python/biopb/ome/pixel_pb2.py +47 -0
  67. biopb-0.1.0/gen/python/biopb/ome/pixel_pb2_grpc.py +24 -0
  68. biopb-0.1.0/gen/python/biopb/ome/plate_pb2.py +58 -0
  69. biopb-0.1.0/gen/python/biopb/ome/plate_pb2_grpc.py +24 -0
  70. biopb-0.1.0/gen/python/biopb/ome/project_pb2.py +37 -0
  71. biopb-0.1.0/gen/python/biopb/ome/project_pb2_grpc.py +24 -0
  72. biopb-0.1.0/gen/python/biopb/ome/reagent_pb2.py +37 -0
  73. biopb-0.1.0/gen/python/biopb/ome/reagent_pb2_grpc.py +24 -0
  74. biopb-0.1.0/gen/python/biopb/ome/rights_pb2.py +37 -0
  75. biopb-0.1.0/gen/python/biopb/ome/rights_pb2_grpc.py +24 -0
  76. biopb-0.1.0/gen/python/biopb/ome/roi_pb2.py +62 -0
  77. biopb-0.1.0/gen/python/biopb/ome/roi_pb2_grpc.py +24 -0
  78. biopb-0.1.0/gen/python/biopb/ome/screen_pb2.py +42 -0
  79. biopb-0.1.0/gen/python/biopb/ome/screen_pb2_grpc.py +24 -0
  80. biopb-0.1.0/gen/python/biopb.egg-info/PKG-INFO +41 -0
  81. biopb-0.1.0/gen/python/biopb.egg-info/SOURCES.txt +83 -0
  82. biopb-0.1.0/gen/python/biopb.egg-info/dependency_links.txt +1 -0
  83. biopb-0.1.0/gen/python/biopb.egg-info/top_level.txt +1 -0
  84. biopb-0.1.0/pyproject.toml +19 -0
  85. biopb-0.1.0/setup.cfg +4 -0
biopb-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Ji Yu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
biopb-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,41 @@
1
+ Metadata-Version: 2.1
2
+ Name: biopb
3
+ Version: 0.1.0
4
+ Summary: A place for collecting protobuf definitions for bio-research data
5
+ Author-email: Ji Yu <jyu@uchc.edu>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2024 Ji Yu
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ Project-URL: Homepage, https://github.com/jiyuuchc/biopb
29
+ Project-URL: Documentation, https://jiyuuchc.github.io/biopb/
30
+ Requires-Python: >=3.8
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+
34
+ # biopb
35
+ A place for collecting protobuf definitions for bio-research data. Currently it has only two packages
36
+
37
+ 1. `biopb.ome` Microscopy data representation modeled after [OME-XML](https://ome-model.readthedocs.io/en/stable/ome-xml/index.html).
38
+ 2. `biopb.image` Image processing protocols. Current focus is single-cell segmentation, designed originally for the [Lacss](https://github.com/jiyuuchc/lacss/) project.
39
+
40
+ ## Documentation
41
+ [Documentation](https://jiyuuchc.github.io/biopb/)
biopb-0.1.0/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # biopb
2
+ A place for collecting protobuf definitions for bio-research data. Currently it has only two packages
3
+
4
+ 1. `biopb.ome` Microscopy data representation modeled after [OME-XML](https://ome-model.readthedocs.io/en/stable/ome-xml/index.html).
5
+ 2. `biopb.image` Image processing protocols. Current focus is single-cell segmentation, designed originally for the [Lacss](https://github.com/jiyuuchc/lacss/) project.
6
+
7
+ ## Documentation
8
+ [Documentation](https://jiyuuchc.github.io/biopb/)
@@ -0,0 +1,39 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: biopb/image/bindata.proto
5
+ # Protobuf Python Version: 5.27.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 27,
16
+ 2,
17
+ '',
18
+ 'biopb/image/bindata.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x62iopb/image/bindata.proto\x12\x0b\x62iopb.image\"o\n\x07\x42inData\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x33\n\nendianness\x18\x02 \x01(\x0e\x32\x1f.biopb.image.BinData.Endianness\"!\n\nEndianness\x12\x07\n\x03\x42IG\x10\x00\x12\n\n\x06LITTLE\x10\x01\x42\x0f\n\x0b\x62iopb.imageP\x01\x62\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'biopb.image.bindata_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n\013biopb.imageP\001'
35
+ _globals['_BINDATA']._serialized_start=42
36
+ _globals['_BINDATA']._serialized_end=153
37
+ _globals['_BINDATA_ENDIANNESS']._serialized_start=120
38
+ _globals['_BINDATA_ENDIANNESS']._serialized_end=153
39
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.67.1'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in biopb/image/bindata_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: biopb/image/detection_request.proto
5
+ # Protobuf Python Version: 5.27.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 27,
16
+ 2,
17
+ '',
18
+ 'biopb/image/detection_request.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
26
+ from biopb.image import image_data_pb2 as biopb_dot_image_dot_image__data__pb2
27
+ from biopb.image import detection_settings_pb2 as biopb_dot_image_dot_detection__settings__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#biopb/image/detection_request.proto\x12\x0b\x62iopb.image\x1a google/protobuf/field_mask.proto\x1a\x1c\x62iopb/image/image_data.proto\x1a$biopb/image/detection_settings.proto\"\xaa\x01\n\x10\x44\x65tectionRequest\x12*\n\nimage_data\x18\x01 \x01(\x0b\x32\x16.biopb.image.ImageData\x12:\n\x12\x64\x65tection_settings\x18\x02 \x01(\x0b\x32\x1e.biopb.image.DetectionSettings\x12.\n\nfield_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x0f\n\x0b\x62iopb.imageP\x01\x62\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'biopb.image.detection_request_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'\n\013biopb.imageP\001'
38
+ _globals['_DETECTIONREQUEST']._serialized_start=155
39
+ _globals['_DETECTIONREQUEST']._serialized_end=325
40
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.67.1'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in biopb/image/detection_request_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: biopb/image/detection_response.proto
5
+ # Protobuf Python Version: 5.27.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 27,
16
+ 2,
17
+ '',
18
+ 'biopb/image/detection_response.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from biopb.image import roi_pb2 as biopb_dot_image_dot_roi__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$biopb/image/detection_response.proto\x12\x0b\x62iopb.image\x1a\x15\x62iopb/image/roi.proto\"9\n\tScoredROI\x12\x1d\n\x03roi\x18\x01 \x01(\x0b\x32\x10.biopb.image.ROI\x12\r\n\x05score\x18\x02 \x01(\x02\"?\n\x11\x44\x65tectionResponse\x12*\n\ndetections\x18\x01 \x03(\x0b\x32\x16.biopb.image.ScoredROIB\x0f\n\x0b\x62iopb.imageP\x01\x62\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'biopb.image.detection_response_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\013biopb.imageP\001'
36
+ _globals['_SCOREDROI']._serialized_start=76
37
+ _globals['_SCOREDROI']._serialized_end=133
38
+ _globals['_DETECTIONRESPONSE']._serialized_start=135
39
+ _globals['_DETECTIONRESPONSE']._serialized_end=198
40
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.67.1'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in biopb/image/detection_response_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,38 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: biopb/image/detection_settings.proto
5
+ # Protobuf Python Version: 5.27.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 27,
16
+ 2,
17
+ '',
18
+ 'biopb/image/detection_settings.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$biopb/image/detection_settings.proto\x12\x0b\x62iopb.image\x1a\x19google/protobuf/any.proto\"\xd5\x02\n\x11\x44\x65tectionSettings\x12\x1a\n\rmin_cell_area\x18\x01 \x01(\x02H\x01\x88\x01\x01\x12\x16\n\tmin_score\x18\x02 \x01(\x02H\x02\x88\x01\x01\x12#\n\x16segmentation_threshold\x18\x03 \x01(\x02H\x03\x88\x01\x01\x12\x14\n\x07nms_iou\x18\x04 \x01(\x02H\x04\x88\x01\x01\x12\x1c\n\x12\x63\x65ll_diameter_hint\x18\x06 \x01(\x02H\x00\x12\x16\n\x0cscaling_hint\x18\x07 \x01(\x02H\x00\x12\x12\n\nmodel_name\x18\x08 \x01(\t\x12\x31\n\x13model_configuration\x18\t \x01(\x0b\x32\x14.google.protobuf.AnyB\r\n\x0bresize_infoB\x10\n\x0e_min_cell_areaB\x0c\n\n_min_scoreB\x19\n\x17_segmentation_thresholdB\n\n\x08_nms_iouB\x0f\n\x0b\x62iopb.imageP\x01\x62\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'biopb.image.detection_settings_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\013biopb.imageP\001'
36
+ _globals['_DETECTIONSETTINGS']._serialized_start=81
37
+ _globals['_DETECTIONSETTINGS']._serialized_end=422
38
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.67.1'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in biopb/image/detection_settings_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,43 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: biopb/image/image_data.proto
5
+ # Protobuf Python Version: 5.27.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 27,
16
+ 2,
17
+ '',
18
+ 'biopb/image/image_data.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from biopb.image import roi_pb2 as biopb_dot_image_dot_roi__pb2
26
+ from biopb.image import bindata_pb2 as biopb_dot_image_dot_bindata__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x62iopb/image/image_data.proto\x12\x0b\x62iopb.image\x1a\x15\x62iopb/image/roi.proto\x1a\x19\x62iopb/image/bindata.proto\"\xb6\x04\n\x06Pixels\x12%\n\x07\x62indata\x18\x03 \x01(\x0b\x32\x14.biopb.image.BinData\x12\x17\n\x0f\x64imension_order\x18\x04 \x01(\t\x12\r\n\x05\x64type\x18\x05 \x01(\t\x12\x0e\n\x06size_x\x18\t \x01(\r\x12\x0e\n\x06size_y\x18\n \x01(\r\x12\x0e\n\x06size_z\x18\x0b \x01(\r\x12\x0e\n\x06size_c\x18\x0c \x01(\r\x12\x0e\n\x06size_t\x18\r \x01(\r\x12\x1c\n\x0fphysical_size_x\x18\x0e \x01(\x02H\x00\x88\x01\x01\x12\x1c\n\x0fphysical_size_y\x18\x0f \x01(\x02H\x01\x88\x01\x01\x12\x1c\n\x0fphysical_size_z\x18\x10 \x01(\x02H\x02\x88\x01\x01\x12\x1a\n\x12physical_size_unit\x18\x11 \x01(\t\x12\x1b\n\x0etime_increment\x18\x12 \x01(\x02H\x03\x88\x01\x01\x12\x1b\n\x13time_increment_unit\x18\x15 \x01(\t\x12\x15\n\x08offset_x\x18\x16 \x01(\rH\x04\x88\x01\x01\x12\x15\n\x08offset_y\x18\x17 \x01(\rH\x05\x88\x01\x01\x12\x15\n\x08offset_z\x18\x18 \x01(\rH\x06\x88\x01\x01\x12\x15\n\x08offset_t\x18\x19 \x01(\rH\x07\x88\x01\x01\x42\x12\n\x10_physical_size_xB\x12\n\x10_physical_size_yB\x12\n\x10_physical_size_zB\x11\n\x0f_time_incrementB\x0b\n\t_offset_xB\x0b\n\t_offset_yB\x0b\n\t_offset_zB\x0b\n\t_offset_t\"1\n\x0fImageAnnotation\x12\x1e\n\x04rois\x18\x01 \x03(\x0b\x32\x10.biopb.image.ROI\"h\n\tImageData\x12#\n\x06pixels\x18\x01 \x01(\x0b\x32\x13.biopb.image.Pixels\x12\x36\n\x10image_annotation\x18\x02 \x01(\x0b\x32\x1c.biopb.image.ImageAnnotationB\x0f\n\x0b\x62iopb.imageP\x01\x62\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'biopb.image.image_data_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\013biopb.imageP\001'
37
+ _globals['_PIXELS']._serialized_start=96
38
+ _globals['_PIXELS']._serialized_end=662
39
+ _globals['_IMAGEANNOTATION']._serialized_start=664
40
+ _globals['_IMAGEANNOTATION']._serialized_end=713
41
+ _globals['_IMAGEDATA']._serialized_start=715
42
+ _globals['_IMAGEDATA']._serialized_end=819
43
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.67.1'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in biopb/image/image_data_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,52 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: biopb/image/roi.proto
5
+ # Protobuf Python Version: 5.27.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 27,
16
+ 2,
17
+ '',
18
+ 'biopb/image/roi.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from biopb.image import bindata_pb2 as biopb_dot_image_dot_bindata__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x62iopb/image/roi.proto\x12\x0b\x62iopb.image\x1a\x19\x62iopb/image/bindata.proto\"3\n\x05Point\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\x0e\n\x01z\x18\x03 \x01(\x02H\x00\x88\x01\x01\x42\x04\n\x02_z\"[\n\tRectangle\x12$\n\x08top_left\x18\x01 \x01(\x0b\x32\x12.biopb.image.Point\x12(\n\x0c\x62ottom_right\x18\x02 \x01(\x0b\x32\x12.biopb.image.Point\"Y\n\x04Mask\x12)\n\trectangle\x18\x01 \x01(\x0b\x32\x16.biopb.image.Rectangle\x12&\n\x08\x62in_data\x18\x02 \x01(\x0b\x32\x14.biopb.image.BinData\"Q\n\x07\x45llipse\x12\"\n\x06\x63\x65nter\x18\x01 \x01(\x0b\x32\x12.biopb.image.Point\x12\"\n\x06radius\x18\x02 \x01(\x0b\x32\x12.biopb.image.Point\"-\n\x07Polygon\x12\"\n\x06points\x18\x01 \x03(\x0b\x32\x12.biopb.image.Point\"\xb1\x01\n\x04Mesh\x12!\n\x05verts\x18\x01 \x03(\x0b\x32\x12.biopb.image.Point\x12%\n\x05\x66\x61\x63\x65s\x18\x02 \x03(\x0b\x32\x16.biopb.image.Mesh.Face\x1a_\n\x04\x46\x61\x63\x65\x12\n\n\x02p1\x18\x01 \x01(\r\x12\n\n\x02p2\x18\x02 \x01(\r\x12\n\n\x02p3\x18\x03 \x01(\r\x12#\n\x07normals\x18\x04 \x03(\x0b\x32\x12.biopb.image.Point\x12\x0e\n\x06values\x18\x05 \x03(\x02\"\xf8\x01\n\x03ROI\x12#\n\x05point\x18\x01 \x01(\x0b\x32\x12.biopb.image.PointH\x00\x12+\n\trectangle\x18\x02 \x01(\x0b\x32\x16.biopb.image.RectangleH\x00\x12\'\n\x07\x65llipse\x18\x03 \x01(\x0b\x32\x14.biopb.image.EllipseH\x00\x12\'\n\x07polygon\x18\x04 \x01(\x0b\x32\x14.biopb.image.PolygonH\x00\x12!\n\x04mesh\x18\x05 \x01(\x0b\x32\x11.biopb.image.MeshH\x00\x12!\n\x04mask\x18\x06 \x01(\x0b\x32\x11.biopb.image.MaskH\x00\x42\x07\n\x05shapeB\x0f\n\x0b\x62iopb.imageP\x01\x62\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'biopb.image.roi_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'\n\013biopb.imageP\001'
36
+ _globals['_POINT']._serialized_start=65
37
+ _globals['_POINT']._serialized_end=116
38
+ _globals['_RECTANGLE']._serialized_start=118
39
+ _globals['_RECTANGLE']._serialized_end=209
40
+ _globals['_MASK']._serialized_start=211
41
+ _globals['_MASK']._serialized_end=300
42
+ _globals['_ELLIPSE']._serialized_start=302
43
+ _globals['_ELLIPSE']._serialized_end=383
44
+ _globals['_POLYGON']._serialized_start=385
45
+ _globals['_POLYGON']._serialized_end=430
46
+ _globals['_MESH']._serialized_start=433
47
+ _globals['_MESH']._serialized_end=610
48
+ _globals['_MESH_FACE']._serialized_start=515
49
+ _globals['_MESH_FACE']._serialized_end=610
50
+ _globals['_ROI']._serialized_start=613
51
+ _globals['_ROI']._serialized_end=861
52
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.67.1'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in biopb/image/roi_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,40 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: biopb/image/rpc_object_detection.proto
5
+ # Protobuf Python Version: 5.27.2
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 27,
16
+ 2,
17
+ '',
18
+ 'biopb/image/rpc_object_detection.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
26
+ from biopb.image import detection_request_pb2 as biopb_dot_image_dot_detection__request__pb2
27
+ from biopb.image import detection_response_pb2 as biopb_dot_image_dot_detection__response__pb2
28
+
29
+
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&biopb/image/rpc_object_detection.proto\x12\x0b\x62iopb.image\x1a\x19google/protobuf/any.proto\x1a#biopb/image/detection_request.proto\x1a$biopb/image/detection_response.proto2\xdd\x02\n\x0fObjectDetection\x12M\n\x0cRunDetection\x12\x1d.biopb.image.DetectionRequest\x1a\x1e.biopb.image.DetectionResponse\x12W\n\x12RunDetectionStream\x12\x1d.biopb.image.DetectionRequest\x1a\x1e.biopb.image.DetectionResponse(\x01\x30\x01\x12U\n\x12RunDetectionOnGrid\x12\x1d.biopb.image.DetectionRequest\x1a\x1e.biopb.image.DetectionResponse(\x01\x12K\n\x12RunModelAdaptation\x12\x1d.biopb.image.DetectionRequest\x1a\x14.google.protobuf.Any(\x01\x42\x0f\n\x0b\x62iopb.imageP\x01\x62\x06proto3')
31
+
32
+ _globals = globals()
33
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'biopb.image.rpc_object_detection_pb2', _globals)
35
+ if not _descriptor._USE_C_DESCRIPTORS:
36
+ _globals['DESCRIPTOR']._loaded_options = None
37
+ _globals['DESCRIPTOR']._serialized_options = b'\n\013biopb.imageP\001'
38
+ _globals['_OBJECTDETECTION']._serialized_start=158
39
+ _globals['_OBJECTDETECTION']._serialized_end=507
40
+ # @@protoc_insertion_point(module_scope)