matlab-prodserver-client 24.2__py3-none-any.whl

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 (77) hide show
  1. google/__init__.py +7 -0
  2. google/protobuf_ml/__init__.py +33 -0
  3. google/protobuf_ml/descriptor.py +1230 -0
  4. google/protobuf_ml/descriptor_database.py +177 -0
  5. google/protobuf_ml/descriptor_pb2.py +1925 -0
  6. google/protobuf_ml/descriptor_pool.py +1295 -0
  7. google/protobuf_ml/internal/__init__.py +0 -0
  8. google/protobuf_ml/internal/_parameterized.py +443 -0
  9. google/protobuf_ml/internal/api_implementation.py +168 -0
  10. google/protobuf_ml/internal/builder.py +130 -0
  11. google/protobuf_ml/internal/containers.py +708 -0
  12. google/protobuf_ml/internal/decoder.py +1068 -0
  13. google/protobuf_ml/internal/descriptor_database_test.py +127 -0
  14. google/protobuf_ml/internal/descriptor_pool_test.py +1149 -0
  15. google/protobuf_ml/internal/descriptor_test.py +1076 -0
  16. google/protobuf_ml/internal/encoder.py +829 -0
  17. google/protobuf_ml/internal/enum_type_wrapper.py +124 -0
  18. google/protobuf_ml/internal/extension_dict.py +213 -0
  19. google/protobuf_ml/internal/generator_test.py +354 -0
  20. google/protobuf_ml/internal/import_test.py +49 -0
  21. google/protobuf_ml/internal/json_format_test.py +1285 -0
  22. google/protobuf_ml/internal/keywords_test.py +103 -0
  23. google/protobuf_ml/internal/message_factory_test.py +299 -0
  24. google/protobuf_ml/internal/message_listener.py +78 -0
  25. google/protobuf_ml/internal/message_test.py +2573 -0
  26. google/protobuf_ml/internal/proto_builder_test.py +106 -0
  27. google/protobuf_ml/internal/python_message.py +1539 -0
  28. google/protobuf_ml/internal/reflection_test.py +3381 -0
  29. google/protobuf_ml/internal/service_reflection_test.py +139 -0
  30. google/protobuf_ml/internal/symbol_database_test.py +133 -0
  31. google/protobuf_ml/internal/test_util.py +878 -0
  32. google/protobuf_ml/internal/testing_refleaks.py +142 -0
  33. google/protobuf_ml/internal/text_encoding_test.py +67 -0
  34. google/protobuf_ml/internal/text_format_test.py +2447 -0
  35. google/protobuf_ml/internal/type_checkers.py +435 -0
  36. google/protobuf_ml/internal/unknown_fields_test.py +461 -0
  37. google/protobuf_ml/internal/well_known_types.py +887 -0
  38. google/protobuf_ml/internal/well_known_types_test.py +1013 -0
  39. google/protobuf_ml/internal/wire_format.py +268 -0
  40. google/protobuf_ml/internal/wire_format_test.py +252 -0
  41. google/protobuf_ml/json_format.py +912 -0
  42. google/protobuf_ml/message.py +424 -0
  43. google/protobuf_ml/message_factory.py +189 -0
  44. google/protobuf_ml/proto_builder.py +134 -0
  45. google/protobuf_ml/reflection.py +95 -0
  46. google/protobuf_ml/service.py +228 -0
  47. google/protobuf_ml/service_reflection.py +295 -0
  48. google/protobuf_ml/symbol_database.py +194 -0
  49. google/protobuf_ml/text_encoding.py +110 -0
  50. google/protobuf_ml/text_format.py +1842 -0
  51. google/protobuf_ml/unknown_fields.py +120 -0
  52. matlab/__init__.py +43 -0
  53. matlab/bin/win64/libmwfoundation_matlabdata.dll +0 -0
  54. matlab/bin/win64/libmwfoundation_matlabdata_standalone.dll +0 -0
  55. matlab/extern/bin/win64/libMatlabDataArray.dll +0 -0
  56. matlab/extern/bin/win64/matlabmultidimarrayforpython.cp310-win_amd64.pyd +0 -0
  57. matlab/extern/bin/win64/matlabmultidimarrayforpython.cp39-win_amd64.pyd +0 -0
  58. matlab/extern/bin/win64/matlabmultidimarrayforpython.pyd +0 -0
  59. matlab/production_server/__init__.py +2 -0
  60. matlab/production_server/_internal_mps/__init__.py +2 -0
  61. matlab/production_server/_internal_mps/feval_handler.py +76 -0
  62. matlab/production_server/_internal_mps/invocation_handler_utils.py +52 -0
  63. matlab/production_server/_internal_mps/matlab_array_builder.py +201 -0
  64. matlab/production_server/_internal_mps/matlab_response_builder.py +134 -0
  65. matlab/production_server/_proto_generated/MATLABArray_pb2.py +129 -0
  66. matlab/production_server/_proto_generated/MATLABError_pb2.py +27 -0
  67. matlab/production_server/_proto_generated/MATLABParams_pb2.py +26 -0
  68. matlab/production_server/_proto_generated/MATLABResult_pb2.py +27 -0
  69. matlab/production_server/_proto_generated/__init__.py +0 -0
  70. matlab/production_server/client.py +140 -0
  71. matlab/production_server/mpsexceptions.py +56 -0
  72. matlab_prodserver_client-24.2.dist-info/LICENSE.txt +27 -0
  73. matlab_prodserver_client-24.2.dist-info/METADATA +94 -0
  74. matlab_prodserver_client-24.2.dist-info/RECORD +77 -0
  75. matlab_prodserver_client-24.2.dist-info/WHEEL +5 -0
  76. matlab_prodserver_client-24.2.dist-info/top_level.txt +3 -0
  77. six.py +953 -0
@@ -0,0 +1,129 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: MATLABArray.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf_ml.internal import builder as _builder
6
+ from google.protobuf_ml import descriptor as _descriptor
7
+ from google.protobuf_ml import descriptor_pool as _descriptor_pool
8
+ from google.protobuf_ml import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+
15
+
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11MATLABArray.proto\"T\n\x15MATLAB_Shared_Strings\x12\x13\n\x0bstringEntry\x18\x01 \x03(\x0c\x12\x17\n\nstartIndex\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\r\n\x0b_startIndex\"3\n\x0bMATLAB_Name\x12\x16\n\tnameIndex\x18\x01 \x01(\rH\x00\x88\x01\x01\x42\x0c\n\n_nameIndex\"z\n\x10MATLAB_ClassInfo\x12\x1b\n\x0e\x63lassNameIndex\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x19\n\x11propertyNameIndex\x18\x02 \x03(\r\x12\x1b\n\x13superclassNameIndex\x18\x03 \x03(\rB\x11\n\x0f_classNameIndex\"=\n\x15MATLAB_ClassInfoTable\x12$\n\tclassInfo\x18\x01 \x03(\x0b\x32\x11.MATLAB_ClassInfo\"^\n\x13MATLAB_SharedArrays\x12\x1f\n\x08\x65lements\x18\x01 \x03(\x0b\x32\r.MATLAB_Array\x12\x17\n\nstartIndex\x18\x02 \x01(\x04H\x00\x88\x01\x01\x42\r\n\x0b_startIndex\"\xca\x01\n\x12MATLAB_Shared_Data\x12\x30\n\x0bstringTable\x18\x01 \x01(\x0b\x32\x16.MATLAB_Shared_StringsH\x00\x88\x01\x01\x12.\n\tclassInfo\x18\x02 \x01(\x0b\x32\x16.MATLAB_ClassInfoTableH\x01\x88\x01\x01\x12)\n\x06\x61rrays\x18\x03 \x01(\x0b\x32\x14.MATLAB_SharedArraysH\x02\x88\x01\x01\x42\x0e\n\x0c_stringTableB\x0c\n\n_classInfoB\t\n\x07_arrays\"\xe8\x1d\n\x0cMATLAB_Array\x12\'\n\x04type\x18\x01 \x01(\x0e\x32\x14.MATLAB_Array.MWTypeH\x00\x88\x01\x01\x12\x15\n\tdimension\x18\x02 \x03(\x04\x42\x02\x10\x01\x12\x14\n\x07\x61rrayID\x18\x03 \x01(\x04H\x01\x88\x01\x01\x12\x16\n\tdataFrame\x18\x04 \x01(\x04H\x02\x88\x01\x01\x12,\n\nsharedData\x18\x05 \x01(\x0b\x32\x13.MATLAB_Shared_DataH\x03\x88\x01\x01\x12\x37\n\x0cmemoryLayout\x18\x06 \x01(\x0e\x32\x1c.MATLAB_Array.MWMemoryLayoutH\x04\x88\x01\x01\x12\x16\n\tisComplex\x18\x07 \x01(\x08H\x05\x88\x01\x01\x12\'\n\x05uint8\x18\x10 \x01(\x0b\x32\x13.MATLAB_Array.Uint8H\x06\x88\x01\x01\x12%\n\x04int8\x18\x11 \x01(\x0b\x32\x12.MATLAB_Array.Int8H\x07\x88\x01\x01\x12)\n\x06uint16\x18\x12 \x01(\x0b\x32\x14.MATLAB_Array.Uint16H\x08\x88\x01\x01\x12\'\n\x05int16\x18\x13 \x01(\x0b\x32\x13.MATLAB_Array.Int16H\t\x88\x01\x01\x12)\n\x06uint32\x18\x14 \x01(\x0b\x32\x14.MATLAB_Array.Uint32H\n\x88\x01\x01\x12\'\n\x05int32\x18\x15 \x01(\x0b\x32\x13.MATLAB_Array.Int32H\x0b\x88\x01\x01\x12)\n\x06uint64\x18\x16 \x01(\x0b\x32\x14.MATLAB_Array.Uint64H\x0c\x88\x01\x01\x12\'\n\x05int64\x18\x17 \x01(\x0b\x32\x13.MATLAB_Array.Int64H\r\x88\x01\x01\x12)\n\x06single\x18\x18 \x01(\x0b\x32\x14.MATLAB_Array.SingleH\x0e\x88\x01\x01\x12+\n\x08mwdouble\x18\x19 \x01(\x0b\x32\x14.MATLAB_Array.DoubleH\x0f\x88\x01\x01\x12+\n\x07logical\x18\x1a \x01(\x0b\x32\x15.MATLAB_Array.LogicalH\x10\x88\x01\x01\x12\'\n\x06mwchar\x18\x1b \x01(\x0b\x32\x12.MATLAB_Array.CharH\x11\x88\x01\x01\x12%\n\x04\x63\x65ll\x18\x1c \x01(\x0b\x32\x12.MATLAB_Array.CellH\x12\x88\x01\x01\x12*\n\x07struct_\x18\x1d \x01(\x0b\x32\x14.MATLAB_Array.StructH\x13\x88\x01\x01\x12)\n\x06sparse\x18\x1e \x01(\x0b\x32\x14.MATLAB_Array.SparseH\x14\x88\x01\x01\x12\x1b\n\x0e\x63lassNameIndex\x18\x1f \x01(\rH\x15\x88\x01\x01\x12+\n\x07objects\x18 \x01(\x0b\x32\x15.MATLAB_Array.ObjectsH\x16\x88\x01\x01\x12\x38\n\nobjectRefs\x18! \x01(\x0b\x32\x1f.MATLAB_Array.Handle_Object_RefH\x17\x88\x01\x01\x12\x15\n\x08\x61rrayRef\x18\" \x01(\x04H\x18\x88\x01\x01\x12-\n\ntargetType\x18# \x01(\x0e\x32\x14.MATLAB_Array.MWTypeH\x19\x88\x01\x01\x12!\n\x14\x65numerationClassName\x18$ \x01(\rH\x1a\x88\x01\x01\x12\x30\n\x0c\x65numerations\x18% \x01(\x0b\x32\x15.MATLAB_Array.ObjectsH\x1b\x88\x01\x01\x12\x31\n\x0estringElements\x18& \x01(\x0b\x32\x14.MATLAB_Array.StringH\x1c\x88\x01\x01\x1aY\n\x05Uint8\x12\x15\n\x08\x65lements\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x1a\n\rimag_elements\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\x0b\n\t_elementsB\x10\n\x0e_imag_elements\x1aX\n\x04Int8\x12\x15\n\x08\x65lements\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x12\x1a\n\rimag_elements\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x42\x0b\n\t_elementsB\x10\n\x0e_imag_elements\x1a\x39\n\x06Uint16\x12\x14\n\x08\x65lements\x18\x01 \x03(\rB\x02\x10\x01\x12\x19\n\rimag_elements\x18\x02 \x03(\rB\x02\x10\x01\x1a\x38\n\x05Int16\x12\x14\n\x08\x65lements\x18\x01 \x03(\x05\x42\x02\x10\x01\x12\x19\n\rimag_elements\x18\x02 \x03(\x05\x42\x02\x10\x01\x1a\x39\n\x06Uint32\x12\x14\n\x08\x65lements\x18\x01 \x03(\x07\x42\x02\x10\x01\x12\x19\n\rimag_elements\x18\x02 \x03(\x07\x42\x02\x10\x01\x1a\x38\n\x05Int32\x12\x14\n\x08\x65lements\x18\x01 \x03(\x0f\x42\x02\x10\x01\x12\x19\n\rimag_elements\x18\x02 \x03(\x0f\x42\x02\x10\x01\x1a\x39\n\x06Uint64\x12\x14\n\x08\x65lements\x18\x01 \x03(\x04\x42\x02\x10\x01\x12\x19\n\rimag_elements\x18\x02 \x03(\x04\x42\x02\x10\x01\x1a\x38\n\x05Int64\x12\x14\n\x08\x65lements\x18\x01 \x03(\x03\x42\x02\x10\x01\x12\x19\n\rimag_elements\x18\x02 \x03(\x03\x42\x02\x10\x01\x1a\x39\n\x06Single\x12\x14\n\x08\x65lements\x18\x01 \x03(\x02\x42\x02\x10\x01\x12\x19\n\rimag_elements\x18\x02 \x03(\x02\x42\x02\x10\x01\x1a\x39\n\x06\x44ouble\x12\x14\n\x08\x65lements\x18\x01 \x03(\x01\x42\x02\x10\x01\x12\x19\n\rimag_elements\x18\x02 \x03(\x01\x42\x02\x10\x01\x1a\x1f\n\x07Logical\x12\x14\n\x08\x65lements\x18\x01 \x03(\x08\x42\x02\x10\x01\x1a\x1c\n\x04\x43har\x12\x14\n\x08\x65lements\x18\x01 \x03(\rB\x02\x10\x01\x1a\'\n\x04\x43\x65ll\x12\x1f\n\x08\x65lements\x18\x01 \x03(\x0b\x32\r.MATLAB_Array\x1a>\n\x06Struct\x12\x13\n\x0b\x66ield_names\x18\x01 \x03(\t\x12\x1f\n\x08\x65lements\x18\x02 \x03(\x0b\x32\r.MATLAB_Array\x1a\x8b\x02\n\x06Sparse\x12\x32\n\x04type\x18\x01 \x01(\x0e\x32\x1f.MATLAB_Array.Sparse.SparseTypeH\x00\x88\x01\x01\x12\x0e\n\x02ir\x18\x02 \x03(\x04\x42\x02\x10\x01\x12\x0e\n\x02jc\x18\x03 \x03(\x04\x42\x02\x10\x01\x12\x31\n\x0emwsparsedouble\x18\x10 \x01(\x0b\x32\x14.MATLAB_Array.DoubleH\x01\x88\x01\x01\x12+\n\x07logical\x18\x11 \x01(\x0b\x32\x15.MATLAB_Array.LogicalH\x02\x88\x01\x01\"%\n\nSparseType\x12\n\n\x06\x44OUBLE\x10\x00\x12\x0b\n\x07LOGICAL\x10\x01\x42\x07\n\x05_typeB\x11\n\x0f_mwsparsedoubleB\n\n\x08_logical\x1a\x97\x03\n\x06Object\x12\x1b\n\x0e\x63lassNameIndex\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x0cpropertyName\x18\x02 \x03(\r\x12\x19\n\x11propertyClassName\x18\x03 \x03(\r\x12$\n\rpropertyValue\x18\x04 \x03(\x0b\x32\r.MATLAB_Array\x12!\n\x14\x65numerationNameIndex\x18\x05 \x01(\rH\x01\x88\x01\x01\x12@\n\x11\x64ynamicProperties\x18\x06 \x03(\x0b\x32%.MATLAB_Array.Object.Dynamic_Property\x1a\x87\x01\n\x10\x44ynamic_Property\x12\x14\n\x0cpropertyName\x18\x01 \x03(\r\x12\x19\n\x11propertyClassName\x18\x02 \x03(\r\x12\x1c\n\x14propertyDataTypeName\x18\x03 \x03(\r\x12$\n\rpropertyValue\x18\x04 \x03(\x0b\x32\r.MATLAB_ArrayB\x11\n\x0f_classNameIndexB\x17\n\x15_enumerationNameIndex\x1a\x31\n\x07Objects\x12&\n\x08\x65lements\x18\x01 \x03(\x0b\x32\x14.MATLAB_Array.Object\x1a%\n\x05MvmID\x12\x12\n\x05mvmID\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x08\n\x06_mvmID\x1a\xff\x01\n\x11Handle_Object_Ref\x12\r\n\x05mvmID\x18\x01 \x03(\r\x12\x10\n\x08objectID\x18\x02 \x03(\x04\x12\x41\n\x05htype\x18\x03 \x03(\x0e\x32\x32.MATLAB_Array.Handle_Object_Ref.MWHandleObjectType\x12\x1b\n\x04\x64\x61ta\x18\x04 \x03(\x0b\x32\r.MATLAB_Array\"i\n\x12MWHandleObjectType\x12\x17\n\x13UNKNOWN_HANDLE_TYPE\x10\x00\x12\x13\n\x0f\x46UNCTION_HANDLE\x10\x01\x12\n\n\x06HANDLE\x10\x02\x12\x08\n\x04MCOS\x10\x03\x12\x0f\n\x0bSHARED_COPY\x10\x04\x1a.\n\x06String\x12\x0f\n\x07strings\x18\x01 \x03(\r\x12\x13\n\x0bstringSizes\x18\x02 \x03(\x04\"\x81\x02\n\x06MWType\x12\t\n\x05UINT8\x10\x00\x12\x08\n\x04INT8\x10\x01\x12\n\n\x06UINT16\x10\x02\x12\t\n\x05INT16\x10\x03\x12\n\n\x06UINT32\x10\x04\x12\t\n\x05INT32\x10\x05\x12\n\n\x06UINT64\x10\x06\x12\t\n\x05INT64\x10\x07\x12\n\n\x06SINGLE\x10\x08\x12\n\n\x06\x44OUBLE\x10\t\x12\x0b\n\x07LOGICAL\x10\n\x12\x08\n\x04\x43HAR\x10\x0b\x12\n\n\x06STRUCT\x10\x0c\x12\x08\n\x04\x43\x45LL\x10\r\x12\n\n\x06SPARSE\x10\x0e\x12\n\n\x06OBJECT\x10\x0f\x12\x15\n\x11HANDLE_OBJECT_REF\x10\x10\x12\x0c\n\x08\x41RRAYREF\x10\x11\x12\x0f\n\x0b\x45NUMERATION\x10\x12\x12\n\n\x06STRING\x10\x13\">\n\x0eMWMemoryLayout\x12\x10\n\x0c\x43OLUMN_MAJOR\x10\x00\x12\r\n\tROW_MAJOR\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02\x42\x07\n\x05_typeB\n\n\x08_arrayIDB\x0c\n\n_dataFrameB\r\n\x0b_sharedDataB\x0f\n\r_memoryLayoutB\x0c\n\n_isComplexB\x08\n\x06_uint8B\x07\n\x05_int8B\t\n\x07_uint16B\x08\n\x06_int16B\t\n\x07_uint32B\x08\n\x06_int32B\t\n\x07_uint64B\x08\n\x06_int64B\t\n\x07_singleB\x0b\n\t_mwdoubleB\n\n\x08_logicalB\t\n\x07_mwcharB\x07\n\x05_cellB\n\n\x08_struct_B\t\n\x07_sparseB\x11\n\x0f_classNameIndexB\n\n\x08_objectsB\r\n\x0b_objectRefsB\x0b\n\t_arrayRefB\r\n\x0b_targetTypeB\x17\n\x15_enumerationClassNameB\x0f\n\r_enumerationsB\x11\n\x0f_stringElementsb\x06proto3')
17
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'MATLABArray_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ _MATLAB_ARRAY_UINT16.fields_by_name['elements']._options = None
24
+ _MATLAB_ARRAY_UINT16.fields_by_name['elements']._serialized_options = b'\020\001'
25
+ _MATLAB_ARRAY_UINT16.fields_by_name['imag_elements']._options = None
26
+ _MATLAB_ARRAY_UINT16.fields_by_name['imag_elements']._serialized_options = b'\020\001'
27
+ _MATLAB_ARRAY_INT16.fields_by_name['elements']._options = None
28
+ _MATLAB_ARRAY_INT16.fields_by_name['elements']._serialized_options = b'\020\001'
29
+ _MATLAB_ARRAY_INT16.fields_by_name['imag_elements']._options = None
30
+ _MATLAB_ARRAY_INT16.fields_by_name['imag_elements']._serialized_options = b'\020\001'
31
+ _MATLAB_ARRAY_UINT32.fields_by_name['elements']._options = None
32
+ _MATLAB_ARRAY_UINT32.fields_by_name['elements']._serialized_options = b'\020\001'
33
+ _MATLAB_ARRAY_UINT32.fields_by_name['imag_elements']._options = None
34
+ _MATLAB_ARRAY_UINT32.fields_by_name['imag_elements']._serialized_options = b'\020\001'
35
+ _MATLAB_ARRAY_INT32.fields_by_name['elements']._options = None
36
+ _MATLAB_ARRAY_INT32.fields_by_name['elements']._serialized_options = b'\020\001'
37
+ _MATLAB_ARRAY_INT32.fields_by_name['imag_elements']._options = None
38
+ _MATLAB_ARRAY_INT32.fields_by_name['imag_elements']._serialized_options = b'\020\001'
39
+ _MATLAB_ARRAY_UINT64.fields_by_name['elements']._options = None
40
+ _MATLAB_ARRAY_UINT64.fields_by_name['elements']._serialized_options = b'\020\001'
41
+ _MATLAB_ARRAY_UINT64.fields_by_name['imag_elements']._options = None
42
+ _MATLAB_ARRAY_UINT64.fields_by_name['imag_elements']._serialized_options = b'\020\001'
43
+ _MATLAB_ARRAY_INT64.fields_by_name['elements']._options = None
44
+ _MATLAB_ARRAY_INT64.fields_by_name['elements']._serialized_options = b'\020\001'
45
+ _MATLAB_ARRAY_INT64.fields_by_name['imag_elements']._options = None
46
+ _MATLAB_ARRAY_INT64.fields_by_name['imag_elements']._serialized_options = b'\020\001'
47
+ _MATLAB_ARRAY_SINGLE.fields_by_name['elements']._options = None
48
+ _MATLAB_ARRAY_SINGLE.fields_by_name['elements']._serialized_options = b'\020\001'
49
+ _MATLAB_ARRAY_SINGLE.fields_by_name['imag_elements']._options = None
50
+ _MATLAB_ARRAY_SINGLE.fields_by_name['imag_elements']._serialized_options = b'\020\001'
51
+ _MATLAB_ARRAY_DOUBLE.fields_by_name['elements']._options = None
52
+ _MATLAB_ARRAY_DOUBLE.fields_by_name['elements']._serialized_options = b'\020\001'
53
+ _MATLAB_ARRAY_DOUBLE.fields_by_name['imag_elements']._options = None
54
+ _MATLAB_ARRAY_DOUBLE.fields_by_name['imag_elements']._serialized_options = b'\020\001'
55
+ _MATLAB_ARRAY_LOGICAL.fields_by_name['elements']._options = None
56
+ _MATLAB_ARRAY_LOGICAL.fields_by_name['elements']._serialized_options = b'\020\001'
57
+ _MATLAB_ARRAY_CHAR.fields_by_name['elements']._options = None
58
+ _MATLAB_ARRAY_CHAR.fields_by_name['elements']._serialized_options = b'\020\001'
59
+ _MATLAB_ARRAY_SPARSE.fields_by_name['ir']._options = None
60
+ _MATLAB_ARRAY_SPARSE.fields_by_name['ir']._serialized_options = b'\020\001'
61
+ _MATLAB_ARRAY_SPARSE.fields_by_name['jc']._options = None
62
+ _MATLAB_ARRAY_SPARSE.fields_by_name['jc']._serialized_options = b'\020\001'
63
+ _MATLAB_ARRAY.fields_by_name['dimension']._options = None
64
+ _MATLAB_ARRAY.fields_by_name['dimension']._serialized_options = b'\020\001'
65
+ _MATLAB_SHARED_STRINGS._serialized_start=21
66
+ _MATLAB_SHARED_STRINGS._serialized_end=105
67
+ _MATLAB_NAME._serialized_start=107
68
+ _MATLAB_NAME._serialized_end=158
69
+ _MATLAB_CLASSINFO._serialized_start=160
70
+ _MATLAB_CLASSINFO._serialized_end=282
71
+ _MATLAB_CLASSINFOTABLE._serialized_start=284
72
+ _MATLAB_CLASSINFOTABLE._serialized_end=345
73
+ _MATLAB_SHAREDARRAYS._serialized_start=347
74
+ _MATLAB_SHAREDARRAYS._serialized_end=441
75
+ _MATLAB_SHARED_DATA._serialized_start=444
76
+ _MATLAB_SHARED_DATA._serialized_end=646
77
+ _MATLAB_ARRAY._serialized_start=649
78
+ _MATLAB_ARRAY._serialized_end=4465
79
+ _MATLAB_ARRAY_UINT8._serialized_start=1872
80
+ _MATLAB_ARRAY_UINT8._serialized_end=1961
81
+ _MATLAB_ARRAY_INT8._serialized_start=1963
82
+ _MATLAB_ARRAY_INT8._serialized_end=2051
83
+ _MATLAB_ARRAY_UINT16._serialized_start=2053
84
+ _MATLAB_ARRAY_UINT16._serialized_end=2110
85
+ _MATLAB_ARRAY_INT16._serialized_start=2112
86
+ _MATLAB_ARRAY_INT16._serialized_end=2168
87
+ _MATLAB_ARRAY_UINT32._serialized_start=2170
88
+ _MATLAB_ARRAY_UINT32._serialized_end=2227
89
+ _MATLAB_ARRAY_INT32._serialized_start=2229
90
+ _MATLAB_ARRAY_INT32._serialized_end=2285
91
+ _MATLAB_ARRAY_UINT64._serialized_start=2287
92
+ _MATLAB_ARRAY_UINT64._serialized_end=2344
93
+ _MATLAB_ARRAY_INT64._serialized_start=2346
94
+ _MATLAB_ARRAY_INT64._serialized_end=2402
95
+ _MATLAB_ARRAY_SINGLE._serialized_start=2404
96
+ _MATLAB_ARRAY_SINGLE._serialized_end=2461
97
+ _MATLAB_ARRAY_DOUBLE._serialized_start=2463
98
+ _MATLAB_ARRAY_DOUBLE._serialized_end=2520
99
+ _MATLAB_ARRAY_LOGICAL._serialized_start=2522
100
+ _MATLAB_ARRAY_LOGICAL._serialized_end=2553
101
+ _MATLAB_ARRAY_CHAR._serialized_start=2555
102
+ _MATLAB_ARRAY_CHAR._serialized_end=2583
103
+ _MATLAB_ARRAY_CELL._serialized_start=2585
104
+ _MATLAB_ARRAY_CELL._serialized_end=2624
105
+ _MATLAB_ARRAY_STRUCT._serialized_start=2626
106
+ _MATLAB_ARRAY_STRUCT._serialized_end=2688
107
+ _MATLAB_ARRAY_SPARSE._serialized_start=2691
108
+ _MATLAB_ARRAY_SPARSE._serialized_end=2958
109
+ _MATLAB_ARRAY_SPARSE_SPARSETYPE._serialized_start=2881
110
+ _MATLAB_ARRAY_SPARSE_SPARSETYPE._serialized_end=2918
111
+ _MATLAB_ARRAY_OBJECT._serialized_start=2961
112
+ _MATLAB_ARRAY_OBJECT._serialized_end=3368
113
+ _MATLAB_ARRAY_OBJECT_DYNAMIC_PROPERTY._serialized_start=3189
114
+ _MATLAB_ARRAY_OBJECT_DYNAMIC_PROPERTY._serialized_end=3324
115
+ _MATLAB_ARRAY_OBJECTS._serialized_start=3370
116
+ _MATLAB_ARRAY_OBJECTS._serialized_end=3419
117
+ _MATLAB_ARRAY_MVMID._serialized_start=3421
118
+ _MATLAB_ARRAY_MVMID._serialized_end=3458
119
+ _MATLAB_ARRAY_HANDLE_OBJECT_REF._serialized_start=3461
120
+ _MATLAB_ARRAY_HANDLE_OBJECT_REF._serialized_end=3716
121
+ _MATLAB_ARRAY_HANDLE_OBJECT_REF_MWHANDLEOBJECTTYPE._serialized_start=3611
122
+ _MATLAB_ARRAY_HANDLE_OBJECT_REF_MWHANDLEOBJECTTYPE._serialized_end=3716
123
+ _MATLAB_ARRAY_STRING._serialized_start=3718
124
+ _MATLAB_ARRAY_STRING._serialized_end=3764
125
+ _MATLAB_ARRAY_MWTYPE._serialized_start=3767
126
+ _MATLAB_ARRAY_MWTYPE._serialized_end=4024
127
+ _MATLAB_ARRAY_MWMEMORYLAYOUT._serialized_start=4026
128
+ _MATLAB_ARRAY_MWMEMORYLAYOUT._serialized_end=4088
129
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,27 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: MATLABError.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf_ml.internal import builder as _builder
6
+ from google.protobuf_ml import descriptor as _descriptor
7
+ from google.protobuf_ml import descriptor_pool as _descriptor_pool
8
+ from google.protobuf_ml import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+
15
+
16
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11MATLABError.proto\"\x85\x02\n\x0cMATLAB_Error\x12\x14\n\x07message\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nidentifier\x18\x02 \x01(\tH\x01\x88\x01\x01\x12(\n\x05stack\x18\x03 \x03(\x0b\x32\x19.MATLAB_Error.Stack_Frame\x12\x13\n\x06report\x18\x04 \x01(\tH\x02\x88\x01\x01\x1a\x61\n\x0bStack_Frame\x12\x11\n\x04\x66ile\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x11\n\x04name\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x11\n\x04line\x18\x03 \x01(\x05H\x02\x88\x01\x01\x42\x07\n\x05_fileB\x07\n\x05_nameB\x07\n\x05_lineB\n\n\x08_messageB\r\n\x0b_identifierB\t\n\x07_reportb\x06proto3')
17
+
18
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
19
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'MATLABError_pb2', globals())
20
+ if _descriptor._USE_C_DESCRIPTORS == False:
21
+
22
+ DESCRIPTOR._options = None
23
+ _MATLAB_ERROR._serialized_start=22
24
+ _MATLAB_ERROR._serialized_end=283
25
+ _MATLAB_ERROR_STACK_FRAME._serialized_start=148
26
+ _MATLAB_ERROR_STACK_FRAME._serialized_end=245
27
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,26 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: MATLABParams.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf_ml.internal import builder as _builder
6
+ from google.protobuf_ml import descriptor as _descriptor
7
+ from google.protobuf_ml import descriptor_pool as _descriptor_pool
8
+ from google.protobuf_ml import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from . import MATLABArray_pb2 as MATLABArray__pb2
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12MATLABParams.proto\x1a\x11MATLABArray.proto\"M\n\rMATLAB_Params\x12\x14\n\x07nargout\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x1a\n\x03rhs\x18\x02 \x03(\x0b\x32\r.MATLAB_ArrayB\n\n\x08_nargoutb\x06proto3')
18
+
19
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'MATLABParams_pb2', globals())
21
+ if _descriptor._USE_C_DESCRIPTORS == False:
22
+
23
+ DESCRIPTOR._options = None
24
+ _MATLAB_PARAMS._serialized_start=41
25
+ _MATLAB_PARAMS._serialized_end=118
26
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,27 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: MATLABResult.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf_ml.internal import builder as _builder
6
+ from google.protobuf_ml import descriptor as _descriptor
7
+ from google.protobuf_ml import descriptor_pool as _descriptor_pool
8
+ from google.protobuf_ml import symbol_database as _symbol_database
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from . import MATLABArray_pb2 as MATLABArray__pb2
15
+ from . import MATLABError_pb2 as MATLABError__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12MATLABResult.proto\x1a\x11MATLABArray.proto\x1a\x11MATLABError.proto\"X\n\rMATLAB_Result\x12\x1a\n\x03lhs\x18\x01 \x03(\x0b\x32\r.MATLAB_Array\x12!\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.MATLAB_ErrorH\x00\x88\x01\x01\x42\x08\n\x06_errorb\x06proto3')
19
+
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'MATLABResult_pb2', globals())
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+
24
+ DESCRIPTOR._options = None
25
+ _MATLAB_RESULT._serialized_start=60
26
+ _MATLAB_RESULT._serialized_end=148
27
+ # @@protoc_insertion_point(module_scope)
File without changes
@@ -0,0 +1,140 @@
1
+ # Copyright 2014 MathWorks, Inc.
2
+ """
3
+ Manage the connection to a MATLAB Production Server instance and evaluates
4
+ MATLAB functions.
5
+
6
+ This module creates and manages that connection to a MATLAB Production Server
7
+ instance. The connection object is used to evaluate MATLAB functions hosted on
8
+ the server instance. To evaluate
9
+ a MATLAB function, you must know:
10
+ * the name of the function
11
+ * the number of input arguments
12
+ * the number of output arguments
13
+ * the name of the archive hosting the function
14
+
15
+ Classes
16
+ -------
17
+ MWHttpClient : Encapsulates the connection to a
18
+ MATLAB Production Server instance
19
+
20
+ Example
21
+ -------
22
+ >>> import matlab
23
+ >>> from production_server import client
24
+ >>> myClient = client.MHHttpClient(...)
25
+ >>> result = myClient.archive.func(...)
26
+ >>> myClient.close()
27
+ """
28
+
29
+ __all__ = ['MWHttpClient']
30
+
31
+ import sys
32
+
33
+ from production_server._internal_mps.feval_handler import FevalHandler
34
+ from sys import platform
35
+ from matlab.production_server.mpsexceptions import InvalidSchemeError
36
+
37
+ class MWHttpClient(object):
38
+ """
39
+ Encapsulate the connection to a server instance and provide a way to
40
+ evaluate hosted functions
41
+
42
+ This class creates a connection object encapsulating the connection
43
+ between the client and a server instance. Once created the connection
44
+ gains methods that represent all of the MATLAB functions hosted on the
45
+ server instance. The signature for the methods are:
46
+ client.<archivename>.<functionname>(args...,nargout=<numArgs>)
47
+
48
+ Methods
49
+ -------
50
+ close : Close the connection to the server instance.
51
+ """
52
+
53
+ def __init__(self, url, timeout_ms=120 * 1000, ssl_context=None):
54
+ """
55
+ Create and initialize a connection to a
56
+ MATLAB Production Server instance.
57
+
58
+ :param url : string
59
+ URL of a MATLAB Production Server instance.
60
+ :param timeout_ms : int
61
+ Number of milliseconds the client waits for a response before timing
62
+ out. Default 2 minutes.
63
+ :param ssl_context : SSL
64
+ ssl context that is needed when the protocol in url is https.
65
+ """
66
+ self.url = url
67
+
68
+ if url.startswith('https:'):
69
+ if sys.platform == 'darwin':
70
+ raise InvalidSchemeError('HTTPS is not supported on macOS')
71
+ if ssl_context is None:
72
+ raise ValueError(
73
+ 'ssl context is needed')
74
+ else:
75
+ self.ssl_context = ssl_context
76
+
77
+ if timeout_ms is not None:
78
+ if not isinstance(timeout_ms, int):
79
+ raise TypeError(
80
+ 'can only assign a non-negative int type to timeout_ms')
81
+ if timeout_ms < 0:
82
+ raise ValueError('timeout value out of range')
83
+ self.timeout = float(timeout_ms / 1000.0)
84
+ else:
85
+ self.timeout = timeout_ms
86
+ self._feval_handler = FevalHandler(self)
87
+
88
+ def __enter__(self):
89
+ return self
90
+
91
+ def __exit__(self, exc_type, exc_val, exc_tb):
92
+ self.close()
93
+
94
+ def __getattr__(self, item):
95
+ if item not in self.__dict__:
96
+ return _CTFProxy(self, item)
97
+ else:
98
+ self.__getitem__(item)
99
+
100
+ def __setattr__(self, key, value):
101
+ self.__dict__[key] = value
102
+
103
+ def close(self):
104
+ """
105
+ Close the connection to a MATLAB Production Server instance.
106
+ """
107
+ self._feval_handler._is_close = True
108
+ self._feval_handler._conn.close()
109
+
110
+
111
+ class _CTFProxy(object):
112
+ def __init__(self, client, ctf_name):
113
+ self.client = client
114
+ self.name = ctf_name
115
+
116
+ def __getattr__(self, item):
117
+ if item not in self.__dict__:
118
+ return _matlab_function(self, item)
119
+ else:
120
+ self.__getitem__(item)
121
+
122
+ def __setattr__(self, key, value):
123
+ self.__dict__[key] = value
124
+
125
+
126
+ def _matlab_function(ctf, ml_func):
127
+ def func(*args, **kwargs):
128
+ try:
129
+ matlab_result = ctf.client._feval_handler.process_request(
130
+ ctf, ml_func, *args, **kwargs)
131
+ ml_func_pointer = lambda *args, **kwargs: \
132
+ ctf.client._feval_handler.process_request(
133
+ ctf, ml_func, *args, **kwargs)
134
+ setattr(ctf, ml_func, ml_func_pointer)
135
+ setattr(ctf.client, ctf.name, ctf)
136
+ return matlab_result
137
+ except Exception as ex:
138
+ raise ex
139
+
140
+ return func
@@ -0,0 +1,56 @@
1
+ # Copyright 2014, The MathWorks, Inc.
2
+ #
3
+
4
+ import os
5
+
6
+
7
+ class MATLABException(Exception):
8
+ def __init__(self, matlab_error):
9
+ self.ml_error_message = matlab_error.message
10
+ self.ml_error_identifier = matlab_error.identifier
11
+ self.ml_error_stack = matlab_error.stack
12
+
13
+ def __repr__(self):
14
+ return self.ml_error_message + os.linesep + self.ml_error_identifier
15
+
16
+ def __str__(self):
17
+ stack = ''
18
+ for s in self.ml_error_stack:
19
+ stack += 'Error in => file: ' + s.file + ',function name: ' + \
20
+ s.name + ',at line: ' + str(s.line) + os.linesep
21
+ return self.ml_error_message + os.linesep + stack
22
+
23
+
24
+ class NargoutMismatchError(Exception):
25
+ def __init__(self, function_name, matlab_params, matlab_result):
26
+ self.ml_params = matlab_params
27
+ self.ml_result = matlab_result
28
+ self.ml_func = function_name
29
+
30
+ def __str__(self):
31
+ return "Incorrect number of outputs returned from MATLAB. " \
32
+ "MATLAB Returned " + len(self.ml_result.lhs) + \
33
+ " number of outputs. " + "Method ," + self.ml_func + \
34
+ ", expected " + self.ml_params.nargout + " number of outputs."
35
+
36
+
37
+ class IllegalStateError(Exception):
38
+ def __init__(self, value):
39
+ self._value = value
40
+
41
+ def __str__(self):
42
+ return self._value
43
+
44
+ def __repr__(self):
45
+ return self._value
46
+
47
+
48
+ class InvalidSchemeError(Exception):
49
+ def __init__(self, value):
50
+ self._value = value
51
+
52
+ def __str__(self):
53
+ return self._value
54
+
55
+ def __repr__(self):
56
+ return self._value
@@ -0,0 +1,27 @@
1
+ Copyright (c) 2025, The MathWorks, Inc.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are
6
+ met:
7
+
8
+ * Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+ * Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in
12
+ the documentation and/or other materials provided with the distribution
13
+ * Neither the name of the The MathWorks, Inc. nor the names
14
+ of its contributors may be used to endorse or promote products derived
15
+ from this software without specific prior written permission.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
+ POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,94 @@
1
+ Metadata-Version: 2.2
2
+ Name: matlab-prodserver-client
3
+ Version: 24.2
4
+ Summary: A package to invoke MATLAB functions, deployed on MATLAB Production Server, from Python
5
+ Home-page: https://www.mathworks.com/
6
+ Author: The MathWorks, Inc.
7
+ License: BSD License (Copyright (c) 2025, The MathWorks, Inc.
8
+ All rights reserved.
9
+
10
+ Redistribution and use in source and binary forms, with or without
11
+ modification, are permitted provided that the following conditions are
12
+ met:
13
+
14
+ * Redistributions of source code must retain the above copyright
15
+ notice, this list of conditions and the following disclaimer.
16
+ * Redistributions in binary form must reproduce the above copyright
17
+ notice, this list of conditions and the following disclaimer in
18
+ the documentation and/or other materials provided with the distribution
19
+ * Neither the name of the The MathWorks, Inc. nor the names
20
+ of its contributors may be used to endorse or promote products derived
21
+ from this software without specific prior written permission.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
27
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33
+ POSSIBILITY OF SUCH DAMAGE.
34
+ )
35
+ Platform: Linux
36
+ Platform: Windows
37
+ Platform: macOS
38
+ Description-Content-Type: text/markdown
39
+ License-File: LICENSE.txt
40
+ Dynamic: author
41
+ Dynamic: description
42
+ Dynamic: description-content-type
43
+ Dynamic: home-page
44
+ Dynamic: license
45
+ Dynamic: platform
46
+ Dynamic: summary
47
+
48
+ # MATLAB Production Server client library for Python
49
+
50
+ The MATLAB Production Server client library for Python provides a way to remotely execute MATLAB based analytics (MATLAB functions or Simulink simulations) hosted on MATLAB Production Server.
51
+
52
+ ---
53
+ ## Requirements
54
+ ### Required MathWorks Products
55
+ * MATLAB Production Server
56
+
57
+ ### Required 3rd Party Products
58
+ * Python
59
+ * Supported Python versions by MATLAB release can be found [here](https://www.mathworks.com/support/requirements/python-compatibility.html).
60
+
61
+ ---
62
+
63
+ ## Install
64
+
65
+ The MATLAB Production Server client library for Python can be installed directly from the Python Package Index.
66
+ ```bash
67
+ $ python -m pip install matlab-prodserver-client
68
+ ```
69
+
70
+ ---
71
+
72
+ ## Getting Started
73
+
74
+ Please visit the [MATLAB Production Server official documentation for Python client](https://www.mathworks.com/help/mps/python-client-programming.html) for detailed information on how to use it.
75
+
76
+ ---
77
+
78
+ ## Support
79
+ For technical issues or enhancement requests please contact MathWorks tech support [here](https://supportcases.mathworks.com/mwsupport/s/casetypeselection?language=en_US&c__caseParameter=productusage&s_tid=srlp_product).
80
+
81
+ ---
82
+
83
+ ## Reporting Security Vulnerabilities
84
+
85
+ If you believe you have discovered a security vulnerability, please report it to
86
+ [security@mathworks.com](mailto:security@mathworks.com). Please see
87
+ [MathWorks Vulnerability Disclosure Policy for Security Researchers](https://www.mathworks.com/company/aboutus/policies_statements/vulnerability-disclosure-policy.html)
88
+ for additional information.
89
+
90
+ ---
91
+
92
+ Copyright &copy; 2025 The MathWorks, Inc. All rights reserved.
93
+
94
+ "Python" and the Python logos are trademarks or registered trademarks of the Python Software Foundation, used by MathWorks with permission from the Foundation.
@@ -0,0 +1,77 @@
1
+ six.py,sha256=fZVYyUjpuR_05Oq3fi9A8-g3M0aXqF-81Ow3oOzJh_Y,32463
2
+ google/__init__.py,sha256=LubottSqwmEzrURsbMX5GXbWr38jaLMKXzmocz1hpUY,173
3
+ google/protobuf_ml/__init__.py,sha256=yTG793SrUKlF34S1MJJhU0mZ8sXg101tobXaL4fRRms,1705
4
+ google/protobuf_ml/descriptor.py,sha256=6s_IQERkb3LBsZdMqa1zs5TxKKGEW6KAGOLzK15COV8,46788
5
+ google/protobuf_ml/descriptor_database.py,sha256=2hBUBbzWjTdyq0nLZ9HYKbqhMpouzZVk9srurERnLVo,6819
6
+ google/protobuf_ml/descriptor_pb2.py,sha256=Tu9F0msUQXeefzhHlmBtigdR0_jMXmNd3U8EKpVWyhE,109579
7
+ google/protobuf_ml/descriptor_pool.py,sha256=Uk6e71a7FHXT_IXqCP1kBfN4VBj5rrX1ZCOU97CblBw,47296
8
+ google/protobuf_ml/json_format.py,sha256=upipyCLJu_18m7tkZli_wmvXRqs89G25EIJzCNCxxXs,35709
9
+ google/protobuf_ml/message.py,sha256=7f2-WG8C1nN9JFdAEKsxkDDIvFrmkOIBZIcYZU89DkI,14529
10
+ google/protobuf_ml/message_factory.py,sha256=I9uVmvBnNPaXBglm0FUFGaLafTRDs63mAOERf0sm9c0,7709
11
+ google/protobuf_ml/proto_builder.py,sha256=3hQ0U6jbUnZBbePAOUOrAWBLbAMquQka50dYeike0PQ,5515
12
+ google/protobuf_ml/reflection.py,sha256=PqzwvVMPc-OzvlpJ6F269r4L-0waK1kBQj6VbNSCIXg,3785
13
+ google/protobuf_ml/service.py,sha256=MGWgoxTrSlmqWsgXvp1XaP5Sg-_pq8Sw2XJuY1m6MVM,9146
14
+ google/protobuf_ml/service_reflection.py,sha256=5hBr8Q4gTgg3MT4NZoTxRSjTaxzLtNSG-8cXa5nHXaQ,11417
15
+ google/protobuf_ml/symbol_database.py,sha256=-as66hZhTML8edf45ks6C48Baz2dVTaENxiFiLobtF8,6956
16
+ google/protobuf_ml/text_encoding.py,sha256=IrfncP112lKMLnWhhjXoczxEv2RZ9kzlinzAzHstrlY,4728
17
+ google/protobuf_ml/text_format.py,sha256=MyOhij31WFr088SX0hPPk7Hcz4IzbfoRdguo-lZqZ2k,62166
18
+ google/protobuf_ml/unknown_fields.py,sha256=uQuLqnUxETRc2FHdFiNvgPagvvgYuyL_-YZV3au4FOE,4495
19
+ google/protobuf_ml/internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
+ google/protobuf_ml/internal/_parameterized.py,sha256=hG_QLY2YhJWDJnS_yB_29a1CDoIQPhtCW7adbSgW-kI,15417
21
+ google/protobuf_ml/internal/api_implementation.py,sha256=f3I0-0-wxBROxW33q7anBia7czt9EJQL4MCpi4kHKMw,6220
22
+ google/protobuf_ml/internal/builder.py,sha256=9-xj4SL9KnDxsoRkkG5TioFLDUQA_AdGmzvfaFCgBc0,5206
23
+ google/protobuf_ml/internal/containers.py,sha256=sO13j-YsoRfGEvfnqjFUcnh1xaYQ55FXxjcgHYGi2z4,23326
24
+ google/protobuf_ml/internal/decoder.py,sha256=1oU_xTBMrGGxqDzX4bll6aMsJ3qRHtIkRTWnSDjX5H8,38851
25
+ google/protobuf_ml/internal/descriptor_database_test.py,sha256=ZVJxS54qQd7Qad1HT4x80DJOvzyQAD5v2Um2TADidTI,6000
26
+ google/protobuf_ml/internal/descriptor_pool_test.py,sha256=fK3JJLMnj09VFB9MJVKBbGJwXgOAYpAcj4NzJx0Eje8,50792
27
+ google/protobuf_ml/internal/descriptor_test.py,sha256=vV8HoMJkbp-z75YQ4MgChg5ft-HTbw6prOAK_sWkPgg,44392
28
+ google/protobuf_ml/internal/encoder.py,sha256=sXwe2Ljhqo9vkfg-W3FnscN83EeMuKOkzoo0ddwU0nA,28659
29
+ google/protobuf_ml/internal/enum_type_wrapper.py,sha256=PKWYYZRexjkl4KrMnGa6Csq2xbKFXoqsWbwYHvJ0yiM,4821
30
+ google/protobuf_ml/internal/extension_dict.py,sha256=EWwQPAAqmmkcXw9AtxjdeIPSx-TM7KtLaYJVLXS_3TE,8449
31
+ google/protobuf_ml/internal/generator_test.py,sha256=VsGVGO2VmUGQeC8M7yw2fNahBVmNYFvNMT-xHOBZHbQ,15196
32
+ google/protobuf_ml/internal/import_test.py,sha256=0ZClEfw1T0hqxTPpV6jqIDvShsNVDsvA0St_N3LAXxI,2068
33
+ google/protobuf_ml/internal/json_format_test.py,sha256=Ei2nVM1rMQXcIelMZKI4OtO7YK9XpxY9hTUMop3-FeI,53060
34
+ google/protobuf_ml/internal/keywords_test.py,sha256=F3Yudv07l2yg9S4NqQTJom64BkC2rZYxrXnFduXfbes,4171
35
+ google/protobuf_ml/internal/message_factory_test.py,sha256=ydJY9pVOHyVKrYEEmriLcKLNGwfAygRU-9A2ufhzy9g,13134
36
+ google/protobuf_ml/internal/message_listener.py,sha256=Qwc5gkifAvWzhm3b0v-nXJkozNTgL-L92XAslngFaow,3367
37
+ google/protobuf_ml/internal/message_test.py,sha256=xdwTXj7ELz5jLxsC4K-4VCFaNkU9XN1qxIAl0QPKGYY,104361
38
+ google/protobuf_ml/internal/proto_builder_test.py,sha256=ipwNmpLVtYCLSF83wBcjWPXTniRsGnqJgsGAuQW7m6A,4438
39
+ google/protobuf_ml/internal/python_message.py,sha256=VR_5-hUyES1ZCojJ7KnzkdEmuJXImrMUaqV0SuVBH0o,58191
40
+ google/protobuf_ml/internal/reflection_test.py,sha256=-8XIrxByMMTazaWot4p9Z2Ekh21URCAmalHII7XXq_A,139539
41
+ google/protobuf_ml/internal/service_reflection_test.py,sha256=jTTV36B50W7IIPzTpUVnz-mk6YI-9oIx2ewuCqaFMow,5334
42
+ google/protobuf_ml/internal/symbol_database_test.py,sha256=mLeXA6SPUcENpiSqAD-YsOYTyrvFaBJ-vE_lM-G-BwU,5590
43
+ google/protobuf_ml/internal/test_util.py,sha256=ZSNAol7RYwg7O0za1jeZH_QjtM91sg_HBgNpoqvrJIo,34456
44
+ google/protobuf_ml/internal/testing_refleaks.py,sha256=tc3QkAgN7ROpKixi-EXnD2bhlndWHJ7WpmImxKo6ZMM,5439
45
+ google/protobuf_ml/internal/text_encoding_test.py,sha256=ek8dDEVA96iNqQL6_wg-dhDk7xFzPV0jX3hAE88yPtk,2819
46
+ google/protobuf_ml/internal/text_format_test.py,sha256=Ea9YD4j6AZsjpBH9C7jA9dj7YAsWW-HigAkRPtt7ZoA,98242
47
+ google/protobuf_ml/internal/type_checkers.py,sha256=2T5T4MihJ3kebYtHnTl2PytTmLks5T73FlTh-MQfwOM,16924
48
+ google/protobuf_ml/internal/unknown_fields_test.py,sha256=KGQUm8w_p7gmcZP4QkRK73V46PxK_YBWhxLgu4icBjM,19832
49
+ google/protobuf_ml/internal/well_known_types.py,sha256=OpgVyX8OjhUddJwh8dBAviErBB5gAK2UDqkIP_U2o74,30321
50
+ google/protobuf_ml/internal/well_known_types_test.py,sha256=cTHEBieq_suvlarhqgZDqvO1h_5q5otZ3uencKrz-CU,40445
51
+ google/protobuf_ml/internal/wire_format.py,sha256=990j_dMnN3BB_gSp34UKq1Dhe3k1ulWd2Si9qw3lLro,8453
52
+ google/protobuf_ml/internal/wire_format_test.py,sha256=k6vi5gpJTk31tMDduQ5ECOTAcpeSJhVrIQpph8olUsU,10849
53
+ matlab/__init__.py,sha256=uW73Em7cWW3ZOVWpzJnyee6Z3r9RCvNrx8i1RPRuxoc,1358
54
+ matlab/bin/win64/libmwfoundation_matlabdata.dll,sha256=uEZN0Zn_HYt3uZ1vTG7ZKd9ZNRRcxNqfmcus81WrlUg,1857320
55
+ matlab/bin/win64/libmwfoundation_matlabdata_standalone.dll,sha256=HFx15RCgtapuSOhF_sPWVYFTmRrk4jIgnjT2rxeoP_4,960808
56
+ matlab/extern/bin/win64/libMatlabDataArray.dll,sha256=CdEEYmEot1r-WwuyY2Id8kA8y54aWvAFdAom8pUcUs0,103208
57
+ matlab/extern/bin/win64/matlabmultidimarrayforpython.cp310-win_amd64.pyd,sha256=_5EJP4fKazlkahx09q6CpibpLXr41bx9BUoZy9O-_qQ,2206208
58
+ matlab/extern/bin/win64/matlabmultidimarrayforpython.cp39-win_amd64.pyd,sha256=M6FWeVFITBmFU4NtOlYC90Y_Mde3wR7s2IUvYFLU5yc,2209280
59
+ matlab/extern/bin/win64/matlabmultidimarrayforpython.pyd,sha256=uuCJi3lgtIOpckIsu9BMyrKB6dFLWwRstZMfI8KKdYo,2201088
60
+ matlab/production_server/__init__.py,sha256=3nrQiXhgINq37RC7suF08WVcpS7Gyqmp3S1BxkN4zgI,35
61
+ matlab/production_server/client.py,sha256=kvexIW1L1l_Qsf52Ufz8LvTEO0obltsqRARpScCtmjw,4420
62
+ matlab/production_server/mpsexceptions.py,sha256=l1GYyEyu122YrohbRm-0WLvcElq2QlKwUEODqTLfaIU,1605
63
+ matlab/production_server/_internal_mps/__init__.py,sha256=W0IHWDMaGSzawIv_-42pxtfhkrQ-tA1xCQlO6eCNDLc,40
64
+ matlab/production_server/_internal_mps/feval_handler.py,sha256=xTz2P2i3m2s_b7B2mnd8_qjDt9YycelWPvidficGKck,3169
65
+ matlab/production_server/_internal_mps/invocation_handler_utils.py,sha256=Ib1JSkTKLbWXkBEUbc6BMkj2h7ztSR4Fqjo3VzeHhSM,1807
66
+ matlab/production_server/_internal_mps/matlab_array_builder.py,sha256=SuHv7aJU-uEcMn-GFofmFwqusGPl6-k5gZLQG8rxKc4,7756
67
+ matlab/production_server/_internal_mps/matlab_response_builder.py,sha256=BfUfAlFvGtPdrpIrzNDVHkm_pXbPIXFutcdQUjNjnfc,6006
68
+ matlab/production_server/_proto_generated/MATLABArray_pb2.py,sha256=mp6gyNf73ENa3iYEjAJifH_bzFnlqeqibB9S22k-vt0,15381
69
+ matlab/production_server/_proto_generated/MATLABError_pb2.py,sha256=aX8EouZR-cheoczVXn6ziW4mwo6ybdHfYCfkaAbX9vM,1551
70
+ matlab/production_server/_proto_generated/MATLABParams_pb2.py,sha256=51cNS7zeVGgvJqhuBKgOMlttlPrZTK4u2KhqCvj5izU,1136
71
+ matlab/production_server/_proto_generated/MATLABResult_pb2.py,sha256=Hq5C-5MHTMz0xQ6aKuIwrEruYaHGbuApjFOwRAan0hg,1231
72
+ matlab/production_server/_proto_generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
+ matlab_prodserver_client-24.2.dist-info/LICENSE.txt,sha256=87KZpnLNJ72pynyR1u3qx8JcHs_CMmMf06cCt9J8f0g,1528
74
+ matlab_prodserver_client-24.2.dist-info/METADATA,sha256=-DY6NoMZ3ziyRZJW49I6kQz-fGtVSdtf0LXULiCv2-E,4142
75
+ matlab_prodserver_client-24.2.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
76
+ matlab_prodserver_client-24.2.dist-info/top_level.txt,sha256=E2N7OM4ZT65S0_Q3GGipPwpJcBx9VhRilBWfDz3p8i0,18
77
+ matlab_prodserver_client-24.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (76.1.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,3 @@
1
+ google
2
+ matlab
3
+ six