Skip to content

Commit de3955e

Browse files
authored
Merge pull request #532 from riptideio/dev
Dev
2 parents 8ef3299 + 0eefa9b commit de3955e

File tree

4 files changed

+27
-10
lines changed

4 files changed

+27
-10
lines changed

README.rst

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ PyModbus - A Python Modbus Stack
2020
Summary
2121
------------------------------------------------------------
2222

23-
Pymodbus is a full Modbus protocol implementation using twisted for its
23+
Pymodbus is a full Modbus protocol implementation using twisted/torndo/asyncio for its
2424
asynchronous communications core. It can also be used without any third
2525
party dependencies (aside from pyserial) if a more lightweight project is
2626
needed. Furthermore, it should work fine under any python version > 2.7
@@ -40,7 +40,7 @@ Client Features
4040
* TCP, UDP, Serial ASCII, Serial RTU, and Serial Binary
4141
* asynchronous(powered by twisted/tornado/asyncio) and synchronous versions
4242
* Payload builder/decoder utilities
43-
* Pymodbus REPL for quick tests
43+
* Pymodbus REPL for quick tests
4444

4545
~~~~~~~~~~~~~~~~~~~~
4646
Server Features
@@ -88,16 +88,35 @@ For those of you that just want to get started fast, here you go::
8888
print(result.bits[0])
8989
client.close()
9090

91-
For more advanced examples, check out the examples included in the
91+
For more advanced examples, check out the `Examples <https://pymodbus.readthedocs.io/en/dev/source/example/modules.html>`_ included in the
9292
respository. If you have created any utilities that meet a specific
9393
need, feel free to submit them so others can benefit.
9494

95+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96+
Examples Directory structure
97+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98+
99+
::
100+
101+
examples
102+
├── common. -> Common examples for clients and server (sync/async), Payload encoders and decoders.
103+
├── contrib. -> Examples contributed by contributors. Serial Forwarder, Database contexts etc.
104+
├── functional. -> Not actively maintained.
105+
├── gui. -> Not actively maintained. If you are looking for UI,checkout `Modbus Simulator <https://github.com/riptideio/modbus-simulator>`_ or `Modbus Cli <https://github.com/dhoomakethu/modbus_sim_cli>`_
106+
├── tools. -> Not actively maintained.
107+
└── twisted. -> Not actively maintained.
108+
95109
Also, if you have questions, please ask them on the mailing list
96110
so that others can benefit from the results and so that I can
97111
trace them. I get a lot of email and sometimes these requests
98112
get lost in the noise: http://groups.google.com/group/pymodbus or
99113
at gitter: https://gitter.im/pymodbus_dev/Lobby
100114

115+
.. important::
116+
**Note For async clients, it is recomended to use `asyncio` as the async facilitator (Python 3.6 and above).**
117+
**If using tornado make sure the tornado version is `4.5.3`.Other versions of tornado can break the implementation**
118+
119+
101120
------------------------------------------------------------
102121
Pymodbus REPL (Read Evaluate Print Loop)
103122
------------------------------------------------------------

pymodbus/version.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ def __str__(self):
4141
return '[%s, version %s]' % (self.package, self.short())
4242

4343

44-
version = Version('pymodbus', 2, 4, 0, 'rc2')
45-
46-
44+
version = Version('pymodbus', 2, 4, 0)
4745

4846
version.__name__ = 'pymodbus' # fix epydoc error
4947

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ sqlalchemy>=1.1.15
1414
#wsgiref>=0.1.2
1515
verboselogs >= 1.5
1616
tornado==4.5.3
17-
Twisted==17.1.0
17+
Twisted>=20.3.0
1818
zope.interface>=4.4.0
1919
asynctest>=0.10.0

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@
8484
'sphinx_rtd_theme',
8585
'humanfriendly'],
8686
'twisted': [
87-
'twisted >= 12.2.0',
87+
'twisted >= 20.3.0',
8888
'pyasn1 >= 0.1.4',
8989
],
9090
'tornado': [
91-
'tornado >= 4.5.3'
91+
'tornado == 4.5.3'
9292
],
9393
'repl': [
94-
'click>=6.7',
94+
'click>=7.0',
9595
'prompt-toolkit==2.0.4',
9696
'pygments==2.2.0'
9797
]

0 commit comments

Comments
 (0)