ANN: pyserial - a mulitplatform serial port library (Win32, Linux, Jython)
Chris Liechti
cliechti at gmx.net
Wed Feb 13 15:53:35 EST 2002
seems that others too want to use the serial port from python...
here's my module (python license). this is the first public release as
separrate package. but its already used in pybsl. however its now very
handy with a disutils install.
from the readme/homepage:
pySerial
--------
This module capsulates the access for the serial port. It provides
backends for stadard Python running on Windows, Linux, BSD (possibly
any POSIX compilant system) and Jython. The module named "serial"
automaticaly selects the appropriate backed.
(C) 2001-2002 Chris Liechti <cliechti at gmx.net>
Features
--------
- same class based interface on all supported platforms
- port numbering starts at zero, no need to know the port name in the
user program
- port string can be specified if access through numbering is
inappropriate
- support for diffrent bytesizes, stopbits, parity and flow control
with RTS/CTS and/or xon/xoff
- working with or without receive timeout
- file like API with "read" and "write"
- The files in this package are 100% pure Python.
They depend on non standard but common packages on Windows
(win32all) and Jython (JavaComm). POSIX (Linux, BSD) uses only
modules from the standard python distribution)
- The port is set up for binary transmission. No NULL byte stripping,
CR-LF translation etc. (which are many times enabled for POSIX.)
This makes this module universally useful.
more details on the Homepage: http://pyserial.sourceforge.net/
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list