iris-pex-embedded-python 3.1.4b1__tar.gz → 3.1.5__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 (149) hide show
  1. iris_pex_embedded_python-3.1.5/PKG-INFO +88 -0
  2. iris_pex_embedded_python-3.1.5/README.md +37 -0
  3. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/pyproject.toml +4 -2
  4. iris_pex_embedded_python-3.1.5/setup.py +3 -0
  5. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_BufferReader.py +10 -0
  6. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_BufferWriter.py +32 -0
  7. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_ConnectionInformation.py +56 -0
  8. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_ConnectionParameters.py +18 -0
  9. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_Constant.py +38 -0
  10. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_DBList.py +506 -0
  11. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_Device.py +69 -0
  12. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_GatewayContext.py +25 -0
  13. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_GatewayException.py +4 -0
  14. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_GatewayUtility.py +74 -0
  15. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRIS.py +1294 -0
  16. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISConnection.py +516 -0
  17. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISEmbedded.py +85 -0
  18. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISGlobalNode.py +273 -0
  19. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISGlobalNodeView.py +25 -0
  20. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISIterator.py +143 -0
  21. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISList.py +360 -0
  22. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISNative.py +208 -0
  23. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISOREF.py +9 -0
  24. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISObject.py +424 -0
  25. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_IRISReference.py +133 -0
  26. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_InStream.py +149 -0
  27. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_LegacyIterator.py +135 -0
  28. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_ListItem.py +15 -0
  29. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_ListReader.py +84 -0
  30. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_ListWriter.py +161 -0
  31. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_LogFileStream.py +115 -0
  32. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_MessageHeader.py +51 -0
  33. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_OutStream.py +25 -0
  34. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_PrintStream.py +65 -0
  35. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_PythonGateway.py +850 -0
  36. iris_pex_embedded_python-3.1.5/src/intersystems_iris/_SharedMemorySocket.py +87 -0
  37. iris_pex_embedded_python-3.1.5/src/intersystems_iris/__init__.py +79 -0
  38. iris_pex_embedded_python-3.1.5/src/intersystems_iris/__main__.py +7 -0
  39. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/_Column.py +56 -0
  40. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/_DBAPI.py +2631 -0
  41. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/_Descriptor.py +46 -0
  42. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/_IRISStream.py +65 -0
  43. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/_Message.py +158 -0
  44. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/_Parameter.py +171 -0
  45. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/_ParameterCollection.py +141 -0
  46. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/_ResultSetRow.py +361 -0
  47. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/_SQLType.py +32 -0
  48. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/__init__.py +0 -0
  49. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/preparser/_PreParser.py +1674 -0
  50. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/preparser/_Scanner.py +391 -0
  51. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/preparser/_Token.py +81 -0
  52. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/preparser/_TokenList.py +251 -0
  53. iris_pex_embedded_python-3.1.5/src/intersystems_iris/dbapi/preparser/__init__.py +0 -0
  54. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_BusinessHost.py +101 -0
  55. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_BusinessOperation.py +105 -0
  56. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_BusinessProcess.py +214 -0
  57. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_BusinessService.py +95 -0
  58. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_Common.py +228 -0
  59. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_Director.py +24 -0
  60. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_IRISBusinessOperation.py +5 -0
  61. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_IRISBusinessService.py +18 -0
  62. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_IRISInboundAdapter.py +5 -0
  63. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_IRISOutboundAdapter.py +17 -0
  64. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_InboundAdapter.py +57 -0
  65. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_Message.py +6 -0
  66. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/_OutboundAdapter.py +46 -0
  67. iris_pex_embedded_python-3.1.5/src/intersystems_iris/pex/__init__.py +25 -0
  68. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_business_operation.py +1 -1
  69. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_business_service.py +1 -1
  70. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_director.py +19 -4
  71. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_private_session_duplex.py +2 -1
  72. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/Common.cls +7 -1
  73. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/Director.cls +4 -1
  74. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/Message.cls +12 -14
  75. iris_pex_embedded_python-3.1.5/src/iris_pex_embedded_python.egg-info/PKG-INFO +88 -0
  76. iris_pex_embedded_python-3.1.5/src/iris_pex_embedded_python.egg-info/SOURCES.txt +141 -0
  77. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iris_pex_embedded_python.egg-info/requires.txt +1 -0
  78. iris_pex_embedded_python-3.1.5/src/iris_pex_embedded_python.egg-info/top_level.txt +4 -0
  79. iris_pex_embedded_python-3.1.5/src/irisnative/_IRISNative.py +9 -0
  80. iris_pex_embedded_python-3.1.5/src/irisnative/__init__.py +10 -0
  81. iris_pex_embedded_python-3.1.4b1/PKG-INFO +0 -1403
  82. iris_pex_embedded_python-3.1.4b1/README.md +0 -1354
  83. iris_pex_embedded_python-3.1.4b1/setup.py +0 -7
  84. iris_pex_embedded_python-3.1.4b1/src/iris_pex_embedded_python.egg-info/PKG-INFO +0 -1403
  85. iris_pex_embedded_python-3.1.4b1/src/iris_pex_embedded_python.egg-info/SOURCES.txt +0 -76
  86. iris_pex_embedded_python-3.1.4b1/src/iris_pex_embedded_python.egg-info/top_level.txt +0 -2
  87. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/LICENSE +0 -0
  88. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/setup.cfg +0 -0
  89. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/__init__.py +0 -0
  90. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/BusinessOperation.cls +0 -0
  91. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/BusinessProcess.cls +0 -0
  92. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/BusinessService.cls +0 -0
  93. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/Common.cls +0 -0
  94. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/Director.cls +0 -0
  95. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/Duplex/Operation.cls +0 -0
  96. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/Duplex/Process.cls +0 -0
  97. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/Duplex/Service.cls +0 -0
  98. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/InboundAdapter.cls +0 -0
  99. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/Message.cls +0 -0
  100. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/OutboundAdapter.cls +0 -0
  101. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/PickleMessage.cls +0 -0
  102. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/PrivateSession/Duplex.cls +0 -0
  103. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Ack.cls +0 -0
  104. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls +0 -0
  105. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls +0 -0
  106. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/PrivateSession/Message/Stop.cls +0 -0
  107. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/Test.cls +0 -0
  108. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/PEX/Utils.cls +0 -0
  109. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/cls/Grongier/Service/WSGI.cls +0 -0
  110. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/pex/__init__.py +0 -0
  111. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/pex/__main__.py +0 -0
  112. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/pex/_business_host.py +0 -0
  113. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/pex/_cli.py +0 -0
  114. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/pex/_common.py +0 -0
  115. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/pex/_director.py +0 -0
  116. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/pex/_utils.py +0 -0
  117. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/grongier/pex/wsgi/handlers.py +0 -0
  118. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/__init__.py +0 -0
  119. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/__main__.py +0 -0
  120. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_business_host.py +0 -0
  121. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_business_process.py +0 -0
  122. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_cli.py +0 -0
  123. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_common.py +0 -0
  124. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_inbound_adapter.py +0 -0
  125. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_message.py +0 -0
  126. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_outbound_adapter.py +0 -0
  127. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_pickle_message.py +0 -0
  128. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_private_session_process.py +0 -0
  129. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/_utils.py +0 -0
  130. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/BusinessOperation.cls +0 -0
  131. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/BusinessProcess.cls +0 -0
  132. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/BusinessService.cls +0 -0
  133. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/Duplex/Operation.cls +0 -0
  134. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/Duplex/Process.cls +0 -0
  135. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/Duplex/Service.cls +0 -0
  136. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/InboundAdapter.cls +0 -0
  137. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/OutboundAdapter.cls +0 -0
  138. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/PickleMessage.cls +0 -0
  139. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/PrivateSession/Duplex.cls +0 -0
  140. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/PrivateSession/Message/Ack.cls +0 -0
  141. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/PrivateSession/Message/Poll.cls +0 -0
  142. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/PrivateSession/Message/Start.cls +0 -0
  143. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/PrivateSession/Message/Stop.cls +0 -0
  144. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/Service/WSGI.cls +0 -0
  145. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/Test.cls +0 -0
  146. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/cls/IOP/Utils.cls +0 -0
  147. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iop/wsgi/handlers.py +0 -0
  148. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iris_pex_embedded_python.egg-info/dependency_links.txt +0 -0
  149. {iris_pex_embedded_python-3.1.4b1 → iris_pex_embedded_python-3.1.5}/src/iris_pex_embedded_python.egg-info/entry_points.txt +0 -0
@@ -0,0 +1,88 @@
1
+ Metadata-Version: 2.1
2
+ Name: iris_pex_embedded_python
3
+ Version: 3.1.5
4
+ Summary: Iris Interoperability based on Embedded Python
5
+ Author-email: grongier <guillaume.rongier@intersystems.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2019 InterSystems Developer Community
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/grongierisc/interoperability-embedded-python
29
+ Project-URL: documentation, https://github.com/grongierisc/interoperability-embedded-python/blob/master/README.md
30
+ Project-URL: repository, https://github.com/grongierisc/interoperability-embedded-python
31
+ Project-URL: issues, https://github.com/grongierisc/interoperability-embedded-python/issues
32
+ Keywords: iris,intersystems,python,embedded
33
+ Classifier: Development Status :: 5 - Production/Stable
34
+ Classifier: Intended Audience :: Developers
35
+ Classifier: License :: OSI Approved :: MIT License
36
+ Classifier: Operating System :: OS Independent
37
+ Classifier: Programming Language :: Python :: 3.6
38
+ Classifier: Programming Language :: Python :: 3.7
39
+ Classifier: Programming Language :: Python :: 3.8
40
+ Classifier: Programming Language :: Python :: 3.9
41
+ Classifier: Programming Language :: Python :: 3.10
42
+ Classifier: Programming Language :: Python :: 3.11
43
+ Classifier: Programming Language :: Python :: 3.12
44
+ Classifier: Topic :: Utilities
45
+ Description-Content-Type: text/markdown
46
+ License-File: LICENSE
47
+ Requires-Dist: dacite>=1.6.0
48
+ Requires-Dist: xmltodict>=0.12.0
49
+ Requires-Dist: iris-embedded-python-wrapper>=0.0.6
50
+ Requires-Dist: setuptools>=40.8.0
51
+
52
+ # IoP (Interoperability On Python)
53
+
54
+ [![PyPI - Status](https://img.shields.io/pypi/status/iris-pex-embedded-python)](https://pypi.org/project/iris-pex-embedded-python/)
55
+ [![PyPI](https://img.shields.io/pypi/v/iris-pex-embedded-python)](https://pypi.org/project/iris-pex-embedded-python/)
56
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/iris-pex-embedded-python)](https://pypi.org/project/iris-pex-embedded-python/)
57
+ [![PyPI - License](https://img.shields.io/pypi/l/iris-pex-embedded-python)](https://pypi.org/project/iris-pex-embedded-python/)
58
+ ![GitHub last commit](https://img.shields.io/github/last-commit/grongierisc/interoperability-embedded-python)
59
+
60
+ Welcome to the **Interoperability On Python (IoP)** proof of concept! This project demonstrates how the **IRIS Interoperability Framework** can be utilized with a **Python-first approach**.
61
+
62
+ Documentation can be found [here](https://grongierisc.github.io/interoperability-embedded-python/).
63
+
64
+ ## Example
65
+
66
+ Here's a simple example of how a Business Operation can be implemented in Python:
67
+
68
+ ```python
69
+ from iop import BusinessOperation
70
+
71
+ class MyBo(BusinessOperation):
72
+ def on_message(self, request):
73
+ self.log_info("Hello World")
74
+ ```
75
+
76
+ ## Installation
77
+
78
+ To start using this proof of concept, install it using pip:
79
+
80
+ ```bash
81
+ pip install iris-pex-embedded-python
82
+ ```
83
+
84
+ ## Getting Started
85
+
86
+ If you're new to this project, begin by reading the [installation guide](https://grongierisc.github.io/interoperability-embedded-python/getting-started/installation.md). Then, follow the [first steps](https://grongierisc.github.io/interoperability-embedded-python/getting-started/first-steps.md) to create your first Business Operation.
87
+
88
+ Happy coding!
@@ -0,0 +1,37 @@
1
+ # IoP (Interoperability On Python)
2
+
3
+ [![PyPI - Status](https://img.shields.io/pypi/status/iris-pex-embedded-python)](https://pypi.org/project/iris-pex-embedded-python/)
4
+ [![PyPI](https://img.shields.io/pypi/v/iris-pex-embedded-python)](https://pypi.org/project/iris-pex-embedded-python/)
5
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/iris-pex-embedded-python)](https://pypi.org/project/iris-pex-embedded-python/)
6
+ [![PyPI - License](https://img.shields.io/pypi/l/iris-pex-embedded-python)](https://pypi.org/project/iris-pex-embedded-python/)
7
+ ![GitHub last commit](https://img.shields.io/github/last-commit/grongierisc/interoperability-embedded-python)
8
+
9
+ Welcome to the **Interoperability On Python (IoP)** proof of concept! This project demonstrates how the **IRIS Interoperability Framework** can be utilized with a **Python-first approach**.
10
+
11
+ Documentation can be found [here](https://grongierisc.github.io/interoperability-embedded-python/).
12
+
13
+ ## Example
14
+
15
+ Here's a simple example of how a Business Operation can be implemented in Python:
16
+
17
+ ```python
18
+ from iop import BusinessOperation
19
+
20
+ class MyBo(BusinessOperation):
21
+ def on_message(self, request):
22
+ self.log_info("Hello World")
23
+ ```
24
+
25
+ ## Installation
26
+
27
+ To start using this proof of concept, install it using pip:
28
+
29
+ ```bash
30
+ pip install iris-pex-embedded-python
31
+ ```
32
+
33
+ ## Getting Started
34
+
35
+ If you're new to this project, begin by reading the [installation guide](https://grongierisc.github.io/interoperability-embedded-python/getting-started/installation.md). Then, follow the [first steps](https://grongierisc.github.io/interoperability-embedded-python/getting-started/first-steps.md) to create your first Business Operation.
36
+
37
+ Happy coding!
@@ -3,7 +3,7 @@ requires = ["setuptools", "wheel"]
3
3
 
4
4
  [project]
5
5
  name = "iris_pex_embedded_python"
6
- version = "3.1.4b1"
6
+ version = "3.1.5"
7
7
  description = "Iris Interoperability based on Embedded Python"
8
8
  readme = "README.md"
9
9
  authors = [
@@ -22,13 +22,15 @@ classifiers = [
22
22
  "Programming Language :: Python :: 3.9",
23
23
  "Programming Language :: Python :: 3.10",
24
24
  "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
25
26
  "Topic :: Utilities"
26
27
  ]
27
28
 
28
29
  dependencies = [
29
30
  "dacite >=1.6.0",
30
31
  "xmltodict>=0.12.0",
31
- "iris-embedded-python-wrapper>=0.0.6"
32
+ "iris-embedded-python-wrapper>=0.0.6",
33
+ "setuptools >= 40.8.0"
32
34
  ]
33
35
 
34
36
  license = { file = "LICENSE" }
@@ -0,0 +1,3 @@
1
+ from setuptools import setup
2
+
3
+ setup()
@@ -0,0 +1,10 @@
1
+ import intersystems_iris._ListReader
2
+
3
+ class _BufferReader(intersystems_iris._ListReader._ListReader):
4
+
5
+ def __init__(self, header, buffer, locale):
6
+ self.header = header
7
+ super().__init__(buffer, locale)
8
+
9
+ def _get_header_count(self):
10
+ return self.header._get_count()
@@ -0,0 +1,32 @@
1
+ import intersystems_iris._ListWriter
2
+ import intersystems_iris._MessageHeader
3
+
4
+ class _BufferWriter(intersystems_iris._ListWriter._ListWriter):
5
+
6
+ def __init__(self, locale, is_unicode, compact_double):
7
+ super().__init__(locale, is_unicode, compact_double)
8
+ self.offset = intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE
9
+
10
+ def _write_header(self, function_code):
11
+ self.buffer[12] = function_code[0]
12
+ self.buffer[13] = function_code[1]
13
+ self.offset = intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE
14
+
15
+ def _write_header_sysio(self, sysio_code):
16
+ code_int = sysio_code + 49728
17
+ code_bytes = code_int.to_bytes(2, 'little')
18
+ self.buffer[12] = code_bytes[0]
19
+ self.buffer[13] = code_bytes[1]
20
+ self.offset = intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE
21
+
22
+ def _set_connection_info(self, connection_info):
23
+ self._locale = connection_info._locale
24
+ self._is_unicode = connection_info._is_unicode
25
+ self._compact_double = connection_info._compact_double
26
+
27
+ def _get_header_buffer(self):
28
+ return self.buffer[0:intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE]
29
+
30
+ def _get_data_buffer(self):
31
+ return self.buffer[intersystems_iris._MessageHeader._MessageHeader.HEADER_SIZE:self.offset]
32
+
@@ -0,0 +1,56 @@
1
+ import intersystems_iris._Constant
2
+
3
+
4
+ class _ConnectionInformation(object):
5
+ def __init__(self):
6
+ self.protocol_version = intersystems_iris._Constant._Constant.PROTOCOL_VERSION
7
+ self._is_unicode = True
8
+ self._compact_double = False
9
+ self._locale = "latin-1"
10
+ self._delimited_ids = 0
11
+ self._server_version = ""
12
+ self._server_version_major = 0
13
+ self._server_version_minor = 0
14
+ self._iris_install_dir = ""
15
+ self._server_job_number = -1
16
+
17
+ def _set_server_locale(self, locale):
18
+ self._locale = self._map_server_locale(locale)
19
+
20
+ def _parse_server_version(self, server_version):
21
+ split_1 = server_version.split("|")
22
+ self._server_version = split_1[0]
23
+ if len(split_1) > 1:
24
+ self._iris_install_dir = split_1[1]
25
+ if self._server_version.find("Version") > 0:
26
+ version = server_version[server_version.find("Version") + 8 :]
27
+ self._server_version_major = version.split(".")[0]
28
+ self._server_version_minor = version.split(".")[1]
29
+ return
30
+
31
+ @staticmethod
32
+ def _map_server_locale(locale):
33
+ # we need to map IRIS locale literals to Python locale literals
34
+ _locales = {
35
+ "LATIN1": "latin_1",
36
+ "LATIN2": "iso8859_2",
37
+ "LATINC": "iso8859_5",
38
+ "LATINA": "iso8859_6",
39
+ "LATING": "iso8859_7",
40
+ "LATINH": "iso8859_8",
41
+ "LATINT": "iso8859_11",
42
+ "LATIN9": "iso8859_15",
43
+ "CP1250": "cp1250",
44
+ "CP1251": "cp1251",
45
+ "CP1252": "cp1252",
46
+ "CP1253": "cp1253",
47
+ "CP1255": "cp1255",
48
+ "CP1256": "cp1256",
49
+ "CP1257": "cp1257",
50
+ "CP874": "cp874",
51
+ "UNICODE": "utf-8",
52
+ }
53
+ return _locales[locale.upper()] if locale.upper() in _locales else locale
54
+
55
+ def __repr__(self) -> str:
56
+ return f"<{self._server_version}>"
@@ -0,0 +1,18 @@
1
+ class _ConnectionParameters(object):
2
+ """_ConnectionParameters represents the properties that are implicit to a URL."""
3
+ def __init__(self):
4
+ self.hostname = None
5
+ self.port = None
6
+ self.namespace = None
7
+ self.timeout = None
8
+ self.sharedmemory = False
9
+ self.logfile = None
10
+ self.sslcontext = None
11
+ self.isolationLevel = None
12
+ self.featureOptions = None
13
+
14
+ def _set_sharedmemory(self, sharedmemory):
15
+ self.sharedmemory = sharedmemory
16
+
17
+ def _get_sharedmemory(self):
18
+ return self.sharedmemory
@@ -0,0 +1,38 @@
1
+ class _Constant():
2
+
3
+ PROTOCOL_VERSION = 65
4
+
5
+ # Message function code
6
+ MESSAGE_CONNECT = b'Y0'
7
+ MESSAGE_DISCONNECT = b'Y4'
8
+ MESSAGE_SHUTDOWN = b'Y6'
9
+ MESSAGE_PING = b'YQ'
10
+ MESSAGE_BENCHMARK_ECHO = b'YY'
11
+ MESSAGE_LOAD_MODULES = b'YP'
12
+ MESSAGE_DYNAMIC_EXECUTE_CONSTRUCTOR = b'YA'
13
+ MESSAGE_DYNAMIC_EXECUTE_METHOD = b'YU'
14
+ MESSAGE_DYNAMIC_EXECUTE_GET = b'YV'
15
+ MESSAGE_DYNAMIC_EXECUTE_SET = b'YB'
16
+ MESSAGE_CREATE_OBJECT = b'Y9'
17
+ MESSAGE_EXCEPTION_RAISED = b'Y5'
18
+ MESSAGE_GET_LIST = b'YG'
19
+ MESSAGE_GET_STREAM = b'YH'
20
+
21
+ @staticmethod
22
+ def __convert(code):
23
+ return code[0]*256+code[1]-22832
24
+
25
+ ENUM_MESSAGE_PASSPHRASE = -48
26
+ ENUM_MESSAGE_CONNECT = __convert.__func__(MESSAGE_CONNECT)
27
+ ENUM_MESSAGE_DISCONNECT = __convert.__func__(MESSAGE_DISCONNECT)
28
+ ENUM_MESSAGE_SHUTDOWN = __convert.__func__(MESSAGE_SHUTDOWN)
29
+ ENUM_MESSAGE_PING = __convert.__func__(MESSAGE_PING)
30
+ ENUM_MESSAGE_BENCHMARK_ECHO = __convert.__func__(MESSAGE_BENCHMARK_ECHO)
31
+ ENUM_MESSAGE_LOAD_MODULES = __convert.__func__(MESSAGE_LOAD_MODULES)
32
+ ENUM_MESSAGE_DYNAMIC_EXECUTE_CONSTRUCTOR = __convert.__func__(MESSAGE_DYNAMIC_EXECUTE_CONSTRUCTOR)
33
+ ENUM_MESSAGE_DYNAMIC_EXECUTE_METHOD = __convert.__func__(MESSAGE_DYNAMIC_EXECUTE_METHOD)
34
+ ENUM_MESSAGE_DYNAMIC_EXECUTE_GET = __convert.__func__(MESSAGE_DYNAMIC_EXECUTE_GET)
35
+ ENUM_MESSAGE_DYNAMIC_EXECUTE_SET = __convert.__func__(MESSAGE_DYNAMIC_EXECUTE_SET)
36
+
37
+ # IRISNative messages
38
+