iris-pex-embedded-python 3.0.1b7__tar.gz → 3.0.1b9__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.

Potentially problematic release.


This version of iris-pex-embedded-python might be problematic. Click here for more details.

Files changed (150) hide show
  1. {iris_pex_embedded_python-3.0.1b7/src/iris_pex_embedded_python.egg-info → iris_pex_embedded_python-3.0.1b9}/PKG-INFO +2 -1
  2. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/pyproject.toml +3 -2
  3. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_business_host.py +33 -0
  4. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/Common.cls +23 -0
  5. iris_pex_embedded_python-3.0.1b9/src/iris/_cli.py +38 -0
  6. iris_pex_embedded_python-3.0.1b9/src/iris/iris_utils.py +336 -0
  7. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9/src/iris_pex_embedded_python.egg-info}/PKG-INFO +2 -1
  8. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iris_pex_embedded_python.egg-info/SOURCES.txt +2 -0
  9. iris_pex_embedded_python-3.0.1b9/src/iris_pex_embedded_python.egg-info/requires.txt +3 -0
  10. iris_pex_embedded_python-3.0.1b7/src/iris_pex_embedded_python.egg-info/requires.txt +0 -2
  11. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/LICENSE +0 -0
  12. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/README.md +0 -0
  13. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/setup.cfg +0 -0
  14. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/setup.py +0 -0
  15. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/__init__.py +0 -0
  16. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/BusinessOperation.cls +0 -0
  17. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/BusinessProcess.cls +0 -0
  18. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/BusinessService.cls +0 -0
  19. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/Common.cls +0 -0
  20. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/Director.cls +0 -0
  21. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/Duplex/Operation.cls +0 -0
  22. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/Duplex/Process.cls +0 -0
  23. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/Duplex/Service.cls +0 -0
  24. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/InboundAdapter.cls +0 -0
  25. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/Message.cls +0 -0
  26. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/OutboundAdapter.cls +0 -0
  27. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/PickleMessage.cls +0 -0
  28. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/PrivateSession/Duplex.cls +0 -0
  29. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Ack.cls +0 -0
  30. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls +0 -0
  31. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls +0 -0
  32. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Stop.cls +0 -0
  33. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/Test.cls +0 -0
  34. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/PEX/Utils.cls +0 -0
  35. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/cls/Grongier/Service/WSGI.cls +0 -0
  36. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/pex/__init__.py +0 -0
  37. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/pex/__main__.py +0 -0
  38. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/pex/_business_host.py +0 -0
  39. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/pex/_cli.py +0 -0
  40. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/pex/_common.py +0 -0
  41. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/pex/_director.py +0 -0
  42. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/pex/_utils.py +0 -0
  43. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/grongier/pex/wsgi/handlers.py +0 -0
  44. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_BufferReader.py +0 -0
  45. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_BufferWriter.py +0 -0
  46. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_ConnectionInformation.py +0 -0
  47. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_ConnectionParameters.py +0 -0
  48. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_Constant.py +0 -0
  49. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_DBList.py +0 -0
  50. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_Device.py +0 -0
  51. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_GatewayContext.py +0 -0
  52. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_GatewayException.py +0 -0
  53. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_GatewayUtility.py +0 -0
  54. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRIS.py +0 -0
  55. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISConnection.py +0 -0
  56. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISEmbedded.py +0 -0
  57. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISGlobalNode.py +0 -0
  58. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISGlobalNodeView.py +0 -0
  59. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISIterator.py +0 -0
  60. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISList.py +0 -0
  61. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISNative.py +0 -0
  62. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISOREF.py +0 -0
  63. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISObject.py +0 -0
  64. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_IRISReference.py +0 -0
  65. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_InStream.py +0 -0
  66. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_LegacyIterator.py +0 -0
  67. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_ListItem.py +0 -0
  68. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_ListReader.py +0 -0
  69. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_ListWriter.py +0 -0
  70. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_LogFileStream.py +0 -0
  71. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_MessageHeader.py +0 -0
  72. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_OutStream.py +0 -0
  73. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_PrintStream.py +0 -0
  74. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_PythonGateway.py +0 -0
  75. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/_SharedMemorySocket.py +0 -0
  76. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/__init__.py +0 -0
  77. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/__main__.py +0 -0
  78. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/_Column.py +0 -0
  79. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/_DBAPI.py +0 -0
  80. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/_Descriptor.py +0 -0
  81. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/_IRISStream.py +0 -0
  82. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/_Message.py +0 -0
  83. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/_Parameter.py +0 -0
  84. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/_ParameterCollection.py +0 -0
  85. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/_ResultSetRow.py +0 -0
  86. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/_SQLType.py +0 -0
  87. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/__init__.py +0 -0
  88. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/preparser/_PreParser.py +0 -0
  89. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/preparser/_Scanner.py +0 -0
  90. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/preparser/_Token.py +0 -0
  91. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/preparser/_TokenList.py +0 -0
  92. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/dbapi/preparser/__init__.py +0 -0
  93. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_BusinessHost.py +0 -0
  94. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_BusinessOperation.py +0 -0
  95. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_BusinessProcess.py +0 -0
  96. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_BusinessService.py +0 -0
  97. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_Common.py +0 -0
  98. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_Director.py +0 -0
  99. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_IRISBusinessOperation.py +0 -0
  100. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_IRISBusinessService.py +0 -0
  101. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_IRISInboundAdapter.py +0 -0
  102. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_IRISOutboundAdapter.py +0 -0
  103. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_InboundAdapter.py +0 -0
  104. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_Message.py +0 -0
  105. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/_OutboundAdapter.py +0 -0
  106. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/intersystems_iris/pex/__init__.py +0 -0
  107. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/__init__.py +0 -0
  108. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/__main__.py +0 -0
  109. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_business_operation.py +0 -0
  110. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_business_process.py +0 -0
  111. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_business_service.py +0 -0
  112. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_cli.py +0 -0
  113. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_common.py +0 -0
  114. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_director.py +0 -0
  115. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_inbound_adapter.py +0 -0
  116. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_message.py +0 -0
  117. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_outbound_adapter.py +0 -0
  118. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_pickle_message.py +0 -0
  119. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_private_session_duplex.py +0 -0
  120. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_private_session_process.py +0 -0
  121. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/_utils.py +0 -0
  122. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/BusinessOperation.cls +0 -0
  123. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/BusinessProcess.cls +0 -0
  124. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/BusinessService.cls +0 -0
  125. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/Director.cls +0 -0
  126. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/Duplex/Operation.cls +0 -0
  127. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/Duplex/Process.cls +0 -0
  128. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/Duplex/Service.cls +0 -0
  129. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/InboundAdapter.cls +0 -0
  130. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/Message.cls +0 -0
  131. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/OutboundAdapter.cls +0 -0
  132. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/PickleMessage.cls +0 -0
  133. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/PrivateSession/Duplex.cls +0 -0
  134. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/PrivateSession/Message/Ack.cls +0 -0
  135. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/PrivateSession/Message/Poll.cls +0 -0
  136. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/PrivateSession/Message/Start.cls +0 -0
  137. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/PrivateSession/Message/Stop.cls +0 -0
  138. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/Service/WSGI.cls +0 -0
  139. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/Test.cls +0 -0
  140. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/cls/IOP/Utils.cls +0 -0
  141. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iop/wsgi/handlers.py +0 -0
  142. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iris/__init__.py +0 -0
  143. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iris/__init__.pyi +0 -0
  144. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iris/iris_ipm.py +0 -0
  145. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iris/iris_ipm.pyi +0 -0
  146. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iris_pex_embedded_python.egg-info/dependency_links.txt +0 -0
  147. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iris_pex_embedded_python.egg-info/entry_points.txt +0 -0
  148. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/iris_pex_embedded_python.egg-info/top_level.txt +0 -0
  149. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/irisnative/_IRISNative.py +0 -0
  150. {iris_pex_embedded_python-3.0.1b7 → iris_pex_embedded_python-3.0.1b9}/src/irisnative/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iris_pex_embedded_python
3
- Version: 3.0.1b7
3
+ Version: 3.0.1b9
4
4
  Summary: Iris Interoperability based on Embedded Python
5
5
  Author-email: grongier <guillaume.rongier@intersystems.com>
6
6
  License: MIT License
@@ -45,6 +45,7 @@ Description-Content-Type: text/markdown
45
45
  License-File: LICENSE
46
46
  Requires-Dist: dacite>=1.6.0
47
47
  Requires-Dist: xmltodict>=0.12.0
48
+ Requires-Dist: iris-embedded-python-wrapper>=0.0.6
48
49
 
49
50
  # 1. interoperability-embedded-python
50
51
 
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
3
3
 
4
4
  [project]
5
5
  name = "iris_pex_embedded_python"
6
- version = "3.0.1b7"
6
+ version = "3.0.1b9"
7
7
  description = "Iris Interoperability based on Embedded Python"
8
8
  readme = "README.md"
9
9
  authors = [
@@ -27,7 +27,8 @@ classifiers = [
27
27
 
28
28
  dependencies = [
29
29
  "dacite >=1.6.0",
30
- "xmltodict>=0.12.0"
30
+ "xmltodict>=0.12.0",
31
+ "iris-embedded-python-wrapper>=0.0.6"
31
32
  ]
32
33
 
33
34
  license = { file = "LICENSE" }
@@ -152,6 +152,39 @@ class _BusinessHost(_Common):
152
152
 
153
153
  return self.iris_handle.dispatchSendRequestAsync(target,request,description)
154
154
 
155
+ def send_multi_request_sync(self, target_request:list, timeout=-1, description=None)->list:
156
+ """ Send the specified list of tuple (target,request) to business process or business operation synchronously.
157
+
158
+ Parameters:
159
+ target_request: a list of tuple (target,request) that specifies the name of the business process or operation to receive the request.
160
+ The target is the name of the component as specified in the Item Name property in the production definition, not the class name of the component.
161
+ The request is either an instance of a class that is a subclass of Message class or of IRISObject class.
162
+ timeout: an optional integer that specifies the number of seconds to wait before treating the send request as a failure. The default value is -1, which means wait forever.
163
+ description: an optional string parameter that sets a description property in the message header. The default is None.
164
+ Returns:
165
+ the list of tuple (target,request,response,status).
166
+ """
167
+ # create a list of iris.Ens.CallStructure for each target_request
168
+ call_list = []
169
+ for target,request in target_request:
170
+ call = iris.cls("Ens.CallStructure")._New()
171
+ call.TargetDispatchName = target
172
+ call.Request = self._dispatch_serializer(request)
173
+ call_list.append(call)
174
+ # call the dispatchSendMultiRequestSync method
175
+ response_list = self.iris_handle.dispatchSendRequestSyncMultiple(call_list,timeout)
176
+ # create a list of tuple (target,request,response,status)
177
+ result = []
178
+ for i in range(len(target_request)):
179
+ result.append(
180
+ (target_request[i][0],
181
+ target_request[i][1],
182
+ self._dispatch_deserializer(response_list[i].Response),
183
+ response_list[i].ResponseCode
184
+ ))
185
+ return result
186
+
187
+
155
188
  def _serialize_pickle_message(self,message):
156
189
  """ Converts a python dataclass message into an iris iop.message.
157
190
 
@@ -149,6 +149,29 @@ Method dispatchSendRequestSync(
149
149
  quit $g(objResponse)
150
150
  }
151
151
 
152
+ Method dispatchSendRequestSyncMultiple(
153
+ pCallStructList As %List,
154
+ pTimeout As %Numeric = -1) As %List
155
+ {
156
+ set builtins = ##class(%SYS.Python).Import("builtins")
157
+ // Convert %List to multidimensional array
158
+ set tCallStructList=builtins.len(pCallStructList)
159
+ for i=0:1:builtins.len(pCallStructList)-1 {
160
+ set tCallStructList(i+1) = pCallStructList."__getitem__"(i)
161
+ }
162
+
163
+ set tSC = ..SendRequestSyncMultiple(.tCallStructList,pTimeout)
164
+ if $$$ISERR(tSC) throw ##class(%Exception.StatusException).CreateFromStatus(tSC)
165
+
166
+ // Convert multidimensional array to Python list
167
+ set tResponseList = builtins.list()
168
+
169
+ for i=1:1:tCallStructList {
170
+ do tResponseList.append(tCallStructList(i))
171
+ }
172
+ quit tResponseList
173
+ }
174
+
152
175
  Method dispatchSendRequestAsync(
153
176
  target,
154
177
  request,
@@ -0,0 +1,38 @@
1
+ import os
2
+ import sys
3
+ import argparse
4
+
5
+ from . import iris_utils
6
+ import iris
7
+
8
+
9
+ def bind():
10
+ parser = argparse.ArgumentParser()
11
+ parser.add_argument("--namespace", default="")
12
+
13
+ args = parser.parse_args()
14
+
15
+ libpython = iris_utils.find_libpython()
16
+ if not libpython:
17
+ raise RuntimeError("libpython not found")
18
+
19
+ iris.system.Process.SetNamespace("%SYS")
20
+ config = iris.cls("Config.config").Open()
21
+
22
+ # Set the new libpython path
23
+ config.PythonRuntimeLibrary = libpython
24
+ # Set the new PythonPath to VIRTUAL_ENV + "/lib" + "/python+" + sys.version[:4] + "/site-packages
25
+ config.PythonPath = os.path.join(os.environ["VIRTUAL_ENV"], "lib", "python" + sys.version[:4], "site-packages")
26
+
27
+ config._Save()
28
+
29
+ def unbind():
30
+ iris.system.Process.SetNamespace("%SYS")
31
+ config = iris.cls("Config.config").Open()
32
+
33
+ # Set the new libpython path
34
+ config.PythonRuntimeLibrary = ""
35
+ # Set the new PythonPath to VIRTUAL_ENV + "/lib" + "/python+" + sys.version[:4] + "/site-packages
36
+ config.PythonPath = ""
37
+
38
+ config._Save()
@@ -0,0 +1,336 @@
1
+ """
2
+ Locate libpython associated with this Python executable.
3
+ """
4
+
5
+ # License
6
+ #
7
+ # Copyright 2018, Takafumi Arakaki
8
+ #
9
+ # Permission is hereby granted, free of charge, to any person obtaining
10
+ # a copy of this software and associated documentation files (the
11
+ # "Software"), to deal in the Software without restriction, including
12
+ # without limitation the rights to use, copy, modify, merge, publish,
13
+ # distribute, sublicense, and/or sell copies of the Software, and to
14
+ # permit persons to whom the Software is furnished to do so, subject to
15
+ # the following conditions:
16
+ #
17
+ # The above copyright notice and this permission notice shall be
18
+ # included in all copies or substantial portions of the Software.
19
+ #
20
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21
+ # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22
+ # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23
+ # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
24
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
25
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
26
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
+
28
+ from __future__ import print_function, absolute_import
29
+
30
+ from logging import getLogger
31
+ import ctypes.util
32
+ import functools
33
+ import os
34
+ import sys
35
+ import sysconfig
36
+ import re
37
+
38
+ logger = getLogger("find_libpython")
39
+
40
+ is_windows = os.name == "nt"
41
+ is_apple = sys.platform == "darwin"
42
+
43
+ SHLIB_SUFFIX = sysconfig.get_config_var("SHLIB_SUFFIX")
44
+ if SHLIB_SUFFIX is None:
45
+ if is_windows:
46
+ SHLIB_SUFFIX = ".dll"
47
+ else:
48
+ SHLIB_SUFFIX = ".so"
49
+ if is_apple:
50
+ # sysconfig.get_config_var("SHLIB_SUFFIX") can be ".so" in macOS.
51
+ # Let's not use the value from sysconfig.
52
+ SHLIB_SUFFIX = ".dylib"
53
+
54
+
55
+ def linked_libpython():
56
+ """
57
+ Find the linked libpython using dladdr (in *nix).
58
+
59
+ Calling this in Windows always return `None` at the moment.
60
+
61
+ Returns
62
+ -------
63
+ path : str or None
64
+ A path to linked libpython. Return `None` if statically linked.
65
+ """
66
+ if is_windows:
67
+ return None
68
+ return _linked_libpython_unix()
69
+
70
+
71
+ class Dl_info(ctypes.Structure):
72
+ _fields_ = [
73
+ ("dli_fname", ctypes.c_char_p),
74
+ ("dli_fbase", ctypes.c_void_p),
75
+ ("dli_sname", ctypes.c_char_p),
76
+ ("dli_saddr", ctypes.c_void_p),
77
+ ]
78
+
79
+
80
+ def _linked_libpython_unix():
81
+ libdl = ctypes.CDLL(ctypes.util.find_library("dl"))
82
+ libdl.dladdr.argtypes = [ctypes.c_void_p, ctypes.POINTER(Dl_info)]
83
+ libdl.dladdr.restype = ctypes.c_int
84
+
85
+ dlinfo = Dl_info()
86
+ retcode = libdl.dladdr(
87
+ ctypes.cast(ctypes.pythonapi.Py_GetVersion, ctypes.c_void_p),
88
+ ctypes.pointer(dlinfo))
89
+ if retcode == 0: # means error
90
+ return None
91
+ path = os.path.realpath(dlinfo.dli_fname.decode())
92
+ if path == os.path.realpath(sys.executable):
93
+ return None
94
+ return path
95
+
96
+
97
+ def library_name(name, suffix=SHLIB_SUFFIX, is_windows=is_windows):
98
+ """
99
+ Convert a file basename `name` to a library name (no "lib" and ".so" etc.)
100
+
101
+ >>> library_name("libpython3.7m.so") # doctest: +SKIP
102
+ 'python3.7m'
103
+ >>> library_name("libpython3.7m.so", suffix=".so", is_windows=False)
104
+ 'python3.7m'
105
+ >>> library_name("libpython3.7m.dylib", suffix=".dylib", is_windows=False)
106
+ 'python3.7m'
107
+ >>> library_name("python37.dll", suffix=".dll", is_windows=True)
108
+ 'python37'
109
+ """
110
+ if not is_windows and name.startswith("lib"):
111
+ name = name[len("lib"):]
112
+ if suffix and name.endswith(suffix):
113
+ name = name[:-len(suffix)]
114
+ return name
115
+
116
+
117
+ def append_truthy(list, item):
118
+ if item:
119
+ list.append(item)
120
+
121
+
122
+ def uniquifying(items):
123
+ """
124
+ Yield items while excluding the duplicates and preserving the order.
125
+
126
+ >>> list(uniquifying([1, 2, 1, 2, 3]))
127
+ [1, 2, 3]
128
+ """
129
+ seen = set()
130
+ for x in items:
131
+ if x not in seen:
132
+ yield x
133
+ seen.add(x)
134
+
135
+
136
+ def uniquified(func):
137
+ """ Wrap iterator returned from `func` by `uniquifying`. """
138
+ @functools.wraps(func)
139
+ def wrapper(*args, **kwds):
140
+ return uniquifying(func(*args, **kwds))
141
+ return wrapper
142
+
143
+
144
+ @uniquified
145
+ def candidate_names(suffix=SHLIB_SUFFIX):
146
+ """
147
+ Iterate over candidate file names of libpython.
148
+
149
+ Yields
150
+ ------
151
+ name : str
152
+ Candidate name libpython.
153
+ """
154
+ LDLIBRARY = sysconfig.get_config_var("LDLIBRARY")
155
+ if LDLIBRARY:
156
+ yield LDLIBRARY
157
+
158
+ LIBRARY = sysconfig.get_config_var("LIBRARY")
159
+ if LIBRARY:
160
+ yield os.path.splitext(LIBRARY)[0] + suffix
161
+
162
+ dlprefix = "" if is_windows else "lib"
163
+ sysdata = dict(
164
+ v=sys.version_info,
165
+ # VERSION is X.Y in Linux/macOS and XY in Windows:
166
+ VERSION=(sysconfig.get_config_var("VERSION") or
167
+ "{v.major}.{v.minor}".format(v=sys.version_info)),
168
+ ABIFLAGS=(sysconfig.get_config_var("ABIFLAGS") or
169
+ sysconfig.get_config_var("abiflags") or ""),
170
+ )
171
+
172
+ for stem in [
173
+ "python{VERSION}{ABIFLAGS}".format(**sysdata),
174
+ "python{VERSION}".format(**sysdata),
175
+ "python{v.major}".format(**sysdata),
176
+ "python",
177
+ ]:
178
+ yield dlprefix + stem + suffix
179
+
180
+
181
+
182
+ @uniquified
183
+ def candidate_paths(suffix=SHLIB_SUFFIX):
184
+ """
185
+ Iterate over candidate paths of libpython.
186
+
187
+ Yields
188
+ ------
189
+ path : str or None
190
+ Candidate path to libpython. The path may not be a fullpath
191
+ and may not exist.
192
+ """
193
+
194
+ yield linked_libpython()
195
+
196
+ # List candidates for directories in which libpython may exist
197
+ lib_dirs = []
198
+ append_truthy(lib_dirs, sysconfig.get_config_var('LIBPL'))
199
+ append_truthy(lib_dirs, sysconfig.get_config_var('srcdir'))
200
+ append_truthy(lib_dirs, sysconfig.get_config_var("LIBDIR"))
201
+
202
+ # LIBPL seems to be the right config_var to use. It is the one
203
+ # used in python-config when shared library is not enabled:
204
+ # https://github.com/python/cpython/blob/v3.7.0/Misc/python-config.in#L55-L57
205
+ #
206
+ # But we try other places just in case.
207
+
208
+ if is_windows:
209
+ lib_dirs.append(os.path.join(os.path.dirname(sys.executable)))
210
+ else:
211
+ lib_dirs.append(os.path.join(
212
+ os.path.dirname(os.path.dirname(sys.executable)),
213
+ "lib"))
214
+
215
+ # For macOS:
216
+ append_truthy(lib_dirs, sysconfig.get_config_var("PYTHONFRAMEWORKPREFIX"))
217
+
218
+ lib_dirs.append(sys.exec_prefix)
219
+ lib_dirs.append(os.path.join(sys.exec_prefix, "lib"))
220
+
221
+ lib_basenames = list(candidate_names(suffix=suffix))
222
+
223
+ for directory in lib_dirs:
224
+ for basename in lib_basenames:
225
+ yield os.path.join(directory, basename)
226
+
227
+ # In macOS and Windows, ctypes.util.find_library returns a full path:
228
+ for basename in lib_basenames:
229
+ yield ctypes.util.find_library(library_name(basename))
230
+
231
+ # Possibly useful links:
232
+ # * https://packages.ubuntu.com/bionic/amd64/libpython3.6/filelist
233
+ # * https://github.com/Valloric/ycmd/issues/518
234
+ # * https://github.com/Valloric/ycmd/pull/519
235
+
236
+
237
+ def normalize_path(path, suffix=SHLIB_SUFFIX, is_apple=is_apple):
238
+ """
239
+ Normalize shared library `path` to a real path.
240
+
241
+ If `path` is not a full path, `None` is returned. If `path` does
242
+ not exists, append `SHLIB_SUFFIX` and check if it exists.
243
+ Finally, the path is canonicalized by following the symlinks.
244
+
245
+ Parameters
246
+ ----------
247
+ path : str ot None
248
+ A candidate path to a shared library.
249
+ """
250
+ if not path:
251
+ return None
252
+ if not os.path.isabs(path):
253
+ return None
254
+ if os.path.exists(path):
255
+ return os.path.realpath(path)
256
+ if os.path.exists(path + suffix):
257
+ return os.path.realpath(path + suffix)
258
+ if is_apple:
259
+ return normalize_path(_remove_suffix_apple(path),
260
+ suffix=".so", is_apple=False)
261
+ return None
262
+
263
+
264
+ def _remove_suffix_apple(path):
265
+ """
266
+ Strip off .so or .dylib.
267
+
268
+ >>> _remove_suffix_apple("libpython.so")
269
+ 'libpython'
270
+ >>> _remove_suffix_apple("libpython.dylib")
271
+ 'libpython'
272
+ >>> _remove_suffix_apple("libpython3.7")
273
+ 'libpython3.7'
274
+ """
275
+ if path.endswith(".dylib"):
276
+ return path[:-len(".dylib")]
277
+ if path.endswith(".so"):
278
+ return path[:-len(".so")]
279
+ return path
280
+
281
+
282
+ @uniquified
283
+ def finding_libpython():
284
+ """
285
+ Iterate over existing libpython paths.
286
+
287
+ The first item is likely to be the best one.
288
+
289
+ Yields
290
+ ------
291
+ path : str
292
+ Existing path to a libpython.
293
+ """
294
+ logger.debug("is_windows = %s", is_windows)
295
+ logger.debug("is_apple = %s", is_apple)
296
+ for path in candidate_paths():
297
+ logger.debug("Candidate: %s", path)
298
+ normalized = normalize_path(path)
299
+ if normalized:
300
+ logger.debug("Found: %s", normalized)
301
+ yield normalized
302
+ else:
303
+ logger.debug("Not found.")
304
+
305
+
306
+ def find_libpython():
307
+ """
308
+ Return a path (`str`) to libpython or `None` if not found.
309
+
310
+ Parameters
311
+ ----------
312
+ path : str or None
313
+ Existing path to the (supposedly) correct libpython.
314
+ """
315
+ for path in finding_libpython():
316
+ return os.path.realpath(path)
317
+
318
+ def update_dynalib_path(dynalib_path):
319
+ # Determine the environment variable based on the operating system
320
+ env_var = 'PATH'
321
+ if not sys.platform.startswith('win'):
322
+ if sys.platform == 'darwin':
323
+ env_var = 'DYLD_LIBRARY_PATH'
324
+ else:
325
+ env_var = 'LD_LIBRARY_PATH'
326
+
327
+ # Get the current value of the environment variable
328
+ current_paths = os.environ.get(env_var, '')
329
+
330
+ # Update the environment variable by appending the dynalib path
331
+ # Note: You can prepend instead by reversing the order in the join
332
+ new_paths = f"{current_paths}:{dynalib_path}" if current_paths else dynalib_path
333
+
334
+ # Update the environment variable
335
+ os.environ[env_var] = new_paths
336
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iris_pex_embedded_python
3
- Version: 3.0.1b7
3
+ Version: 3.0.1b9
4
4
  Summary: Iris Interoperability based on Embedded Python
5
5
  Author-email: grongier <guillaume.rongier@intersystems.com>
6
6
  License: MIT License
@@ -45,6 +45,7 @@ Description-Content-Type: text/markdown
45
45
  License-File: LICENSE
46
46
  Requires-Dist: dacite>=1.6.0
47
47
  Requires-Dist: xmltodict>=0.12.0
48
+ Requires-Dist: iris-embedded-python-wrapper>=0.0.6
48
49
 
49
50
  # 1. interoperability-embedded-python
50
51
 
@@ -133,8 +133,10 @@ src/iop/cls/IOP/Service/WSGI.cls
133
133
  src/iop/wsgi/handlers.py
134
134
  src/iris/__init__.py
135
135
  src/iris/__init__.pyi
136
+ src/iris/_cli.py
136
137
  src/iris/iris_ipm.py
137
138
  src/iris/iris_ipm.pyi
139
+ src/iris/iris_utils.py
138
140
  src/iris_pex_embedded_python.egg-info/PKG-INFO
139
141
  src/iris_pex_embedded_python.egg-info/SOURCES.txt
140
142
  src/iris_pex_embedded_python.egg-info/dependency_links.txt
@@ -0,0 +1,3 @@
1
+ dacite>=1.6.0
2
+ xmltodict>=0.12.0
3
+ iris-embedded-python-wrapper>=0.0.6
@@ -1,2 +0,0 @@
1
- dacite>=1.6.0
2
- xmltodict>=0.12.0