Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
fbbf69e
Rebase to dev3.7
dices Sep 28, 2018
b8c968c
Adding 3.7 to travis configuration
dices Sep 22, 2018
38f1dc1
Updated documentation to resolve warnings introduced with the longer …
dices Sep 23, 2018
e40c78d
Fixed reference to deprecated asynchronous
dices Sep 28, 2018
44668d9
Merge pull request #2 from dices/Py37
dices Sep 28, 2018
e0829bd
Adding gmp disable to fix pypy build issues
dices Sep 28, 2018
06627b8
Adding gmp disable to fix pypy build issues
dices Sep 28, 2018
e11bff7
Removing travis python 3.7 configuration
dices Oct 2, 2018
0fce5b5
Adding asserts for Payload Endianness
EricDuminil Oct 8, 2018
3838f5f
Fixing example of Payload. Same Endianness for builder and decoder.
EricDuminil Oct 8, 2018
826a76c
Merge pull request #350 from EricDuminil/master
dhoomakethu Oct 9, 2018
13adf0a
Fix Sql db slave context validate and get methods - #139
dhoomakethu Oct 9, 2018
cd1cb1c
Merge branch 'dev3.7' of https://github.com/riptideio/pymodbus into d…
dices Oct 10, 2018
05afbb0
Merge pull request #351 from riptideio/#139-SqlDb-Context
dhoomakethu Oct 15, 2018
d00a8cd
#353 - debugging, Add debug logs to check size of avaialble data in r…
dhoomakethu Oct 16, 2018
e85057a
#353 Provide an option to disable inter char timeouts
dhoomakethu Oct 17, 2018
c0a2359
#353 Bump version, update changelog
dhoomakethu Oct 18, 2018
aef3e0a
Merge pull request #355 from riptideio/#353-Error-Reading-Registers
dhoomakethu Oct 23, 2018
e09fed7
Merge pull request #346 from dices/dev3.7
dhoomakethu Oct 23, 2018
b3281fe
Merge pull request #362 from riptideio/dev3.7
dhoomakethu Jan 12, 2019
7e1c728
check self.socket (#354)
mpf82 Jan 14, 2019
d14318f
Fix typo (#378)
kimhanse Jan 26, 2019
9ff42d1
Pymodbus 2.2.0 (#375)
dhoomakethu Apr 18, 2019
9dcdca8
Fix docs (#407)
dhoomakethu Apr 19, 2019
c42d619
Merge branch 'master' into dev
dhoomakethu Apr 19, 2019
14af637
Remove pycrypto dep (#411)
tracernz Apr 22, 2019
13384e4
Fix --upgrade option in install dependencies (#413)
acanidio May 13, 2019
92b4428
Padding for odd sized responses (#425)
tcplomp Jul 25, 2019
ca74132
README update: REPL stands for Read Evaluate **Print** Loop (#426)
alecjohanson Jul 30, 2019
6a6ebde
Drop python 3.4 support (#440)
tracernz Sep 9, 2019
b6429fc
Re-enable travis python 3.7 builds (#441)
tracernz Sep 9, 2019
68932a3
Update __init__.py (#436)
hackerboygn Sep 9, 2019
c645605
Use SPDX identifier to specify the exact license type (#427)
yegorich Sep 9, 2019
e6da559
asyncio server implementation (#400)
memetb Sep 9, 2019
050b03c
Add option to repl allowing Modbus RTU framing on a TCP socket (#447)
Sekenre Sep 26, 2019
cc6e976
Fix asynci server test failures on python3.6 and below
Oct 7, 2019
507e8a0
Bump version to 2.2.0rc1, update six requirements and Changelog
Oct 7, 2019
fedea33
Support multiple Python versions to fix test error from PR #400 (#444)
starnight Oct 17, 2019
4bdf738
Add TLS feature for Modbus synchronous (#446)
starnight Oct 28, 2019
3fb83cc
Fix #461 - Udp client/server , Fix #401 - package license with source…
dhoomakethu Oct 29, 2019
b97659d
Fix examples, Merge #431
dhoomakethu Oct 29, 2019
632d300
#401 Move license to root folder from docs
dhoomakethu Oct 29, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Rebase to dev3.7
  • Loading branch information
dices committed Sep 28, 2018
commit fbbf69e67b7477e1ce3a6e3233464fad6fd7c8d9
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pymodbus\.client\.async\.asyncio package
========================================

.. automodule:: pymodbus.client.async.asyncio
.. automodule:: pymodbus.client.asynchronous.asyncio
:members:
:undoc-members:
:show-inheritance:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pymodbus\.client\.async\.factory package
========================================

.. automodule:: pymodbus.client.async.factory
.. automodule:: pymodbus.client.asynchronous.factory
:members:
:undoc-members:
:show-inheritance:
Expand All @@ -12,23 +12,23 @@ Submodules
pymodbus\.client\.async\.factory\.serial module
-----------------------------------------------

.. automodule:: pymodbus.client.async.factory.serial
.. automodule:: pymodbus.client.asynchronous.factory.serial
:members:
:undoc-members:
:show-inheritance:

pymodbus\.client\.async\.factory\.tcp module
--------------------------------------------

.. automodule:: pymodbus.client.async.factory.tcp
.. automodule:: pymodbus.client.asynchronous.factory.tcp
:members:
:undoc-members:
:show-inheritance:

pymodbus\.client\.async\.factory\.udp module
--------------------------------------------

.. automodule:: pymodbus.client.async.factory.udp
.. automodule:: pymodbus.client.asynchronous.factory.udp
:members:
:undoc-members:
:show-inheritance:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pymodbus\.client\.async package
pymodbus\.client\.asynchronous package
===============================

.. automodule:: pymodbus.client.async
.. automodule:: pymodbus.client.asynchronous
:members:
:undoc-members:
:show-inheritance:
Expand All @@ -11,43 +11,43 @@ Subpackages

.. toctree::

pymodbus.client.async.asyncio
pymodbus.client.async.factory
pymodbus.client.async.schedulers
pymodbus.client.async.tornado
pymodbus.client.async.twisted
pymodbus.client.asynchronous.asyncio
pymodbus.client.asynchronous.factory
pymodbus.client.asynchronous.schedulers
pymodbus.client.asynchronous.tornado
pymodbus.client.asynchronous.twisted

Submodules
----------

pymodbus\.client\.async\.serial module
--------------------------------------

.. automodule:: pymodbus.client.async.serial
.. automodule:: pymodbus.client.asynchronous.serial
:members:
:undoc-members:
:show-inheritance:

pymodbus\.client\.async\.tcp module
-----------------------------------

.. automodule:: pymodbus.client.async.tcp
.. automodule:: pymodbus.client.asynchronous.tcp
:members:
:undoc-members:
:show-inheritance:

pymodbus\.client\.async\.thread module
--------------------------------------

.. automodule:: pymodbus.client.async.thread
.. automodule:: pymodbus.client.asynchronous.thread
:members:
:undoc-members:
:show-inheritance:

pymodbus\.client\.async\.udp module
-----------------------------------

.. automodule:: pymodbus.client.async.udp
.. automodule:: pymodbus.client.asynchronous.udp
:members:
:undoc-members:
:show-inheritance:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pymodbus\.client\.async\.schedulers package
===========================================

.. automodule:: pymodbus.client.async.schedulers
.. automodule:: pymodbus.client.asynchronous.schedulers
:members:
:undoc-members:
:show-inheritance:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pymodbus\.client\.async\.tornado package
========================================

.. automodule:: pymodbus.client.async.tornado
.. automodule:: pymodbus.client.asynchronous.tornado
:members:
:undoc-members:
:show-inheritance:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pymodbus\.client\.async\.twisted package
========================================

.. automodule:: pymodbus.client.async.twisted
.. automodule:: pymodbus.client.asynchronous.twisted
:members:
:undoc-members:
:show-inheritance:
Expand Down
2 changes: 1 addition & 1 deletion doc/source/library/pymodbus.client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Subpackages

.. toctree::

pymodbus.client.async
pymodbus.client.asynchronous

Submodules
----------
Expand Down
4 changes: 2 additions & 2 deletions doc/source/library/pymodbus.server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ pymodbus\.server package
Submodules
----------

pymodbus\.server\.async module
pymodbus\.server\.asynchronous module
------------------------------

.. automodule:: pymodbus.server.async
.. automodule:: pymodbus.server.asynchronous
:members:
:undoc-members:
:show-inheritance:
Expand Down
10 changes: 5 additions & 5 deletions examples/common/async_asyncio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
import asyncio
import logging
# ----------------------------------------------------------------------- #
# Import the required async client
# Import the required asynchronous client
# ----------------------------------------------------------------------- #
from pymodbus.client.async.tcp import AsyncModbusTCPClient as ModbusClient
# from pymodbus.client.async.udp import (
from pymodbus.client.asynchronous.tcp import AsyncModbusTCPClient as ModbusClient
# from pymodbus.client.asynchronous.udp import (
# AsyncModbusUDPClient as ModbusClient)
from pymodbus.client.async import schedulers
from pymodbus.client.asynchronous import schedulers

else:
import sys
Expand Down Expand Up @@ -68,7 +68,7 @@ async def start_async_test(client):
# are not known to these tests. Furthermore, some use the same memory
# blocks for the two sets, so a change to one is a change to the other.
# Keep both of these cases in mind when testing as the following will
# _only_ pass with the supplied async modbus server (script supplied).
# _only_ pass with the supplied asynchronous modbus server (script supplied).
# ----------------------------------------------------------------------- #
log.debug("Write to a Coil and read back")
rq = await client.write_coil(0, True, unit=UNIT)
Expand Down
6 changes: 3 additions & 3 deletions examples/common/async_asyncio_serial_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
if IS_PYTHON3 and PYTHON_VERSION >= (3, 4):
import logging
import asyncio
from pymodbus.client.async.serial import (
from pymodbus.client.asynchronous.serial import (
AsyncModbusSerialClient as ModbusClient)
from pymodbus.client.async import schedulers
from pymodbus.client.asynchronous import schedulers
else:
import sys
sys.stderr("This example needs to be run only on python 3.4 and above")
Expand Down Expand Up @@ -63,7 +63,7 @@ async def start_async_test(client):
# Furthermore, some use the same memory blocks for the two sets,
# so a change to one is a change to the other.
# Keep both of these cases in mind when testing as the following will
# _only_ pass with the supplied async modbus server (script supplied).
# _only_ pass with the supplied asynchronous modbus server (script supplied).
# ----------------------------------------------------------------------- #
log.debug("Write to a Coil and read back")
rq = await client.write_coil(0, True, unit=UNIT)
Expand Down
6 changes: 3 additions & 3 deletions examples/common/async_tornado_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

import functools
from tornado.ioloop import IOLoop
from pymodbus.client.async import schedulers
from pymodbus.client.asynchronous import schedulers

# ---------------------------------------------------------------------------#
# choose the requested modbus protocol
# ---------------------------------------------------------------------------#

# from pymodbus.client.async.udp import AsyncModbusUDPClient as ModbusClient
from pymodbus.client.async.tcp import AsyncModbusTCPClient as ModbusClient
# from pymodbus.client.asynchronous.udp import AsyncModbusUDPClient as ModbusClient
from pymodbus.client.asynchronous.tcp import AsyncModbusTCPClient as ModbusClient

# ---------------------------------------------------------------------------#
# configure the client logging
Expand Down
4 changes: 2 additions & 2 deletions examples/common/async_tornado_client_serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
import functools

from tornado.ioloop import IOLoop
from pymodbus.client.async import schedulers
from pymodbus.client.asynchronous import schedulers

# ---------------------------------------------------------------------------#
# choose the requested modbus protocol
# ---------------------------------------------------------------------------#

from pymodbus.client.async.serial import AsyncModbusSerialClient
from pymodbus.client.asynchronous.serial import AsyncModbusSerialClient

# ---------------------------------------------------------------------------#
# configure the client logging
Expand Down
6 changes: 3 additions & 3 deletions examples/common/async_twisted_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

from twisted.internet import reactor

from pymodbus.client.async.tcp import AsyncModbusTCPClient
# from pymodbus.client.async.udp import AsyncModbusUDPClient
from pymodbus.client.async import schedulers
from pymodbus.client.asynchronous.tcp import AsyncModbusTCPClient
# from pymodbus.client.asynchronous.udp import AsyncModbusUDPClient
from pymodbus.client.asynchronous import schedulers

# --------------------------------------------------------------------------- #
# choose the requested modbus protocol
Expand Down
6 changes: 3 additions & 3 deletions examples/common/async_twisted_client_serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"""

from twisted.internet import reactor
from pymodbus.client.async import schedulers
from pymodbus.client.async.serial import AsyncModbusSerialClient
from pymodbus.client.async.twisted import ModbusClientProtocol
from pymodbus.client.asynchronous import schedulers
from pymodbus.client.asynchronous.serial import AsyncModbusSerialClient
from pymodbus.client.asynchronous.twisted import ModbusClientProtocol

import logging
logging.basicConfig()
Expand Down
2 changes: 1 addition & 1 deletion examples/common/asynchronous_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from twisted.internet import serialport, reactor
from twisted.internet.protocol import ClientFactory
from pymodbus.factory import ClientDecoder
from pymodbus.client.async.twisted import ModbusClientProtocol
from pymodbus.client.asynchronous.twisted import ModbusClientProtocol

# --------------------------------------------------------------------------- #
# Choose the framer you want to use
Expand Down
6 changes: 3 additions & 3 deletions examples/common/asynchronous_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# --------------------------------------------------------------------------- #
# import the various server implementations
# --------------------------------------------------------------------------- #
from pymodbus.server.async import StartTcpServer
from pymodbus.server.async import StartUdpServer
from pymodbus.server.async import StartSerialServer
from pymodbus.server.asynchronous import StartTcpServer
from pymodbus.server.asynchronous import StartUdpServer
from pymodbus.server.asynchronous import StartSerialServer

from pymodbus.device import ModbusDeviceIdentification
from pymodbus.datastore import ModbusSequentialDataBlock
Expand Down
2 changes: 1 addition & 1 deletion examples/common/callback_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# --------------------------------------------------------------------------- #
# import the modbus libraries we need
# --------------------------------------------------------------------------- #
from pymodbus.server.async import StartTcpServer
from pymodbus.server.asynchronous import StartTcpServer
from pymodbus.device import ModbusDeviceIdentification
from pymodbus.datastore import ModbusSparseDataBlock
from pymodbus.datastore import ModbusSlaveContext, ModbusServerContext
Expand Down
2 changes: 1 addition & 1 deletion examples/common/custom_datablock.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# import the modbus libraries we need
# --------------------------------------------------------------------------- #
from __future__ import print_function
from pymodbus.server.async import StartTcpServer
from pymodbus.server.asynchronous import StartTcpServer
from pymodbus.device import ModbusDeviceIdentification
from pymodbus.datastore import ModbusSparseDataBlock
from pymodbus.datastore import ModbusSlaveContext, ModbusServerContext
Expand Down
2 changes: 1 addition & 1 deletion examples/common/dbstore_update_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# --------------------------------------------------------------------------- #
# import the modbus libraries we need
# --------------------------------------------------------------------------- #
from pymodbus.server.async import StartTcpServer
from pymodbus.server.asynchronous import StartTcpServer
from pymodbus.device import ModbusDeviceIdentification
from pymodbus.datastore import ModbusSequentialDataBlock
from pymodbus.datastore import ModbusServerContext
Expand Down
2 changes: 1 addition & 1 deletion examples/common/synchronous_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def run_sync_client():
# are not known to these tests. Furthermore, some use the same memory
# blocks for the two sets, so a change to one is a change to the other.
# Keep both of these cases in mind when testing as the following will
# _only_ pass with the supplied async modbus server (script supplied).
# _only_ pass with the supplied asynchronous modbus server (script supplied).
# ----------------------------------------------------------------------- #
log.debug("Write to a Coil and read back")
rq = client.write_coil(0, True, unit=UNIT)
Expand Down
2 changes: 1 addition & 1 deletion examples/common/updating_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# --------------------------------------------------------------------------- #
# import the modbus libraries we need
# --------------------------------------------------------------------------- #
from pymodbus.server.async import StartTcpServer
from pymodbus.server.asynchronous import StartTcpServer
from pymodbus.device import ModbusDeviceIdentification
from pymodbus.datastore import ModbusSequentialDataBlock
from pymodbus.datastore import ModbusSlaveContext, ModbusServerContext
Expand Down
4 changes: 2 additions & 2 deletions examples/contrib/asynchronous_asyncio_serial_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if IS_PYTHON3 and PYTHON_VERSION >= (3, 4):
import asyncio
from serial_asyncio import create_serial_connection
from pymodbus.client.async.asyncio import ModbusClientProtocol
from pymodbus.client.asynchronous.asyncio import ModbusClientProtocol
from pymodbus.transaction import ModbusAsciiFramer, ModbusRtuFramer
from pymodbus.factory import ClientDecoder
else:
Expand Down Expand Up @@ -43,7 +43,7 @@ async def start_async_test(client):
# are not known to these tests. Furthermore, some use the same memory
# blocks for the two sets, so a change to one is a change to the other.
# Keep both of these cases in mind when testing as the following will
# _only_ pass with the supplied async modbus server (script supplied).
# _only_ pass with the supplied asynchronous modbus server (script supplied).
# ----------------------------------------------------------------------- #
log.debug("Write to a Coil and read back")
rq = await client.write_coil(0, True, unit=UNIT)
Expand Down
2 changes: 1 addition & 1 deletion examples/contrib/modbus_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from pymodbus.datastore import ModbusSequentialDataBlock
from pymodbus.datastore import ModbusSlaveContext
from pymodbus.factory import ClientDecoder
from pymodbus.client.async.twisted import ModbusClientProtocol
from pymodbus.client.asynchronous.twisted import ModbusClientProtocol

# -------------------------------------------------------------------------- #
# Configure the client logging
Expand Down
2 changes: 1 addition & 1 deletion examples/contrib/modbus_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from optparse import OptionParser
from twisted.internet import reactor

from pymodbus.server.async import StartTcpServer
from pymodbus.server.asynchronous import StartTcpServer
from pymodbus.datastore import ModbusServerContext,ModbusSlaveContext

# -------------------------------------------------------------------------- #
Expand Down
2 changes: 1 addition & 1 deletion examples/functional/asynchronous_ascii_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
import unittest
from pymodbus.client.async import ModbusSerialClient as ModbusClient
from pymodbus.client.asynchronous import ModbusSerialClient as ModbusClient
from base_runner import Runner

class AsynchronousAsciiClient(Runner, unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion examples/functional/asynchronous_rtu_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
import unittest
from pymodbus.client.async import ModbusSerialClient as ModbusClient
from pymodbus.client.asynchronous import ModbusSerialClient as ModbusClient
from base_runner import Runner

class AsynchronousRtuClient(Runner, unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion examples/functional/asynchronous_tcp_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import unittest
from twisted.internet import reactor, protocol
from pymodbus.constants import Defaults
from pymodbus.client.async import ModbusClientProtocol
from pymodbus.client.asynchronous import ModbusClientProtocol
from base_runner import Runner

class AsynchronousTcpClient(Runner, unittest.TestCase):
Expand Down
Loading