forked from pymodbus-dev/pymodbus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- moving custom datastores to examples - bumping required versions - making the debug server console optional - updating documentation
- Loading branch information
Showing
16 changed files
with
89 additions
and
56 deletions.
There are no files selected for viewing
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,6 @@ | ||
================================================== | ||
Database Datastore Example | ||
================================================== | ||
|
||
.. literalinclude:: ../../../examples/datastore/database.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
================================================== | ||
Redis Datastore Example | ||
================================================== | ||
|
||
.. literalinclude:: ../../../examples/datastore/modredis.py | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,3 @@ from the sourcecode* | |
store.rst | ||
context.rst | ||
remote.rst | ||
database.rst | ||
modredis.rst |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
============================================================ | ||
Custom Datastore Implementations | ||
============================================================ | ||
|
||
There are a few example implementations of custom datastores | ||
just to show what is possible. | ||
|
||
------------------------------------------------------------ | ||
SqlAlchemy Backend | ||
------------------------------------------------------------ | ||
|
||
This module allows one to use any database available through | ||
the sqlalchemy package as a datastore for the modbus server. | ||
This could be useful to have many servers who have data they | ||
agree upon and is transactional. | ||
|
||
------------------------------------------------------------ | ||
Redis Backend | ||
------------------------------------------------------------ | ||
|
||
This module allows one to use redis as a modbus server | ||
datastore backend. This achieves the same thing as the | ||
sqlalchemy backend, however, it is much more lightweight and | ||
easier to set up. | ||
|
File renamed without changes.
File renamed without changes.
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,5 @@ | ||
# ------------------------------------------------------------------- | ||
# if you want to use the custom data stores, uncomment these | ||
# ------------------------------------------------------------------- | ||
#SQLAlchemy==0.7.9 | ||
#redis==2.6.2 |
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 |
---|---|---|
@@ -1,14 +1,26 @@ | ||
distribute==0.6.24 | ||
pyserial==2.5 | ||
# ------------------------------------------------------------------- | ||
# if want to use the pymodbus serial stack, uncomment these | ||
# ------------------------------------------------------------------- | ||
#pyserial==2.6 | ||
# ------------------------------------------------------------------- | ||
# if you want to run the tests and code coverage, uncomment these | ||
# these out | ||
# ------------------------------------------------------------------- | ||
#coverage==3.4 | ||
#nose==1.0.0 | ||
#coverage==3.5.3 | ||
#mock==1.0b1 | ||
#nose==1.2.1 | ||
#pep8==1.3.3 | ||
# ------------------------------------------------------------------- | ||
# if you want to use the asynchronous version, uncomment these | ||
# ------------------------------------------------------------------- | ||
#Twisted==12.2.0 | ||
#zope.interface==4.0.1 | ||
#pyasn1==0.1.4 | ||
#pycrypto==2.6 | ||
#wsgiref==0.1.2 | ||
# ------------------------------------------------------------------- | ||
# if you are just using the synchronous version, you can comment | ||
# these out | ||
# if you want to build the documentation, uncomment these | ||
# ------------------------------------------------------------------- | ||
Twisted==11.0.0 | ||
zope.interface==3.8.0 | ||
#Jinja2==2.6 | ||
#Pygments==1.5 | ||
#Sphinx==1.1.3 | ||
#docutils==0.9.1 |
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