omniplc 0.31.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. omniplc-0.31.4/.github/workflows/build-release.yml +65 -0
  2. omniplc-0.31.4/.gitignore +152 -0
  3. omniplc-0.31.4/.python-version +1 -0
  4. omniplc-0.31.4/.zcodeignore +178 -0
  5. omniplc-0.31.4/LICENSE +21 -0
  6. omniplc-0.31.4/PKG-INFO +558 -0
  7. omniplc-0.31.4/README.md +513 -0
  8. omniplc-0.31.4/docs/PLC/351/200/232/344/277/241/345/215/217/350/256/256/345/237/271/350/256/255_/345/210/206/347/261/273/351/200/211/345/236/213/344/270/216/351/201/277/345/235/221.pptx +0 -0
  9. omniplc-0.31.4/docs/architecture.md +915 -0
  10. omniplc-0.31.4/pyproject.toml +142 -0
  11. omniplc-0.31.4/src/omniplc/__init__.py +150 -0
  12. omniplc-0.31.4/src/omniplc/aio/__init__.py +1520 -0
  13. omniplc-0.31.4/src/omniplc/cnc/__init__.py +4 -0
  14. omniplc-0.31.4/src/omniplc/cnc/mtconnect.py +448 -0
  15. omniplc-0.31.4/src/omniplc/convert.py +419 -0
  16. omniplc-0.31.4/src/omniplc/core/__init__.py +23 -0
  17. omniplc-0.31.4/src/omniplc/core/base_client.py +658 -0
  18. omniplc-0.31.4/src/omniplc/core/constants.py +846 -0
  19. omniplc-0.31.4/src/omniplc/core/debug.py +114 -0
  20. omniplc-0.31.4/src/omniplc/core/errors.py +49 -0
  21. omniplc-0.31.4/src/omniplc/core/validation.py +67 -0
  22. omniplc-0.31.4/src/omniplc/modbus/__init__.py +12 -0
  23. omniplc-0.31.4/src/omniplc/modbus/address.py +138 -0
  24. omniplc-0.31.4/src/omniplc/modbus/codec.py +390 -0
  25. omniplc-0.31.4/src/omniplc/modbus/modbus.py +447 -0
  26. omniplc-0.31.4/src/omniplc/opcua/__init__.py +9 -0
  27. omniplc-0.31.4/src/omniplc/opcua/address.py +68 -0
  28. omniplc-0.31.4/src/omniplc/opcua/client.py +463 -0
  29. omniplc-0.31.4/src/omniplc/opentcp/__init__.py +4 -0
  30. omniplc-0.31.4/src/omniplc/opentcp/client.py +390 -0
  31. omniplc-0.31.4/src/omniplc/plc/__init__.py +13 -0
  32. omniplc-0.31.4/src/omniplc/plc/ab/__init__.py +5 -0
  33. omniplc-0.31.4/src/omniplc/plc/ab/ab.py +785 -0
  34. omniplc-0.31.4/src/omniplc/plc/ab/address.py +93 -0
  35. omniplc-0.31.4/src/omniplc/plc/ab/codec_cip.py +1126 -0
  36. omniplc-0.31.4/src/omniplc/plc/beckhoff/__init__.py +4 -0
  37. omniplc-0.31.4/src/omniplc/plc/beckhoff/ads.py +423 -0
  38. omniplc-0.31.4/src/omniplc/plc/inovance/__init__.py +13 -0
  39. omniplc-0.31.4/src/omniplc/plc/inovance/address.py +137 -0
  40. omniplc-0.31.4/src/omniplc/plc/inovance/inovance.py +109 -0
  41. omniplc-0.31.4/src/omniplc/plc/inovance/mc.py +135 -0
  42. omniplc-0.31.4/src/omniplc/plc/keyence/__init__.py +13 -0
  43. omniplc-0.31.4/src/omniplc/plc/keyence/address.py +129 -0
  44. omniplc-0.31.4/src/omniplc/plc/keyence/codec.py +150 -0
  45. omniplc-0.31.4/src/omniplc/plc/keyence/hostlink.py +359 -0
  46. omniplc-0.31.4/src/omniplc/plc/keyence/mc.py +126 -0
  47. omniplc-0.31.4/src/omniplc/plc/melsec/__init__.py +13 -0
  48. omniplc-0.31.4/src/omniplc/plc/melsec/address.py +70 -0
  49. omniplc-0.31.4/src/omniplc/plc/melsec/codec_a.py +166 -0
  50. omniplc-0.31.4/src/omniplc/plc/melsec/codec_qna.py +421 -0
  51. omniplc-0.31.4/src/omniplc/plc/melsec/codec_serial.py +408 -0
  52. omniplc-0.31.4/src/omniplc/plc/melsec/melsec.py +786 -0
  53. omniplc-0.31.4/src/omniplc/plc/melsec/mx.py +947 -0
  54. omniplc-0.31.4/src/omniplc/plc/omron/__init__.py +12 -0
  55. omniplc-0.31.4/src/omniplc/plc/omron/address.py +79 -0
  56. omniplc-0.31.4/src/omniplc/plc/omron/cip.py +93 -0
  57. omniplc-0.31.4/src/omniplc/plc/omron/codec.py +414 -0
  58. omniplc-0.31.4/src/omniplc/plc/omron/omron.py +460 -0
  59. omniplc-0.31.4/src/omniplc/plc/panasonic/__init__.py +12 -0
  60. omniplc-0.31.4/src/omniplc/plc/panasonic/address.py +121 -0
  61. omniplc-0.31.4/src/omniplc/plc/panasonic/codec_mewtocol.py +158 -0
  62. omniplc-0.31.4/src/omniplc/plc/panasonic/mc.py +151 -0
  63. omniplc-0.31.4/src/omniplc/plc/panasonic/mewtocol.py +288 -0
  64. omniplc-0.31.4/src/omniplc/plc/siemens/__init__.py +5 -0
  65. omniplc-0.31.4/src/omniplc/plc/siemens/address.py +100 -0
  66. omniplc-0.31.4/src/omniplc/plc/siemens/client.py +437 -0
  67. omniplc-0.31.4/src/omniplc/plc/toyopuc/__init__.py +10 -0
  68. omniplc-0.31.4/src/omniplc/plc/toyopuc/address.py +161 -0
  69. omniplc-0.31.4/src/omniplc/plc/toyopuc/codec.py +148 -0
  70. omniplc-0.31.4/src/omniplc/plc/toyopuc/toyopuc.py +291 -0
  71. omniplc-0.31.4/src/omniplc/py.typed +0 -0
  72. omniplc-0.31.4/src/omniplc/scanner/__init__.py +6 -0
  73. omniplc-0.31.4/src/omniplc/scanner/keyence_sr.py +225 -0
  74. omniplc-0.31.4/src/omniplc/tag.py +163 -0
  75. omniplc-0.31.4/src/omniplc/transport/__init__.py +16 -0
  76. omniplc-0.31.4/src/omniplc/transport/base.py +117 -0
  77. omniplc-0.31.4/src/omniplc/transport/serial.py +191 -0
  78. omniplc-0.31.4/src/omniplc/transport/tcp.py +157 -0
  79. omniplc-0.31.4/src/omniplc/transport/udp.py +99 -0
  80. omniplc-0.31.4/src/omniplc/types.py +126 -0
  81. omniplc-0.31.4/tests/conftest.py +66 -0
  82. omniplc-0.31.4/tests/golden/README.md +50 -0
  83. omniplc-0.31.4/tests/golden/fins_tcp_area_read_001.json +25 -0
  84. omniplc-0.31.4/tests/golden/fins_tcp_handshake_001.json +12 -0
  85. omniplc-0.31.4/tests/golden/fins_udp_area_read_001.json +25 -0
  86. omniplc-0.31.4/tests/golden/fins_udp_area_write_001.json +22 -0
  87. omniplc-0.31.4/tests/golden/fins_udp_error_001.json +22 -0
  88. omniplc-0.31.4/tests/golden/generate_fins_samples.py +181 -0
  89. omniplc-0.31.4/tests/golden/generate_mc_samples.py +177 -0
  90. omniplc-0.31.4/tests/golden/generate_modbus_samples.py +167 -0
  91. omniplc-0.31.4/tests/golden/mc_1e_batch_read_001.json +16 -0
  92. omniplc-0.31.4/tests/golden/mc_1e_batch_write_001.json +13 -0
  93. omniplc-0.31.4/tests/golden/mc_3e_batch_read_001.json +17 -0
  94. omniplc-0.31.4/tests/golden/mc_3e_batch_write_001.json +14 -0
  95. omniplc-0.31.4/tests/golden/mc_3e_bit_read_001.json +18 -0
  96. omniplc-0.31.4/tests/golden/mc_3e_error_001.json +14 -0
  97. omniplc-0.31.4/tests/golden/mc_4e_batch_read_001.json +18 -0
  98. omniplc-0.31.4/tests/golden/modbus_rtu_exception_001.json +11 -0
  99. omniplc-0.31.4/tests/golden/modbus_rtu_read_coils_001.json +20 -0
  100. omniplc-0.31.4/tests/golden/modbus_rtu_read_holding_001.json +14 -0
  101. omniplc-0.31.4/tests/golden/modbus_rtu_write_multi_coils_001.json +22 -0
  102. omniplc-0.31.4/tests/golden/modbus_rtu_write_single_coil_001.json +11 -0
  103. omniplc-0.31.4/tests/golden/modbus_tcp_exception_001.json +12 -0
  104. omniplc-0.31.4/tests/golden/modbus_tcp_read_holding_001.json +15 -0
  105. omniplc-0.31.4/tests/golden/modbus_tcp_read_input_001.json +14 -0
  106. omniplc-0.31.4/tests/golden/modbus_tcp_write_multi_registers_001.json +12 -0
  107. omniplc-0.31.4/tests/golden/modbus_tcp_write_single_coil_001.json +12 -0
  108. omniplc-0.31.4/tests/golden/modbus_tcp_write_single_register_001.json +12 -0
  109. omniplc-0.31.4/tests/test_smoke.py +173 -0
  110. omniplc-0.31.4/tests/unit/scripted.py +80 -0
  111. omniplc-0.31.4/tests/unit/test_ab_codec.py +648 -0
  112. omniplc-0.31.4/tests/unit/test_ab_ethip_clients.py +972 -0
  113. omniplc-0.31.4/tests/unit/test_address.py +77 -0
  114. omniplc-0.31.4/tests/unit/test_aio_mirror_surface.py +63 -0
  115. omniplc-0.31.4/tests/unit/test_base_client.py +276 -0
  116. omniplc-0.31.4/tests/unit/test_beckhoff_ads_clients.py +285 -0
  117. omniplc-0.31.4/tests/unit/test_convert.py +136 -0
  118. omniplc-0.31.4/tests/unit/test_debug.py +271 -0
  119. omniplc-0.31.4/tests/unit/test_fins_clients.py +256 -0
  120. omniplc-0.31.4/tests/unit/test_fins_codec.py +173 -0
  121. omniplc-0.31.4/tests/unit/test_golden_modbus.py +124 -0
  122. omniplc-0.31.4/tests/unit/test_inovance_clients.py +189 -0
  123. omniplc-0.31.4/tests/unit/test_inovance_mc_clients.py +287 -0
  124. omniplc-0.31.4/tests/unit/test_keyence_mc_clients.py +290 -0
  125. omniplc-0.31.4/tests/unit/test_kv_clients.py +237 -0
  126. omniplc-0.31.4/tests/unit/test_mc_clients.py +353 -0
  127. omniplc-0.31.4/tests/unit/test_mc_codec.py +214 -0
  128. omniplc-0.31.4/tests/unit/test_mc_serial_clients.py +604 -0
  129. omniplc-0.31.4/tests/unit/test_modbus_clients.py +260 -0
  130. omniplc-0.31.4/tests/unit/test_mtconnect_client.py +453 -0
  131. omniplc-0.31.4/tests/unit/test_mx_clients.py +627 -0
  132. omniplc-0.31.4/tests/unit/test_omron_cip_clients.py +374 -0
  133. omniplc-0.31.4/tests/unit/test_opcua_client.py +347 -0
  134. omniplc-0.31.4/tests/unit/test_opentcp_client.py +411 -0
  135. omniplc-0.31.4/tests/unit/test_package_exports.py +51 -0
  136. omniplc-0.31.4/tests/unit/test_panasonic_mc_clients.py +256 -0
  137. omniplc-0.31.4/tests/unit/test_panasonic_mewtocol_clients.py +265 -0
  138. omniplc-0.31.4/tests/unit/test_plc_address.py +71 -0
  139. omniplc-0.31.4/tests/unit/test_siemens_s7_clients.py +469 -0
  140. omniplc-0.31.4/tests/unit/test_sr_scanner.py +254 -0
  141. omniplc-0.31.4/tests/unit/test_tag_table.py +226 -0
  142. omniplc-0.31.4/tests/unit/test_toyopuc_clients.py +380 -0
  143. omniplc-0.31.4/tests/unit/test_transport.py +104 -0
  144. omniplc-0.31.4/tests/unit/test_v030_reliability.py +704 -0
  145. omniplc-0.31.4/tools/manual_ab_eip.py +17 -0
  146. omniplc-0.31.4/tools/manual_ab_eip_generic.py +140 -0
  147. omniplc-0.31.4/tools/manual_beckhoff_ads.py +17 -0
  148. omniplc-0.31.4/tools/manual_common.py +829 -0
  149. omniplc-0.31.4/tools/manual_inovance_mc_tcp.py +17 -0
  150. omniplc-0.31.4/tools/manual_inovance_rtu.py +17 -0
  151. omniplc-0.31.4/tools/manual_inovance_tcp.py +17 -0
  152. omniplc-0.31.4/tools/manual_keyence_hostlink_tcp.py +17 -0
  153. omniplc-0.31.4/tools/manual_keyence_hostlink_udp.py +17 -0
  154. omniplc-0.31.4/tools/manual_keyence_mc_tcp.py +17 -0
  155. omniplc-0.31.4/tools/manual_keyence_mc_udp.py +17 -0
  156. omniplc-0.31.4/tools/manual_keyence_sr.py +17 -0
  157. omniplc-0.31.4/tools/manual_melsec_mc_1e.py +17 -0
  158. omniplc-0.31.4/tools/manual_melsec_mc_3c.py +17 -0
  159. omniplc-0.31.4/tools/manual_melsec_mc_3e.py +17 -0
  160. omniplc-0.31.4/tools/manual_melsec_mc_4c.py +17 -0
  161. omniplc-0.31.4/tools/manual_melsec_mc_4e.py +17 -0
  162. omniplc-0.31.4/tools/manual_melsec_mc_udp_1e.py +17 -0
  163. omniplc-0.31.4/tools/manual_melsec_mc_udp_3e.py +17 -0
  164. omniplc-0.31.4/tools/manual_melsec_mc_udp_4e.py +17 -0
  165. omniplc-0.31.4/tools/manual_melsec_mx.py +17 -0
  166. omniplc-0.31.4/tools/manual_modbus_rtu.py +17 -0
  167. omniplc-0.31.4/tools/manual_modbus_tcp.py +17 -0
  168. omniplc-0.31.4/tools/manual_mtconnect.py +17 -0
  169. omniplc-0.31.4/tools/manual_omron_cip.py +17 -0
  170. omniplc-0.31.4/tools/manual_omron_fins_tcp.py +17 -0
  171. omniplc-0.31.4/tools/manual_omron_fins_udp.py +17 -0
  172. omniplc-0.31.4/tools/manual_opcua.py +17 -0
  173. omniplc-0.31.4/tools/manual_opentcp.py +17 -0
  174. omniplc-0.31.4/tools/manual_panasonic_mc_tcp.py +17 -0
  175. omniplc-0.31.4/tools/manual_panasonic_mewtocol_tcp.py +17 -0
  176. omniplc-0.31.4/tools/manual_panasonic_mewtocol_udp.py +17 -0
  177. omniplc-0.31.4/tools/manual_siemens_s7.py +18 -0
  178. omniplc-0.31.4/tools/manual_test.json +441 -0
  179. omniplc-0.31.4/tools/manual_toyopuc_tcp.py +17 -0
  180. omniplc-0.31.4/tools/manual_toyopuc_udp.py +17 -0
  181. omniplc-0.31.4/uv.lock +1348 -0
@@ -0,0 +1,65 @@
1
+ name: build-release
2
+
3
+ # 打标签推送后自动构建并发布:
4
+ # git push origin v0.32.0 && git push --tags
5
+ # 触发条件为版本号标签(v*):构建 sdist + wheel,挂到对应 GitHub Release,
6
+ # 并发布到 PyPI(可信发布/OIDC,无需明文令牌)。
7
+ on:
8
+ push:
9
+ tags:
10
+ - "v*"
11
+
12
+ permissions:
13
+ contents: write # 创建 GitHub Release 并上传构件需要
14
+
15
+ jobs:
16
+ build:
17
+ name: uv build
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - name: Checkout
21
+ uses: actions/checkout@v4
22
+
23
+ - name: Install uv
24
+ uses: astral-sh/setup-uv@v6
25
+ with:
26
+ # 仓库 .python-version 钉 3.7.9(本地开发用),runner 无此解释器且 uv
27
+ # 托管下载不支持 3.7;构建本身与运行版本无关(hatchling 纯 Python,
28
+ # wheel 为 py3-none-any),这里预装 3.12 供 uv build 使用
29
+ python-version: "3.12"
30
+
31
+ - name: Build sdist and wheel
32
+ run: uv build --python 3.12
33
+
34
+ - name: Upload build artifacts
35
+ uses: actions/upload-artifact@v4
36
+ with:
37
+ name: omniplc-dist
38
+ path: dist/
39
+ if-no-files-found: error
40
+
41
+ - name: Create GitHub Release with artifacts
42
+ uses: softprops/action-gh-release@v2
43
+ with:
44
+ files: dist/*
45
+ fail_on_unmatched_files: true
46
+
47
+ publish:
48
+ name: Publish to PyPI
49
+ needs: build
50
+ runs-on: ubuntu-latest
51
+ # 仅主仓库发布,防止 fork 误触
52
+ if: github.repository == 'yunluo/omniplc'
53
+ permissions:
54
+ id-token: write # 信任发布(OIDC)需要;PyPI 侧配置可信发布者后无需任何令牌
55
+ steps:
56
+ - name: Download build artifacts
57
+ uses: actions/download-artifact@v4
58
+ with:
59
+ name: omniplc-dist
60
+ path: dist
61
+
62
+ - name: Publish to PyPI
63
+ uses: pypa/gh-action-pypi-publish@release/v1
64
+ with:
65
+ packages-dir: dist/
@@ -0,0 +1,152 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ .idea
6
+ # C extensions
7
+ *.so
8
+ .zcode
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py,cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
99
+ __pypackages__/
100
+
101
+ # Celery stuff
102
+ celerybeat-schedule
103
+ celerybeat.pid
104
+
105
+ # SageMath parsed files
106
+ *.sage.py
107
+
108
+ # Environments
109
+ .env
110
+ .venv
111
+ env/
112
+ venv/
113
+ ENV/
114
+ env.bak/
115
+ venv.bak/
116
+
117
+ # Spyder project settings
118
+ .spyderproject
119
+ .spyproject
120
+
121
+ # Rope project settings
122
+ .ropeproject
123
+
124
+ # mkdocs documentation
125
+ /site
126
+
127
+ # mypy
128
+ .mypy_cache/
129
+ .dmypy.json
130
+ dmypy.json
131
+
132
+ # ruff
133
+ .ruff_cache/
134
+
135
+ # uv
136
+ # uv.lock 闇€瑕佹彁浜?涓嶈蹇界暐
137
+
138
+ # Pyre type checker
139
+ .pyre/
140
+
141
+ # pytype static type analyzer
142
+ .pytype/
143
+
144
+ # Cython debug symbols
145
+ cython_debug/
146
+
147
+ "# 三菱版权手册仅本地参考,不入库(需要发布时删除下面一行)"
148
+
149
+
150
+ # Mitsubishi copyrighted manuals stay local only
151
+ docs/*.pdf
152
+
@@ -0,0 +1 @@
1
+ 3.7.9
@@ -0,0 +1,178 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ .idea
6
+ # C extensions
7
+ *.so
8
+ .zcode
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py,cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
99
+ __pypackages__/
100
+
101
+ # Celery stuff
102
+ celerybeat-schedule
103
+ celerybeat.pid
104
+
105
+ # SageMath parsed files
106
+ *.sage.py
107
+
108
+ # Environments
109
+ .env
110
+ .venv
111
+ env/
112
+ venv/
113
+ ENV/
114
+ env.bak/
115
+ venv.bak/
116
+
117
+ # Spyder project settings
118
+ .spyderproject
119
+ .spyproject
120
+
121
+ # Rope project settings
122
+ .ropeproject
123
+
124
+ # mkdocs documentation
125
+ /site
126
+
127
+ # mypy
128
+ .mypy_cache/
129
+ .dmypy.json
130
+ dmypy.json
131
+
132
+ # ruff
133
+ .ruff_cache/
134
+
135
+ # uv
136
+ # uv.lock 闇€瑕佹彁浜?涓嶈蹇界暐
137
+
138
+ # Pyre type checker
139
+ .pyre/
140
+
141
+ # pytype static type analyzer
142
+ .pytype/
143
+
144
+ # Cython debug symbols
145
+ cython_debug/
146
+
147
+ "# 三菱版权手册仅本地参考,不入库(需要发布时删除下面一行)"
148
+
149
+
150
+ # Mitsubishi copyrighted manuals stay local only
151
+ docs/*.pdf
152
+
153
+
154
+ # ===== ↑ 以上同步自 .gitignore(「从 .gitignore 同步」只重写以上部分)=====
155
+ .git/
156
+ .hg/
157
+ .svn/
158
+ node_modules/
159
+ bower_components/
160
+ jspm_packages/
161
+ site-packages/
162
+ coverage/
163
+ lcov-report/
164
+ cmakefiles/
165
+ cmake-build-*/
166
+ bazel-*/
167
+ pods/
168
+ deriveddata/
169
+ storybook-static/
170
+ playwright-report/
171
+ test-results/
172
+ allure-results/
173
+ allure-report/
174
+ cdk.out/
175
+ *.dist-info/
176
+ pip-wheel-metadata/
177
+ # ----- ↑ 以上为 ZCode 默认排除规则(自定义规则请写在本行下方,不会被同步/恢复改动)-----
178
+ # 自定义规则写在下方(本行提示可删除)
omniplc-0.31.4/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 云落
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.