python-snap7 1.4__tar.gz → 1.4.1__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 (34) hide show
  1. {python_snap7-1.4 → python_snap7-1.4.1}/PKG-INFO +27 -4
  2. {python_snap7-1.4 → python_snap7-1.4.1}/pyproject.toml +6 -5
  3. {python_snap7-1.4 → python_snap7-1.4.1}/python_snap7.egg-info/PKG-INFO +27 -4
  4. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/client/__init__.py +105 -92
  5. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/common.py +57 -82
  6. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/server/__init__.py +52 -44
  7. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/types.py +27 -0
  8. {python_snap7-1.4 → python_snap7-1.4.1}/tests/test_client.py +106 -97
  9. {python_snap7-1.4 → python_snap7-1.4.1}/tests/test_common.py +6 -2
  10. {python_snap7-1.4 → python_snap7-1.4.1}/tests/test_server.py +8 -5
  11. {python_snap7-1.4 → python_snap7-1.4.1}/LICENSE +0 -0
  12. {python_snap7-1.4 → python_snap7-1.4.1}/MANIFEST.in +0 -0
  13. {python_snap7-1.4 → python_snap7-1.4.1}/README.rst +0 -0
  14. {python_snap7-1.4 → python_snap7-1.4.1}/python_snap7.egg-info/SOURCES.txt +0 -0
  15. {python_snap7-1.4 → python_snap7-1.4.1}/python_snap7.egg-info/dependency_links.txt +0 -0
  16. {python_snap7-1.4 → python_snap7-1.4.1}/python_snap7.egg-info/entry_points.txt +0 -0
  17. {python_snap7-1.4 → python_snap7-1.4.1}/python_snap7.egg-info/requires.txt +0 -0
  18. {python_snap7-1.4 → python_snap7-1.4.1}/python_snap7.egg-info/top_level.txt +0 -0
  19. {python_snap7-1.4 → python_snap7-1.4.1}/setup.cfg +0 -0
  20. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/__init__.py +0 -0
  21. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/error.py +0 -0
  22. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/exceptions.py +0 -0
  23. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/logo.py +0 -0
  24. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/partner.py +0 -0
  25. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/py.typed +0 -0
  26. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/server/__main__.py +0 -0
  27. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/util/__init__.py +0 -0
  28. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/util/db.py +0 -0
  29. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/util/getters.py +0 -0
  30. {python_snap7-1.4 → python_snap7-1.4.1}/snap7/util/setters.py +0 -0
  31. {python_snap7-1.4 → python_snap7-1.4.1}/tests/test_logo_client.py +0 -0
  32. {python_snap7-1.4 → python_snap7-1.4.1}/tests/test_mainloop.py +0 -0
  33. {python_snap7-1.4 → python_snap7-1.4.1}/tests/test_partner.py +0 -0
  34. {python_snap7-1.4 → python_snap7-1.4.1}/tests/test_util.py +0 -0
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-snap7
3
- Version: 1.4
3
+ Version: 1.4.1
4
4
  Summary: Python wrapper for the snap7 library
5
5
  Author-email: Gijs Molenaar <gijsmolenaar@gmail.com>
6
- License: MIT
6
+ License: MIT License
7
7
  Project-URL: Homepage, https://github.com/gijzelaerr/python-snap7
8
8
  Project-URL: Documentation, https://python-snap7.readthedocs.io/en/latest/
9
+ Keywords: snap7,s7,siemens,plc
9
10
  Classifier: Development Status :: 5 - Production/Stable
10
11
  Classifier: Environment :: Console
11
12
  Classifier: Topic :: System :: Hardware
@@ -13,12 +14,12 @@ Classifier: Intended Audience :: Developers
13
14
  Classifier: Intended Audience :: Manufacturing
14
15
  Classifier: License :: OSI Approved :: MIT License
15
16
  Classifier: Operating System :: POSIX
16
- Classifier: Programming Language :: Python :: 3.8
17
17
  Classifier: Programming Language :: Python :: 3.9
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
- Requires-Python: >=3.8
21
+ Requires-Python: >=3.9
22
+ Description-Content-Type: text/x-rst
22
23
  License-File: LICENSE
23
24
  Provides-Extra: test
24
25
  Requires-Dist: pytest; extra == "test"
@@ -31,3 +32,25 @@ Requires-Dist: click; extra == "cli"
31
32
  Provides-Extra: doc
32
33
  Requires-Dist: sphinx; extra == "doc"
33
34
  Requires-Dist: sphinx_rtd_theme; extra == "doc"
35
+
36
+ About
37
+ =====
38
+
39
+ This is a ctypes-based Python wrapper for snap7. Snap7 is an open-source,
40
+ 32/64 bit, multi-platform Ethernet communication suite for interfacing natively
41
+ with Siemens S7 PLCs.
42
+
43
+ Python-snap7 is tested with Python 3.9+, on Windows, Linux and OS X.
44
+
45
+ The full documentation is available on `Read The Docs <https://python-snap7.readthedocs.io/en/latest/>`_.
46
+
47
+
48
+ Installation
49
+ ============
50
+
51
+ If you are running Windows, Mac OS X or GNU/Linux on an Intel x64 or ARM 64 compatible platform you can use the binary wheel installation::
52
+
53
+ $ pip install python-snap7
54
+
55
+
56
+ Otherwise, please read the `online installation documentation <https://python-snap7.readthedocs.io/en/latest/installation.html>`_.
@@ -4,8 +4,9 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "python-snap7"
7
- version = "1.4"
7
+ version = "1.4.1"
8
8
  description = "Python wrapper for the snap7 library"
9
+ readme = "README.rst"
9
10
  authors = [
10
11
  {name = "Gijs Molenaar", email = "gijsmolenaar@gmail.com"},
11
12
  ]
@@ -17,14 +18,14 @@ classifiers = [
17
18
  "Intended Audience :: Manufacturing",
18
19
  "License :: OSI Approved :: MIT License",
19
20
  "Operating System :: POSIX",
20
- "Programming Language :: Python :: 3.8",
21
21
  "Programming Language :: Python :: 3.9",
22
22
  "Programming Language :: Python :: 3.10",
23
23
  "Programming Language :: Python :: 3.11",
24
24
  "Programming Language :: Python :: 3.12",
25
25
  ]
26
- license = {text = "MIT"}
27
- requires-python = ">=3.8"
26
+ license = {text = "MIT License"}
27
+ requires-python = ">=3.9"
28
+ keywords = ["snap7", "s7", "siemens", "plc"]
28
29
 
29
30
  [project.urls]
30
31
  Homepage = "https://github.com/gijzelaerr/python-snap7"
@@ -62,7 +63,7 @@ ignore_missing_imports = true
62
63
  [tool.ruff]
63
64
  output-format = "full"
64
65
  line-length = 130
65
- target-version = "py38"
66
+ target-version = "py39"
66
67
 
67
68
  [lint]
68
69
  ignore = []
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-snap7
3
- Version: 1.4
3
+ Version: 1.4.1
4
4
  Summary: Python wrapper for the snap7 library
5
5
  Author-email: Gijs Molenaar <gijsmolenaar@gmail.com>
6
- License: MIT
6
+ License: MIT License
7
7
  Project-URL: Homepage, https://github.com/gijzelaerr/python-snap7
8
8
  Project-URL: Documentation, https://python-snap7.readthedocs.io/en/latest/
9
+ Keywords: snap7,s7,siemens,plc
9
10
  Classifier: Development Status :: 5 - Production/Stable
10
11
  Classifier: Environment :: Console
11
12
  Classifier: Topic :: System :: Hardware
@@ -13,12 +14,12 @@ Classifier: Intended Audience :: Developers
13
14
  Classifier: Intended Audience :: Manufacturing
14
15
  Classifier: License :: OSI Approved :: MIT License
15
16
  Classifier: Operating System :: POSIX
16
- Classifier: Programming Language :: Python :: 3.8
17
17
  Classifier: Programming Language :: Python :: 3.9
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
- Requires-Python: >=3.8
21
+ Requires-Python: >=3.9
22
+ Description-Content-Type: text/x-rst
22
23
  License-File: LICENSE
23
24
  Provides-Extra: test
24
25
  Requires-Dist: pytest; extra == "test"
@@ -31,3 +32,25 @@ Requires-Dist: click; extra == "cli"
31
32
  Provides-Extra: doc
32
33
  Requires-Dist: sphinx; extra == "doc"
33
34
  Requires-Dist: sphinx_rtd_theme; extra == "doc"
35
+
36
+ About
37
+ =====
38
+
39
+ This is a ctypes-based Python wrapper for snap7. Snap7 is an open-source,
40
+ 32/64 bit, multi-platform Ethernet communication suite for interfacing natively
41
+ with Siemens S7 PLCs.
42
+
43
+ Python-snap7 is tested with Python 3.9+, on Windows, Linux and OS X.
44
+
45
+ The full documentation is available on `Read The Docs <https://python-snap7.readthedocs.io/en/latest/>`_.
46
+
47
+
48
+ Installation
49
+ ============
50
+
51
+ If you are running Windows, Mac OS X or GNU/Linux on an Intel x64 or ARM 64 compatible platform you can use the binary wheel installation::
52
+
53
+ $ pip install python-snap7
54
+
55
+
56
+ Otherwise, please read the `online installation documentation <https://python-snap7.readthedocs.io/en/latest/installation.html>`_.