You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version `2.5.3 <https://github.com/riptideio/pymodbus/releases/tag/v2.5.3>`_ is the last 2.x release with support to python2.7.x and is in maintenance mode.
20
+
Version `2.5.3 <https://github.com/riptideio/pymodbus/releases/tag/v2.5.3>`_ is the last 2.x release (Supports python 2.7.x - 3.7).
21
21
22
-
Version `3.0.0dev4<https://github.com/riptideio/pymodbus/releases/tag/v3.0.0dev3>`_ is the current prerelease of 3.0.0 (Supports only Python >=3.8)
22
+
Version `3.0.0dev3<https://github.com/riptideio/pymodbus/releases/tag/v3.0.0dev3>`_ is the current prerelease of 3.0.0 (Supports Python >=3.8).
23
23
24
-
Remark: "Supports only" means that we only test with those versions, lower versions (e.g. 3.7) might work typically depending on the actual setup.
24
+
Remark: "Supports" means that we only test with those versions, lower versions (e.g. 3.7) might work depending on the functionality used.
25
25
26
26
.. important::
27
27
**Note 3.0.0 is a major release with a number of incompatible changes.**
@@ -32,18 +32,15 @@ Summary
32
32
33
33
Pymodbus is a full Modbus protocol implementation using a synchronous or asynchronous core. The preferred mode for asynchronous communication is asyncio, however for the moment twisted and tornado are also supported (due to be removed or converted to a plugin in a later version).
34
34
35
-
Supported modbus communication modes:
36
-
- tcp
37
-
- rtu-over-tcp
38
-
- udp
39
-
- serial
40
-
- tls
35
+
Supported modbus communication modes: tcp, rtu-over-tcp, udp, serial, tls
41
36
42
37
Pymodbus can be used without any third party dependencies (aside from pyserial) and is a very lightweight project.
43
38
44
-
Requires Python >= 3.7
39
+
Pymodbus also provides a lot os ready to use examples as well as a server/client simulator which can be controlled via REST Api and can be easily integrated into test suites.
45
40
46
-
The tests are run against Python 3.7, 3.8, 3.9 and 3.10.
41
+
Requires Python >= 3.8
42
+
43
+
The tests are run against Python 3.8, 3.9, 3.10 on Windows, Linux and MacOS.
Also, if you have questions, please ask them on the mailing list
129
-
so that others can benefit from the results and so that I can
130
-
trace them. I get a lot of email and sometimes these requests
131
-
get lost in the noise: `pymodbus google group <http://groups.google.com/group/pymodbus>`_ or
132
-
at `gitter <https://gitter.im/pymodbus_dev/Lobby>`_ or `github discussions <https://github.com/riptideio/pymodbus/discussions>`_
125
+
Also, if you have a question, please `create a post in discussions q&a topic <https://github.com/riptideio/pymodbus/discussions/new?category=q-a>`_,
126
+
so that others can benefit from the results.
127
+
128
+
If you think, that something in the code is broken/not running well, please `open an issue <https://github.com/riptideio/pymodbus/issues/new>`_, read the Template-text first and then post your issue with your setup informations.
133
129
134
130
.. important::
135
131
**Note For async clients, it is recommended to use `asyncio` as the async facilitator.**
136
-
**If using tornado make sure the tornado version is `4.5.3`.Other versions of tornado can break the implementation**
132
+
**If using tornado make sure the tornado version is `4.5.3` other versions of tornado can break the implementation**
@@ -159,27 +155,40 @@ permissions or a virtualenv currently running)::
159
155
easy_install -U pymodbus
160
156
pip install -U pymodbus
161
157
162
-
Or to install a specific release::
158
+
This will install a base version of pymodbus.
163
159
164
-
pip install -U pymodbus==X.Y.Z
165
-
easy_install -U pymodbus==X.Y.Z
160
+
To install pymodbus with options run:
161
+
162
+
pip install -U pymodbus[<option>,...]
163
+
164
+
Available options are:
165
+
166
+
- **repl**, installs pymodbus REPL.
166
167
167
-
To Install pymodbus with twisted support run::
168
+
- **serial**, installs serial drivers.
168
169
169
-
pip install -U pymodbus[twisted]
170
+
- **datastore**, installs databases (SQLAlchemy and Redit) for datastore.
170
171
171
-
To Install pymodbus with tornado support run::
172
+
- **twisted**, installs twisted as alternative to asyncio (will be removed in a future version).
172
173
173
-
pip install -U pymodbus[tornado]
174
+
- **tornado**, installs tornado as alternative to asyncio (will be removed in a future version).
174
175
175
-
To Install pymodbus REPL::
176
+
- **documentation**, installs tools to generate documentation.
176
177
177
-
pip install -U pymodbus[repl]
178
+
- **development**, installs development tools needed to enable test/check of pymodbus changes.
179
+
180
+
181
+
Or to install a specific release::
182
+
183
+
pip install -U pymodbus==X.Y.Z
184
+
easy_install -U pymodbus==X.Y.Z
178
185
179
186
Otherwise you can pull the trunk source and install from there::
180
187
181
188
git clone git://github.com/bashwork/pymodbus.git
182
189
cd pymodbus
190
+
pip install -r requirements.txt
191
+
183
192
184
193
To get latest release (for now v2.5.3 with python 2.7 support)::
185
194
@@ -194,7 +203,9 @@ To get a specific version:
194
203
git checkout tags/vX.Y.Z -b vX.Y.Z
195
204
196
205
Then::
197
-
python setup.py install
206
+
pip install -e .
207
+
208
+
This installs pymodbus in your virtual environment with pointers directly to the pymodbus directory, so any change you make is imidiatly available as if installed.
198
209
199
210
Either method will install all the required dependencies
200
211
(at their appropriate versions) for your current python distribution.
0 commit comments