网关V1,添加批量写

This commit is contained in:
2025-08-13 18:13:09 +08:00
commit 04bdb5f52b
1377 changed files with 186064 additions and 0 deletions

View File

@ -0,0 +1 @@
pip

View File

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2013 Gijs Molenaar, Stephan Preeker
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,59 @@
Metadata-Version: 2.1
Name: python-snap7
Version: 2.0.2
Summary: Python wrapper for the snap7 library
Author-email: Gijs Molenaar <gijsmolenaar@gmail.com>
License: MIT License
Project-URL: Homepage, https://github.com/gijzelaerr/python-snap7
Project-URL: Documentation, https://python-snap7.readthedocs.io/en/latest/
Keywords: snap7,s7,siemens,plc
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Topic :: System :: Hardware
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Manufacturing
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
Provides-Extra: cli
Requires-Dist: rich; extra == "cli"
Requires-Dist: click; extra == "cli"
Provides-Extra: doc
Requires-Dist: sphinx; extra == "doc"
Requires-Dist: sphinx-rtd-theme; extra == "doc"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: mypy; extra == "test"
Requires-Dist: types-setuptools; extra == "test"
Requires-Dist: ruff; extra == "test"
Requires-Dist: tox; extra == "test"
Requires-Dist: types-click; extra == "test"
Requires-Dist: uv; extra == "test"
About
=====
This is a Python wrapper for Snap7, an open-source, 32/64 bit, multi-platform Ethernet communication suite for interfacing natively
with Siemens S7 PLCs.
Python-snap7 is tested with Python 3.9+, on Windows, Linux and OS X.
The full documentation is available on `Read The Docs <https://python-snap7.readthedocs.io/en/latest/>`_.
Installation
============
If you are running Windows (amd64), Mac OS X (amd64/aarch64), GNU/Linux (amd64/arm64) or a compatible platform you can install the binary wheel using::
$ pip install python-snap7
Otherwise, please follow the `online installation instructions <https://python-snap7.readthedocs.io/en/latest/installation.html>`_ to install python-snap7 from source.

View File

@ -0,0 +1,40 @@
../../Scripts/snap7-server.exe,sha256=tV0aMxMfAXvVM-a9weV8GL-OZBSNrZNMe2j3yiLkkxo,108400
python_snap7-2.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
python_snap7-2.0.2.dist-info/LICENSE,sha256=i0jHDtR7YmaMyME3AXBYVdsTMjo1emLYw1KGkPfU5ag,1117
python_snap7-2.0.2.dist-info/METADATA,sha256=QUdaSrLR-usncMO7T673P-HXlg6lNC8MVR62WeXeRLs,2278
python_snap7-2.0.2.dist-info/RECORD,,
python_snap7-2.0.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
python_snap7-2.0.2.dist-info/WHEEL,sha256=mRFVR6BIY-4AcY-di6Z_WejDvSiiVIG1lUb-30eywqM,97
python_snap7-2.0.2.dist-info/entry_points.txt,sha256=mD36pWFa3c26Hg0bTexyxsgneQklIo4NpM3e4UmY5-A,60
python_snap7-2.0.2.dist-info/top_level.txt,sha256=VpFXm1w5_73qgJEIN_5OzQWINHyYJBtNoOW4DMoizgw,6
snap7/__init__.py,sha256=Vn006mtmGWA3mJSYGg32zGMkYW8jelN-PBV2vLD2ZVQ,528
snap7/__pycache__/__init__.cpython-313.pyc,,
snap7/__pycache__/client.cpython-313.pyc,,
snap7/__pycache__/common.cpython-313.pyc,,
snap7/__pycache__/error.cpython-313.pyc,,
snap7/__pycache__/logo.cpython-313.pyc,,
snap7/__pycache__/partner.cpython-313.pyc,,
snap7/__pycache__/protocol.cpython-313.pyc,,
snap7/__pycache__/type.cpython-313.pyc,,
snap7/client.py,sha256=ENyONW4fiASDtUgYg7JeaCrwdWEfhY420VtZYIIKDrE,52242
snap7/common.py,sha256=_uDh6PYeIogQI90LMyXpnyiGvORWRUMQSr-Elej1Yyw,2664
snap7/error.py,sha256=__6hMv_V7AiwUUag2uqd0Ob9EYAu6A_DeKre0j3TzEM,5678
snap7/lib/snap7.dll,sha256=FzNlhcj16-VdbbhRUr_WTVRW9sMLJqyGKYCvhfclBy0,244224
snap7/logo.py,sha256=9KaTL-dsRfUJpbDB_circgzmnDbXbeiZYo0-AhBVLCM,5300
snap7/partner.py,sha256=gRtt52rL9pZ-ajn_M6vdtxYaXK2tTBulpTEshTxx_ZA,7860
snap7/protocol.py,sha256=yZdXifgI0EoQu9EbhKwnZ1MmQaa8ipWWZZNt5wsNZSw,7799
snap7/protocol.pyi,sha256=7OzSP7mG2iv4-m9f7TINF6GWju9a3-gvEzYupeVW3OU,12367
snap7/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
snap7/server/__init__.py,sha256=aJb06u_ccTl1-cMQer0cChx6Wt7yyucmiSRk__72MbM,17558
snap7/server/__main__.py,sha256=6dp5SKUtiSwdFH2Hk5kH1fM8M8-NbnOc4Wm8WLX1K6A,1779
snap7/server/__pycache__/__init__.cpython-313.pyc,,
snap7/server/__pycache__/__main__.cpython-313.pyc,,
snap7/type.py,sha256=0bNKk_FQO0W8kLjY3dI1RpeTjiw4zbg5LwVW7KXmHLQ,9761
snap7/util/__init__.py,sha256=VLSDRA9xpdehjxS9Q30z0FGHzghQugyEyVwyY7QwDi4,1358
snap7/util/__pycache__/__init__.cpython-313.pyc,,
snap7/util/__pycache__/db.cpython-313.pyc,,
snap7/util/__pycache__/getters.cpython-313.pyc,,
snap7/util/__pycache__/setters.cpython-313.pyc,,
snap7/util/db.py,sha256=t01gccG_w5eL0L37CSE2zQffkczDL1ldVyOhNZnNxq4,26658
snap7/util/getters.py,sha256=S2reo-KrvNEN4Lr-5m4PsmWZx3unTKtR8Z-tFRVYGDs,23256
snap7/util/setters.py,sha256=vIIC95u7iVGymtLL_L6G8aO3mFI0x882-xfcUq9qYiI,17385

View File

@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: setuptools (75.3.0)
Root-Is-Purelib: true
Tag: py3-none-win_amd64

View File

@ -0,0 +1,2 @@
[console_scripts]
snap7-server = snap7.server.__main__:main

View File

@ -0,0 +1 @@
snap7