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

Pycomm3 Python 3.6 #40

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
e861dae
gitignore: add vim swp files
bpaterni May 6, 2017
e833153
initial work to get pycomm running on python 3.5
bpaterni May 6, 2017
0752292
Update cip_const.py
nos86 Aug 21, 2017
7b0a847
Update slc.py
nos86 Aug 21, 2017
6aa33e1
Ignore Eclipse Project
nos86 Aug 21, 2017
d118e13
Bugfix in Tag addressing
nos86 Aug 21, 2017
84d4c11
Updated README with Python3 tests
nos86 Aug 21, 2017
1975293
Updated travis
nos86 Aug 21, 2017
7021fcb
Merge pull request #1 from nos86/pycomm3
bpaterni Sep 2, 2017
6d55f55
cip_base: more compact unpack_bool()
bpaterni Feb 11, 2018
5933756
remove extra forward_close call
shadetree01010100 Apr 9, 2018
3d1724f
add status code 0x16
shadetree01010100 Apr 9, 2018
3e7b328
fix error in multirequest write
shadetree01010100 Jun 15, 2018
2aaeb83
Merge pull request #4 from tyoungNIO/base_fixes
bpaterni Jun 15, 2018
de6b5cd
Merge pull request #5 from tyoungNIO/fix_multi_write
bpaterni Jun 15, 2018
e786476
Fix read_array functionality in Python 3.5
bshep00 Jun 16, 2018
baff346
Merge pull request #6 from bshep00/pycomm3
bpaterni Jun 16, 2018
c0d68b6
Merge pull request #1 from bpaterni/pycomm3
Jun 19, 2018
dc1aa87
fix syntax error
shadetree01010100 Jun 19, 2018
f52fe8b
Merge pull request #7 from tyoungNIO/pycomm3-fixSyntax
bpaterni Jun 20, 2018
00e6406
Pip for Pycomm3 Fork
GameGrime Jul 31, 2018
ae69527
Merge pull request #8 from Lil-Jening/patch-1
bpaterni Aug 1, 2018
46e7eb8
Bandaid fix for exception error handling in python 3
GameGrime Aug 3, 2018
027ec25
fix read and write array methods
Aug 6, 2018
e3ec733
fixed read_string
Aug 6, 2018
c9afe2f
Merge pull request #9 from Lil-Jening/patch-2
bpaterni Aug 7, 2018
72fcd09
Merge pull request #10 from ottowayi/pycomm3
bpaterni Aug 7, 2018
b4991f6
fixed issue with udt name field not being parsed correctly
Mar 26, 2019
31820b7
Merge pull request #11 from ottowayi/pycomm3
bpaterni Mar 27, 2019
2244ec2
fixed issue with get_tag_list chopping off last 2 chars of the last t…
May 3, 2019
36a94fc
allow writing of any length string
May 3, 2019
ad8b62b
Merge pull request #1 from ottowayi/string
ottowayi May 3, 2019
5f03f16
added initial support for Extended Forward Open. Changes based on Py…
May 3, 2019
9b69186
Merge pull request #13 from ottowayi/exforwardopen
bpaterni May 5, 2019
99bd9e2
autoformatted code
May 6, 2019
e2e4940
added support to `read_tag` to allow reading bits of integers automat…
May 6, 2019
bc9513e
added some constants for bit length of different data types
May 6, 2019
5a9360b
minor changes to how bits are handled
May 7, 2019
7e19684
added fix so to allow writing bool array elements
May 7, 2019
97d10f3
forgot to have read_tag return the type, not just the value
May 7, 2019
fa7325a
Merge pull request #14 from ottowayi/feature/bits
bpaterni May 11, 2019
61908bb
fixed a couple typos from last pull request.
May 28, 2019
c4823d8
fixed issue in v31 when getting data type names for UDTs
May 28, 2019
b7aa3db
ignore vscode settings
pcnate Jul 8, 2019
440b620
import defaultdict
pcnate Jul 8, 2019
4f9480d
fix typo?
pcnate Jul 8, 2019
872a09a
Merge pull request #15 from ottowayi/issue/v31_get_tag_list
bpaterni Jul 8, 2019
dd17306
Merge pull request #16 from pcnate/defaultdict
bpaterni Jul 8, 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
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ __pycache__/
# C extensions
*.so

*.sw[a-z]

# Distribution / packaging
.Python
env/
Expand Down Expand Up @@ -54,4 +56,10 @@ docs/_build/
target/

# pycharm editor
.idea/
.idea/

#Eclipse
.project
.settings/
.pydevproject
.vscode/settings.json
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
language: python

python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.6"

install: python setup.py install

script: nosetests
script: nosetests
20 changes: 9 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,23 @@ Test
~~~~
The library is currently test on Python 2.6, 2.7.

Library is basically tested on python3.5 for SLC parts:
- Open a connection
- Read Tag
- Close the connection
(write_tag is updated to python3 but it's not tested)

.. image:: https://travis-ci.org/ruscito/pycomm.svg?branch=master
:target: https://travis-ci.org/ruscito/pycomm

Setup
~~~~~
The package can be installed from

GitHub:
::

git clone https://github.com/ruscito/pycomm.git
cd pycomm
sudo python setup.py install


PyPi:
PIP:
::

pip install pycomm
pip install git+https://github.com/bpaterni/pycomm.git@pycomm3

ab_comm
~~~~~~~
Expand Down Expand Up @@ -174,4 +172,4 @@ Thanks to patrickjmcd_ for the help with the Direct Connections and thanks in ad

License
~~~~~~~
pycomm is distributed under the MIT License
pycomm is distributed under the MIT License
Loading