Skip to content

Commit b339951

Browse files
committed
change license from PY to BSD
- update doc files to rst - small updates
1 parent 8bc6e4f commit b339951

File tree

5 files changed

+122
-130
lines changed

5 files changed

+122
-130
lines changed

CHANGES.rst

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
==========================
2+
pyParallel Release Notes
3+
==========================
4+
5+
Version 0.1 29 Jul 2002
6+
---------------------------
7+
- added to CVS
8+
9+
Version 0.2 27 Jan 2005
10+
---------------------------
11+
- Windows version now using ctypes
12+
13+
Version ... ...
14+
---------------------------
15+
- add setDataDir to Windows backend
16+
- [SF 2785532] add getData for ppdev backend
17+

CHANGES.txt

-9
This file was deleted.

LICENSE.txt

+37-59
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,39 @@
1-
Copyright (c) 2002 Chris Liechti <[email protected]>;
1+
Copyright (c) 2001-2015 Chris Liechti <[email protected]>
22
All Rights Reserved.
33

4-
This is the Python license. In short, you can use this product in
5-
commercial and non-commercial applications, modify it, redistribute it.
6-
A notification to the author when you use and/or modify it is welcome.
7-
8-
9-
TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING THIS SOFTWARE
10-
===================================================================
11-
12-
LICENSE AGREEMENT
13-
-----------------
14-
15-
1. This LICENSE AGREEMENT is between the copyright holder of this
16-
product, and the Individual or Organization ("Licensee") accessing
17-
and otherwise using this product in source or binary form and its
18-
associated documentation.
19-
20-
2. Subject to the terms and conditions of this License Agreement,
21-
the copyright holder hereby grants Licensee a nonexclusive,
22-
royalty-free, world-wide license to reproduce, analyze, test,
23-
perform and/or display publicly, prepare derivative works, distribute,
24-
and otherwise use this product alone or in any derivative version,
25-
provided, however, that copyright holders License Agreement and
26-
copyright holders notice of copyright are retained in this product
27-
alone or in any derivative version prepared by Licensee.
28-
29-
3. In the event Licensee prepares a derivative work that is based on
30-
or incorporates this product or any part thereof, and wants to make
31-
the derivative work available to others as provided herein, then
32-
Licensee hereby agrees to include in any such work a brief summary of
33-
the changes made to this product.
34-
35-
4. The copyright holder is making this product available to Licensee on
36-
an "AS IS" basis. THE COPYRIGHT HOLDER MAKES NO REPRESENTATIONS OR
37-
WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION,
38-
THE COPYRIGHT HOLDER MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
39-
WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR
40-
THAT THE USE OF THIS PRODUCT WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
41-
42-
5. THE COPYRIGHT HOLDER SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER
43-
USERS OF THIS PRODUCT FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL
44-
DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE
45-
USING THIS PRODUCT, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE
46-
POSSIBILITY THEREOF.
47-
48-
6. This License Agreement will automatically terminate upon a material
49-
breach of its terms and conditions.
50-
51-
7. Nothing in this License Agreement shall be deemed to create any
52-
relationship of agency, partnership, or joint venture between the
53-
copyright holder and Licensee. This License Agreement does not grant
54-
permission to use trademarks or trade names from the copyright holder
55-
in a trademark sense to endorse or promote products or services of
56-
Licensee, or any third party.
57-
58-
8. By copying, installing or otherwise using this product, Licensee
59-
agrees to be bound by the terms and conditions of this License
60-
Agreement.
61-
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are
6+
met:
7+
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
11+
* Redistributions in binary form must reproduce the above
12+
copyright notice, this list of conditions and the following
13+
disclaimer in the documentation and/or other materials provided
14+
with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived
18+
from this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31+
32+
---------------------------------------------------------------------------
33+
Note:
34+
Individual files contain the following tag instead of the full license text.
35+
36+
SPDX-License-Identifier: BSD-3-Clause
37+
38+
This enables machine processing of license information based on the SPDX
39+
License Identifiers that are here available: http://spdx.org/licenses/

README.rst

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
pyParallel [in developement]
2+
============================
3+
4+
Overview
5+
--------
6+
This module encapsulates the access for the parallel port. It provides
7+
backends for Python running on Windows and Linux. Other platforms are
8+
possible too but not yet integrated.
9+
10+
This module is still under developement. But it may be useful for
11+
developers.
12+
The windows version needs a compiled extension and the giveio.sys driver
13+
for Windows NT/2k/XP. It uses ctypes to access functions in a prebuilt DLL.
14+
15+
It is released under a free software license, see LICENSE.txt for more
16+
details.
17+
18+
(C) 2001-2016 Chris Liechti [email protected]
19+
20+
Homepage: https://github.com/pyserial/pyparallel
21+
22+
23+
Features
24+
--------
25+
* same class based interface on all supported platforms
26+
* port numbering starts at zero, no need to know the port name in the
27+
user program
28+
* port string (device name) can be specified if access through numbering
29+
is inappropriate
30+
31+
32+
Requirements
33+
------------
34+
* Python 2.2 or newer
35+
* "Java Communications" (JavaComm) extension for Java/Jython
36+
37+
38+
Installation
39+
------------
40+
Extract files from the archive, open a shell/console in that directory and
41+
let Disutils do the rest::
42+
43+
python setup.py install
44+
45+
46+
Short introduction
47+
------------------
48+
::
49+
50+
>>> import parallel
51+
>>> p = parallel.Parallel() # open LPT1
52+
>>> p.setData(0x55)
53+
54+
55+
Examples
56+
--------
57+
Please look in the GIT Repository. There is an example directory where you
58+
can find a simple terminal and more.
59+
https://github.com/pyserial/pyparallel/tree/master/examples
60+
61+
62+
References
63+
----------
64+
* Python: http://www.python.org
65+
* Jython: http://www.jython.org
66+
* Java@IBM http://www-106.ibm.com/developerworks/java/jdk/ (JavaComm
67+
links are on the download page for the respecive platform jdk)
68+
* Java@SUN http://java.sun.com/products/

README.txt

-62
This file was deleted.

0 commit comments

Comments
 (0)