Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI support #168

Merged
merged 231 commits into from
May 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
44bcf73
Refactored and simplified calculation of RTU frames, added missing un…
abrandl Feb 28, 2011
71d0b00
- fixing a few small issues
bashwork Feb 28, 2011
a816955
merging recent rtu branch work to trunk
bashwork Feb 28, 2011
bced3d6
adding installer test script
bashwork Mar 1, 2011
3debbf0
enabling the checksum tests in check frame, fixing tests
bashwork Mar 1, 2011
2c4d68e
* Updating documentation
bashwork Mar 2, 2011
05506c5
cleaning up the build tools a bit
bashwork Mar 2, 2011
89467c9
Adding more commands to the setup.py
bashwork Mar 3, 2011
986565e
moving files around
bashwork Mar 3, 2011
1f77110
pep8 and cleanup
bashwork Mar 3, 2011
a2e716f
more cleanup
bashwork Mar 3, 2011
01510ca
Fixes issue 47
bashwork Mar 22, 2011
b09de19
adding another quick example
bashwork Apr 11, 2011
56b981c
cutting 200 pep8 errors
bashwork Apr 12, 2011
a2a7b8a
working on py3 merge
bashwork May 11, 2011
b7a3b4e
updating to python3
bashwork May 11, 2011
2b687c9
reverting back changes, remember Switch flag next time
bashwork May 11, 2011
d81d68a
adding some magic methods, just cause
bashwork May 11, 2011
92c2474
adding documentation pdf
bashwork May 19, 2011
bb1ab65
Fixes issue 49
bashwork May 24, 2011
5e4f7a8
Adds True and False constants for older python versions.
bashwork Jun 15, 2011
e276a93
adding tests for a few fixes
bashwork Jun 15, 2011
d1b4de2
Fixes issue 51
bashwork Aug 30, 2011
ecdfc19
fixing tests broken by interface change
bashwork Aug 30, 2011
40fb366
Updates issue 52
bashwork Aug 30, 2011
7c9c7b1
Fixes issue 53
bashwork Aug 31, 2011
ec8d571
Fix to add Python < 2.5 compatibility
bashwork Aug 31, 2011
305769f
adding a mostly complete diagnostic register implementation
bashwork Aug 31, 2011
297b16c
Adding more documentation and helpful factory methods.
bashwork Aug 31, 2011
f45eb91
adding modbus plus registers
bashwork Aug 31, 2011
a4d6811
adding endian ability to payload builder
bashwork Sep 6, 2011
d5a4402
Finishing the remaining modbus protocol
bashwork Sep 6, 2011
f0f594b
finished file read/write record requests
bashwork Sep 7, 2011
fcd572e
documentation, more tests, fixing extra commands
bashwork Sep 7, 2011
87eb6a4
adding more tests
bashwork Sep 7, 2011
2885f4f
Fixing the client/server async/sync implementations
bashwork Sep 9, 2011
9a82d03
adding test stubs to get full coverage count
bashwork Sep 9, 2011
5df1779
working on jamod, need to set up more complete project
bashwork Sep 9, 2011
ce574cb
adding GetDeviceInformationRequest
bashwork Sep 16, 2011
b97932a
adding read device information to decoder factory
bashwork Sep 16, 2011
ead17cf
fixing some example errors
bashwork Oct 18, 2011
0773775
working on the serial implementations
bashwork Oct 19, 2011
6e480d1
fixing the synchronous server implementation
bashwork Oct 19, 2011
d49a5d3
updating functional tests and documentation for sync-serial
bashwork Oct 19, 2011
8899ac9
updating tac files
bashwork Oct 19, 2011
6c5ebdd
Updating the documentation for the serial client/servers
bashwork Nov 20, 2011
0c28dfa
adding readme to root
bashwork Dec 5, 2011
a92c341
Fixes issue 56
bashwork Jan 17, 2012
59f8cb0
Fixes issue 1
bashwork Jan 17, 2012
3e48cf3
adding a requirements file for virtualenv folk
bashwork Jan 17, 2012
dd9fb0d
adding more cohesive code to the payload utilities
bashwork Feb 26, 2012
92a52f5
forgot to add the new example to the doc index
bashwork Feb 26, 2012
f91cef1
Fixing the rtu size calculation isse #55 on google code
bashwork Feb 26, 2012
b83e12c
using the endian flag in register factory
bashwork Feb 26, 2012
cb25def
fixing bad documentation
bashwork Mar 13, 2012
707c6df
fixing issue 58 on google code
bashwork Mar 22, 2012
6544edc
Fix binary framer and add start and end tokens
deuxpi Mar 29, 2012
5189c2f
Merge pull request #5 from deuxpi/binary-framer-fix
bashwork Mar 30, 2012
9270f2b
Adding checking in the client for an unconnected socket.
bashwork May 2, 2012
bc4898a
Fixing issue 60 on google code (including ez_setup)
bashwork May 2, 2012
58f3de8
fixing github issue #7
bashwork May 21, 2012
fbf8717
adding tests and two utilities
bashwork May 22, 2012
4b2afcc
adding message parser utility
bashwork May 22, 2012
c71fe2d
Fixing extended message decoding
bashwork May 23, 2012
cbf6e84
ModbusSparseDataBlock handled dictionaries incorrectly (they have an …
gjbroom Jun 7, 2012
178ca95
Merge pull request #8 from gjbroom/patch-1
bashwork Jun 7, 2012
d1de763
Updating the Readme.rst to explain how to install in zero dependency …
bashwork Jun 18, 2012
1f380a4
Fixing issue #10
bashwork Jun 18, 2012
6dc259c
updating the client documentation
bashwork Jun 18, 2012
3b191bd
updating the server context documentation
bashwork Jun 18, 2012
b444383
fixes #9 on github
bashwork Jun 18, 2012
5c47b8e
fixing the factory decoding and adding examples
bashwork Jun 18, 2012
46c58e0
pushing to version 1.0
bashwork Jun 18, 2012
2c84fe4
Fixing a bug in the asynchronous client that slipped through.
bashwork Jun 19, 2012
a57c87d
complete tests for the sync client
bashwork Jun 19, 2012
4f42698
cleaning up some pep8 errors
bashwork Jun 19, 2012
1409221
finished unit tests for async client
bashwork Jun 20, 2012
c7f1121
adding another test to the test-install script
bashwork Jun 20, 2012
c6bf024
finished covering sync client
bashwork Jun 28, 2012
dd4913a
updating documentation
bashwork Jun 29, 2012
f43765d
adding another example, adding debug checks
bashwork Jul 2, 2012
e6e20a4
Fixing the serial implementation of everything
bashwork Jul 2, 2012
c584ebf
fixing incorrect rtu lenght calculation
bashwork Jul 12, 2012
8f2c834
Add optional server_address to Sync and Async TCP/UDP Server API
pjkundert Jul 13, 2012
c232a95
Improve erver_address defaults to passing None
pjkundert Jul 13, 2012
eb2f67d
adding a few messages
bashwork Jul 14, 2012
726a423
Adding a message encoding generator for testing.
bashwork Jul 16, 2012
2f97b9b
adding documentation for message formats
bashwork Jul 16, 2012
e1e81b0
Merge pull request #12 from pjkundert/feature-server-address
bashwork Jul 24, 2012
26c7b04
updating documentation and being pedantic
bashwork Jul 24, 2012
0bf3974
Allowing overloading of message encoding
bashwork Sep 27, 2012
d4791f9
Cleaning up the build tools
bashwork Oct 2, 2012
8285cfb
adding support for pydev
bashwork Oct 4, 2012
dbc902d
fixing broken nosetest (/dev/pts) and pydev issues
bashwork Oct 4, 2012
5ba1915
adding bcd payload builder
bashwork Oct 10, 2012
07a499d
reworking contrib packages
bashwork Oct 11, 2012
7ab52cc
adding bcd payload contrib
bashwork Oct 11, 2012
49d0e5e
moving complex examples to contrib
bashwork Oct 11, 2012
a97322b
syncing version on pypi
bashwork Oct 11, 2012
bfcac1f
adding server rest api
bashwork Oct 12, 2012
ed99242
moving web -> bottle
bashwork Oct 12, 2012
fca1500
fixing documentation
bashwork Oct 12, 2012
f697aed
adding gui base
bashwork Oct 15, 2012
dbd4a45
adding initial manager page
bashwork Oct 17, 2012
89098d0
adding data view
bashwork Oct 17, 2012
7d418f2
fixing error in example
bashwork Nov 21, 2012
b304d74
adding the ability to override sync client framer
bashwork Dec 16, 2012
c335d45
updating the performance test
bashwork Dec 16, 2012
545c50d
fixing documentation
bashwork Dec 17, 2012
814ef1c
fixing memory leak in sync client
bashwork Dec 17, 2012
1e5f89d
adding modicon encoder/decoder
bashwork Jan 9, 2013
85945b7
Fix bogus calculation in ModbusSocketFramer.checkFrame
pitrou Jan 28, 2013
ad8a826
Adding sunspec client example
bashwork Feb 3, 2013
04ee590
adding method to retrieve all the device blocks
bashwork Feb 6, 2013
e6e2485
adding the initial mapper interface
bashwork Feb 7, 2013
727c0f5
adding ideas in progress
bashwork Feb 8, 2013
fd99353
adding a modbus datastore saver
bashwork Feb 13, 2013
bce03ed
making lrc/crc read stdin
bashwork Feb 25, 2013
7f6be9b
adding the callback server example
bashwork Mar 17, 2013
68a9346
adding a periodic updating example
bashwork Mar 17, 2013
ecd072a
fixing documentation
bashwork Mar 17, 2013
a968fdb
adding fix for stuck RTU streams
bashwork Mar 20, 2013
874fba3
fixing documentation error
bashwork Mar 20, 2013
0dff42f
Adding an example for changing framers
bashwork Mar 29, 2013
0b291f1
Merge pull request #16 from pitrou/framing-bug
bashwork Apr 2, 2013
61b2b80
Reworking the transaction managers to be explicit
bashwork Apr 2, 2013
69d8225
Bumping the version and adding a changelog
bashwork Apr 2, 2013
1884452
Fixing a logic error in client code
Apr 3, 2013
14a037d
Fixing 2to3 common warnings
May 13, 2013
f7575ea
Fixed example typo in readme
bashwork Jun 5, 2013
d98b372
Adding slave context delete ability
Jun 5, 2013
3e0e5e5
Fixing google code issue 69
bashwork Jun 19, 2013
7f9e3c9
Fixed docstring in synchronous serial client connect() method
idahogray Jun 20, 2013
ea19769
Merge pull request #24 from idahogray/master
bashwork Jul 8, 2013
1d4aa0a
Fix for issue #21
bashwork Jul 15, 2013
a8abfa2
Allowing options to be passed through
bashwork Jul 15, 2013
4703dfa
Adding source_address to TCP client inputs
bashwork Jul 28, 2013
8614024
Typo
jonmills Oct 11, 2013
d7ba4a3
Typo
jonmills Oct 11, 2013
6006481
Typo
jonmills Oct 11, 2013
b5b257a
Typo
jonmills Oct 11, 2013
2cc252f
Merge pull request #35 from jonmills/master
bashwork Oct 22, 2013
77ea6a9
Adding some new examples
Oct 23, 2013
be82996
Adding a concurrent client example
Oct 28, 2013
637a8f6
Allow specification of client connection handler in Modbus...Server
pjkundert Feb 20, 2014
42ee863
Merge pull request #44 from pjkundert/develop
bashwork Jul 18, 2014
6c6213d
Fixes #46
Jul 18, 2014
f6c7c95
Fixes #48
Jul 18, 2014
8c432d6
Adds the option to drop into zero mode for slaves
Jul 23, 2014
0693806
Fixes #42
Jul 23, 2014
ca02f9c
Bumping the version to 1.3.0
Jul 23, 2014
3ca9a38
add missing self operator
schubduese42 Aug 8, 2014
0ca8b5e
typo: fix spelling of Parameter
karlp Sep 30, 2014
87e35e0
async: missing slaves: add missing imports
karlp Sep 30, 2014
fd850ad
Fix zero_mode argument for ModbusSlaveContext
canpolat Oct 24, 2014
41131ee
Fix typo in constants
canpolat Oct 24, 2014
e0723d1
Adding an example and adding tcp timeout
Jan 5, 2015
6535037
fixes #70
Jan 5, 2015
2389d5e
Endianness now used in packing bytes
patrickfuller Jan 7, 2015
333c224
Merge pull request #67 from canpolat/zero_mode
bashwork Feb 18, 2015
14f68ac
Merge pull request #71 from patrickfuller/master
bashwork Feb 18, 2015
4038e22
Merge pull request #65 from remakeelectric/trivial-typo
bashwork Feb 18, 2015
93730d3
Merge pull request #53 from schubduese42/master
bashwork Feb 18, 2015
8c3a16c
Merge pull request #66 from remakeelectric/async-missing-import
bashwork Feb 18, 2015
e12323c
Adding a libmodbus wrapper
Mar 31, 2015
deadfdb
closes #73
Apr 2, 2015
0a78044
Execute methods of Requests accept context
Apr 2, 2015
bfda8f9
Add Modbus RTU syncronous server example
Apr 2, 2015
56628b1
Signal handlers to stop in shutdown().
estan May 3, 2015
e202e3a
WriteMultipleRegistersRequest: Handle values=None case
sjlongland Jun 3, 2015
ea98abe
Fix payload tests.
sjlongland Jun 4, 2015
6247f5f
sync.ModbusUdpClient: Correct reference to settimeout.
sjlongland Jun 4, 2015
e7cbe24
test-client-sync: Fix UDP connection test.
sjlongland Jun 4, 2015
82052fc
Lazily initialize InstallManagementConsole
joshkel Sep 1, 2015
7cf058a
Fixes the UDP client socket timeout bug
Sep 26, 2015
942776f
Merge pull request #99 from joshkel/master
bashwork Sep 26, 2015
acfe818
Merge pull request #88 from vrtsystems/fix-udp-sync-client
bashwork Sep 26, 2015
8ca7cef
Merge pull request #79 from BartDeWaal/master
bashwork Sep 26, 2015
5801fa0
Merge pull request #81 from estan/master
bashwork Sep 26, 2015
6949fbf
Implement mask_write_register method in client mixin
inguin Oct 5, 2015
6903ef9
Merge pull request #100 from inguin/master
bashwork Oct 13, 2015
1f529d0
Workaround for bug 101 https://github.com/bashwork/pymodbus/issues/101
dhoomakethu Oct 16, 2015
11f7392
Workaround for bug 101 https://github.com/bashwork/pymodbus/issues/101
dhoomakethu Oct 16, 2015
03277f9
Riptide 1.3.0 pymodbus internal pre-release (riptide1) with dhoomaket…
Oct 20, 2015
5900b66
Riptide 1.3.0 pymodbus internal pre-release (riptide1) with dhoomaket…
Oct 20, 2015
e3205b7
Use a PEP 404 compliant version. Start at rc93101 to usurp any other…
Oct 20, 2015
d42fc9d
Use a PEP 404 compliant version. Start at rc93101 to usurp any other…
Oct 20, 2015
4161e35
Document Riptide specific instructions.
Oct 20, 2015
e38c0d9
Merge branch 'master' into riptide (Workaround for bug 101 bashwork#101)
Oct 21, 2015
7511f4b
Merge branch 'master' into riptide (Workaround for bug 101 bashwork#101)
Oct 21, 2015
334cc20
Include Workaround for bug 101 bashwork#101
Oct 21, 2015
b1f2341
Include Workaround for bug 101 bashwork#101
Oct 21, 2015
f4627e0
Merge branch 'fix-101' into patch-fix-101
dhoomakethu Oct 21, 2015
0bc53d5
Better tag names.
Oct 21, 2015
94d6861
pymodbus fix for modes RTU error cases.
dhoomakethu Nov 16, 2015
42e6a3e
Merge pull request #1 from dhoomakethu/patch-fix-101-for-serial-modbus
dhoomakethu Nov 17, 2015
1e14754
version bumped to c93103
dhoomakethu Nov 20, 2015
b21aa1b
version bumped to c93103
dhoomakethu Nov 20, 2015
054da1d
Merged in patch-fix-101-for-serial-modbus-version-bumped (pull reques…
Nov 20, 2015
a6b41fc
fixed issue with pymodbus timing over serial
dhoomakethu Dec 23, 2015
c040d58
fixed issue with pymodbus timing over serial
dhoomakethu Dec 23, 2015
15711d5
Add RIPTIDE.md to .gitignore
dhoomakethu Dec 23, 2015
24ebb9d
Merge branch 'master' into timing-enhancements
dhoomakethu Dec 23, 2015
a2e18e5
Merge pull request #2 from dhoomakethu/timing-enhancements
dhoomakethu Dec 23, 2015
2ce2535
Merged in timing-enhancements (pull request #3)
dhoomakethu Jan 29, 2016
136c1b6
Merge branch 'master' of https://github.com/bashwork/pymodbus into ri…
dhoomakethu Nov 3, 2016
637e831
bump version to rc93105
dhoomakethu Nov 3, 2016
b593b79
1. fix bug with calculating expected pdu size for messages other than…
dhoomakethu May 5, 2017
6e4bb2e
sync bashwork/pymodbus master
dhoomakethu May 5, 2017
09be206
fix error with pdu size for messages other than read/write coil/regis…
dhoomakethu May 5, 2017
b88996b
fix merge conflicts
dhoomakethu May 5, 2017
b81124b
fix merge conflicts
dhoomakethu May 5, 2017
44e776e
fix version file
dhoomakethu May 5, 2017
37c2701
fix unit test failures
dhoomakethu May 5, 2017
7f11535
cleanup
dhoomakethu May 5, 2017
c92026b
#121 changelog updated
dhoomakethu May 12, 2017
eeb7014
1. preparing for release#162
dhoomakethu May 16, 2017
d728cc5
Merge branch 'master' into dev
dhoomakethu May 16, 2017
7ca9066
Misc update Add __maintainer__ field in setup.py
dhoomakethu May 16, 2017
d677fe5
1. #162, creating universal distribution for py2 and py3
dhoomakethu May 16, 2017
3fa5d00
fix test failures
dhoomakethu May 17, 2017
4697015
fix ReadDeviceInformationRequest encoding probelm
dhoomakethu May 17, 2017
0f8f1be
#166 fix failing tests on python 3.5
dhoomakethu May 20, 2017
08eacf9
Merge branch 'master' into dev
dhoomakethu May 20, 2017
057a371
mis - Updated documentation
dhoomakethu May 20, 2017
4e4f039
#167 updated documentation for CI
dhoomakethu May 20, 2017
b16cf55
#167 disable pep8/flake checks for the time being
dhoomakethu May 20, 2017
4db7e6b
#167, fix install dependencies osx, remove pypy from supported python…
dhoomakethu May 20, 2017
b0d863b
#167, fix install dependencies osx, remove pypy from supported python…
dhoomakethu May 20, 2017
a03bce5
#167 , fix minior error in travis.yml
dhoomakethu May 20, 2017
c0da663
Bump version to 1.3.0rc2
dhoomakethu May 20, 2017
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ pymodbus.egg-info/
.noseids

.idea/
.tox/
doc/api/epydoc/html/
.vscode/


32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
sudo: false
language: python
matrix:
include:
- os: linux
python: "2.7"
- os: linux
python: "3.4"
- os: linux
python: "3.5"
- os: linux
python: "3.6"
- os: osx
language: generic
before_install:
- if [ $TRAVIS_OS_NAME = osx ]; then brew update; fi
- if [ $TRAVIS_OS_NAME = osx ]; then brew install openssl; fi

install:
# - scripts/travis.sh pip install pip-accel
- scripts/travis.sh pip install coveralls
- scripts/travis.sh pip install --requirement=requirements-checks.txt
- scripts/travis.sh pip install --requirement=requirements-tests.txt
- scripts/travis.sh LC_ALL=C pip install .
script:
# - scripts/travis.sh make check
- scripts/travis.sh make test
after_success:
- scripts/travis.sh coveralls
branches:
except:
- /^[0-9]/
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

Version 1.3.0.rc2
------------------------------------------------------------
* fix encoding problem for ReadDeviceInformationRequest method on python3

Version 1.3.0.rc1
------------------------------------------------------------
* Timing improvements over MODBUS Serial interface
Expand Down
64 changes: 64 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Makefile for the `pymodbus' package.

WORKON_HOME ?= $(HOME)/.virtualenvs
VIRTUAL_ENV ?= $(WORKON_HOME)/pymodbus
PATH := $(VIRTUAL_ENV)/bin:$(PATH)
MAKE := $(MAKE) --no-print-directory
SHELL = bash

default:
@echo 'Makefile for pymodbus'
@echo
@echo 'Usage:'
@echo
@echo ' make install install the package in a virtual environment'
@echo ' make reset recreate the virtual environment'
@echo ' make check check coding style (PEP-8, PEP-257)'
@echo ' make test run the test suite, report coverage'
@echo ' make tox run the tests on all Python versions'
@echo ' make clean cleanup all temporary files'
@echo

install:
@test -d "$(VIRTUAL_ENV)" || mkdir -p "$(VIRTUAL_ENV)"
@test -x "$(VIRTUAL_ENV)/bin/python" || virtualenv --quiet "$(VIRTUAL_ENV)"
@test -x "$(VIRTUAL_ENV)/bin/pip" || easy_install pip
@pip install --quiet --requirement=requirements.txt
@pip uninstall --yes pymodbus &>/dev/null || true
@pip install --quiet --no-deps --ignore-installed .

reset:
$(MAKE) clean
rm -Rf "$(VIRTUAL_ENV)"
$(MAKE) install

check: install
@pip install --upgrade --quiet --requirement=requirements-checks.txt
@flake8

test: install
@pip install --quiet --requirement=requirements-tests.txt
@nosetests --with-coverage --cover-html
@coverage report --fail-under=90

tox: install
@pip install --quiet tox && tox

docs: install
@pip install --quiet sphinx
@cd doc/sphinx && sphinx-build -nb html -d doctrees . html

publish: install
git push origin && git push --tags origin
$(MAKE) clean
pip install --quiet twine wheel
python setup.py sdist bdist_wheel
twine upload dist/*
$(MAKE) clean

clean:
@rm -Rf *.egg .cache .coverage .tox build dist docs/build htmlcov
@find -depth -type d -name __pycache__ -exec rm -Rf {} \;
@find -type f -name '*.pyc' -delete

.PHONY: default install reset check test tox docs publish clean
25 changes: 24 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,34 @@ like your device tested, I accept devices via mail or by IP address.
That said, the current work mainly involves polishing the library as
I get time doing such tasks as:

* Add CI support
* Make PEP-8 compatible and flake8 ready
* Fixing bugs/feature requests
* Architecture documentation
* Functional testing against any reference I can find
* The remaining edges of the protocol (that I think no one uses)


------------------------------------------------------------
Development Instructions
------------------------------------------------------------
The current code base is compatible with both py2 and py3.
Use make to perform a range of activities

```
$ make
Makefile for pymodbus

Usage:

make install install the package in a virtual environment
make reset recreate the virtual environment
make check check coding style (PEP-8, PEP-257)
make test run the test suite, report coverage
make tox run the tests on all Python versions
make clean cleanup all temporary files

```

------------------------------------------------------------
License Information
------------------------------------------------------------
Expand Down
208 changes: 49 additions & 159 deletions doc/sphinx/conf.py
Original file line number Diff line number Diff line change
@@ -1,198 +1,88 @@
# -*- coding: utf-8 -*-
# Pymodbus
#
# PyModbus documentation build configuration file, created by
# sphinx-quickstart on Tue Apr 14 19:11:16 2009.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
# Author: dhoomakethu <[email protected]>
# Last Change: May 20, 2017
# URL: https://pymodbus.readthedocs.io

"""Sphinx documentation configuration for the `pymodbus` package."""

import os
import sys

sys.path.insert(0, os.path.abspath(os.pardir))

import sys, os

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('.'))
# -- General configuration ----------------------------------------------------

# -- General configuration -----------------------------------------------------
# Sphinx extension module names.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
'humanfriendly.sphinx',
]

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage']
# Sort members by the source order instead of alphabetically.
autodoc_member_order = 'bysource'

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# Paths that contain templates, relative to this directory.
templates_path = ['templates']

# The suffix of source filenames.
source_suffix = '.rst'

# The encoding of source files.
#source_encoding = 'utf-8'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'Pymodbus'
copyright = u'2009, Galen Collins'
project = u'pymodbus'
copyright = u'2017, riptideio/bashworks'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#

# Find the package version and make it the release.
from pymodbus import __version__ as pymodbus_version # noqa

# The short X.Y version.
version = '1.0'
version = '.'.join(pymodbus_version.split('.')[:2])

# The full version, including alpha/beta/rc tags.
release = '1.0'
release = pymodbus_version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
language = 'en'

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of documents that shouldn't be included in the build.
#unused_docs = []

# List of directories, relative to source directory, that shouldn't be searched
# for source files.
exclude_trees = ['build']

# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['build']

# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True

# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
show_authors = True
add_function_parentheses = True

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []

# Refer to the Python standard library.
# From: http://twistedmatrix.com/trac/ticket/4582.
intersphinx_mapping = dict(
python=('https://docs.python.org/2', None),
capturer=('https://capturer.readthedocs.io/en/latest', None),
humanfriendly=('https://humanfriendly.readthedocs.io/en/latest', None),
)

# -- Options for extensions ---------------------------------------------------
autodoc_default_flags = ['members', 'inherited-members', 'show-inheritance']
autoclass_content = 'both'
# -- Options for HTML output --------------------------------------------------

# -- Options for HTML output ---------------------------------------------------

# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None

# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'pymodbusdoc'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['static']

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'

# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True

# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}

# Additional templates that should be rendered to pages, maps page names to
# template names.
#html_additional_pages = {}

# If false, no module index is generated.
#html_use_modindex = True

# If false, no index is generated.
#html_use_index = True

# If true, the index is split into individual pages for each letter.
#html_split_index = False

# If true, links to the reST sources are added to the pages.
#html_show_sourcelink = True

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
#html_use_opensearch = ''

# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = ''

# Output file base name for HTML help builder.
htmlhelp_basename = 'Pymodbus'


# -- Options for LaTeX output --------------------------------------------------

# The paper size ('letter' or 'a4').
#latex_paper_size = 'letter'

# The font size ('10pt', '11pt' or '12pt').
#latex_font_size = '10pt'

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'Pymodbus.tex', ur'Pymodbus Documentation',
ur'Galen Collins', 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None

# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False

# Additional stuff for the LaTeX preamble.
#latex_preamble = ''

# Documents to append as an appendix to all manuals.
#latex_appendices = []

# If false, no module index is generated.
#latex_use_modindex = True
Binary file added doc/sphinx/doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added doc/sphinx/doctrees/examples/bcd-payload.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added doc/sphinx/doctrees/examples/gtk-frontend.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/examples/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added doc/sphinx/doctrees/examples/performance.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added doc/sphinx/doctrees/examples/tk-frontend.doctree
Binary file not shown.
Binary file not shown.
Binary file added doc/sphinx/doctrees/examples/wx-frontend.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/index.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/async-client.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/async-server.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/constants.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/device.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/diag-message.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/events.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/exceptions.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/factory.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/file-message.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/index.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/interfaces.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/mei-message.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/other-message.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/payload.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/pdu.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/pymodbus.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/sync-client.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/sync-server.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/transaction.doctree
Binary file not shown.
Binary file added doc/sphinx/doctrees/library/utilities.doctree
Binary file not shown.
Loading