Skip to content

Commit 73e9a57

Browse files
authored
Merge pull request #246 from riptideio/async
Redesign Async client implementation with support to tornado and asyncio
2 parents 7f788a4 + b8faf33 commit 73e9a57

File tree

93 files changed

+4575
-603
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+4575
-603
lines changed

.coveragerc

Lines changed: 0 additions & 2 deletions
This file was deleted.

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ pymodbus/server/__pycache__/
2222
test/__pycache__/
2323
**/pymodbus.db
2424
/.eggs/
25+
/test/bin/
26+
/test/include/
27+
/test/lib/
28+
/test/pip-selfcheck.json
29+
/test/.Python
2530
/.cache/
2631
/doc/sphinx/doctrees/
2732
/doc_new/

.readthedocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ python:
77
extra_requirements:
88
- twisted
99
- documents
10+
version: 3.5

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ matrix:
1111
- os: linux
1212
python: "3.6"
1313
- os: osx
14+
osx_image: xcode8.3
1415
language: generic
1516
before_install:
1617
- if [ $TRAVIS_OS_NAME = osx ]; then brew update; fi
1718
- if [ $TRAVIS_OS_NAME = osx ]; then brew install openssl; fi
1819

1920
install:
2021
# - scripts/travis.sh pip install pip-accel
22+
- scripts/travis.sh pip install -U setuptools
2123
- scripts/travis.sh pip install coveralls
2224
- scripts/travis.sh pip install --requirement=requirements-checks.txt
2325
- scripts/travis.sh pip install --requirement=requirements-tests.txt

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version 2.0.0rc1
2+
-----------------------------------------------------------
3+
**Note This is a Major release and might affect your existing Async client implementation. Refer examples on how to use the latest async clients.**
4+
5+
* Async client implementation based on Tornado, Twisted and asyncio
6+
17
Version 1.5.1
28
------------------------------------------------------------
39
* Fix device information selectors
@@ -36,6 +42,7 @@ Version 1.5.0
3642
* Modbus read retries works only when empty/no message is received
3743
* Change test runner from nosetest to pytest
3844
* Fix Misc examples
45+
>>>>>>> master
3946

4047
Version 1.4.0
4148
------------------------------------------------------------

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include requirements.txt
2+
include README.rst
3+
include CHANGELOG.rst

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ check: install
3939

4040
test: install
4141
@pip install --quiet --requirement=requirements-tests.txt
42-
@py.test
42+
@py.test --cov=pymodbus/ --cov-report term-missing
4343
@coverage report --fail-under=90
4444

4545
tox: install

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
.. image:: https://badges.gitter.im/Join%20Chat.svg
55
:target: https://gitter.im/pymodbus_dev/Lobby
66

7-
.. image:: https://readthedocs.org/projects/pymodbus-n/badge/?version=latest
8-
:target: http://pymodbus-n.readthedocs.io/en/latest/?badge=latest
7+
.. image:: https://readthedocs.org/projects/pymodbus/badge/?version=latest
8+
:target: http://pymodbus.readthedocs.io/en/async/?badge=latest
99
:alt: Documentation Status
1010

11+
.. important::
12+
**Note This is a Major release and might affect your existing Async client implementation. Refer examples on how to use the latest async clients.**
13+
1114
============================================================
1215
Summary
1316
============================================================
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
==================================================
2-
Asynchronous Client Example
2+
Async Asyncio Client Example
33
==================================================
4-
.. literalinclude:: ../../../examples/common/asynchronous_client.py
4+
.. literalinclude:: ../../../examples/common/async_asyncio_client.py
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
==================================================
2+
Async Asyncio Serial Client Example
3+
==================================================
4+
.. literalinclude:: ../../../examples/common/async_asyncio_serial_client.py

0 commit comments

Comments
 (0)