-
Notifications
You must be signed in to change notification settings - Fork 940
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from riptideio/async
Redesign Async client implementation with support to tornado and asyncio
- Loading branch information
Showing
93 changed files
with
4,575 additions
and
603 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ python: | |
extra_requirements: | ||
- twisted | ||
- documents | ||
version: 3.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include requirements.txt | ||
include README.rst | ||
include CHANGELOG.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
doc/source/example/asynchronous_client.rst → doc/source/example/async_asyncio_client.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
================================================== | ||
Asynchronous Client Example | ||
Async Asyncio Client Example | ||
================================================== | ||
.. literalinclude:: ../../../examples/common/asynchronous_client.py | ||
.. literalinclude:: ../../../examples/common/async_asyncio_client.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
================================================== | ||
Async Asyncio Serial Client Example | ||
================================================== | ||
.. literalinclude:: ../../../examples/common/async_asyncio_serial_client.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
================================================== | ||
Async Tornado Client Example | ||
================================================== | ||
.. literalinclude:: ../../../examples/common/async_tornado_client.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
================================================== | ||
Async Tornado Client Serial Example | ||
================================================== | ||
.. literalinclude:: ../../../examples/common/async_tornado_client_serial.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
================================================== | ||
Async Twisted Client Example | ||
================================================== | ||
.. literalinclude:: ../../../examples/common/async_twisted_client.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
================================================== | ||
Async Twisted Client Serial Example | ||
================================================== | ||
.. literalinclude:: ../../../examples/common/async_twisted_client_serial.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
================================================== | ||
Asynchronous Asyncio Serial Client Example | ||
================================================== | ||
.. literalinclude:: ../../../examples/contrib/asynchronous_asyncio_serial_client.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
================================================== | ||
=========================== | ||
Asynchronous Server Example | ||
================================================== | ||
.. literalinclude:: ../../../examples/common/asynchronous_server.py | ||
=========================== | ||
.. literalinclude:: ../../../examples/common/asynchronous_server.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
================================================== | ||
=========================== | ||
Callback Server Example | ||
================================================== | ||
=========================== | ||
.. literalinclude:: ../../../examples/common/callback_server.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
performance module | ||
================== | ||
.. literalinclude:: ../../../examples/common/performance.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pymodbus\.client\.async\.asyncio package | ||
======================================== | ||
|
||
.. automodule:: pymodbus.client.async.asyncio | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
pymodbus\.client\.async\.factory package | ||
======================================== | ||
|
||
.. automodule:: pymodbus.client.async.factory | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Submodules | ||
---------- | ||
|
||
pymodbus\.client\.async\.factory\.serial module | ||
----------------------------------------------- | ||
|
||
.. automodule:: pymodbus.client.async.factory.serial | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.async\.factory\.tcp module | ||
-------------------------------------------- | ||
|
||
.. automodule:: pymodbus.client.async.factory.tcp | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.async\.factory\.udp module | ||
-------------------------------------------- | ||
|
||
.. automodule:: pymodbus.client.async.factory.udp | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
pymodbus\.client\.async package | ||
=============================== | ||
|
||
.. automodule:: pymodbus.client.async | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
|
||
pymodbus.client.async.asyncio | ||
pymodbus.client.async.factory | ||
pymodbus.client.async.schedulers | ||
pymodbus.client.async.tornado | ||
pymodbus.client.async.twisted | ||
|
||
Submodules | ||
---------- | ||
|
||
pymodbus\.client\.async\.serial module | ||
-------------------------------------- | ||
|
||
.. automodule:: pymodbus.client.async.serial | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.async\.tcp module | ||
----------------------------------- | ||
|
||
.. automodule:: pymodbus.client.async.tcp | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.async\.thread module | ||
-------------------------------------- | ||
|
||
.. automodule:: pymodbus.client.async.thread | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
pymodbus\.client\.async\.udp module | ||
----------------------------------- | ||
|
||
.. automodule:: pymodbus.client.async.udp | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pymodbus\.client\.async\.schedulers package | ||
=========================================== | ||
|
||
.. automodule:: pymodbus.client.async.schedulers | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pymodbus\.client\.async\.tornado package | ||
======================================== | ||
|
||
.. automodule:: pymodbus.client.async.tornado | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pymodbus\.client\.async\.twisted package | ||
======================================== | ||
|
||
.. automodule:: pymodbus.client.async.twisted | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.