Skip to main content

A simple cross platform serial terminal in pure wxPython

Project description

License: BSD, see README.TXT

Changes: | 1.1 Original Release | 1.2 Added ‘back door’ socket server | 1.3 Separated newline conversion on tx and rx | 1.4 Added dependency to csFIFO


I’ve tested it on Windows XP, Windows 7 and Linux/Ubuntu under Python 2.6.7 and 2.7.3, though no warranty is given for it’s correct operation. It may work with older Python versions and on other operating systems.

It now supports a socket server so you can connect to it remotely via TCP.

The port parameter now supports urls from pySerial, e.g.


From the command line:

usage: [-h] [-port PORT] [-baud BAUD] [-xon] [-rts]
                    [-timeout TIMEOUT] [-echo] [-D]
                    [-KBNONE | -KBCR | -KBLF | -KBCRLF | -KBLFCR]
                    [-SPNONE | -SPCR | -SPLF | -SPCRLF | -SPLFCR]
                    [-5 | -6 | -7 | -8]
                    [-stop {1,1.5,2}] [-None | -Odd | -Even | -Mark | -Space]
                    [-snoopserver] [-lockKB]
e.g. -h <PORT> [other settings]
Simply on it's own pops up a configuration dialog

From python:

import wxTerminal
wxTerminal.Terminal(port="/dev/ttyS0")  #Will open /dev/ttyS0 with default settings


import wxTerminal


import wxTerminal
wxTerminal.Terminal() #Will bring up a port setup dialog

Other keyword parameters:

baudrate      Sets the serial baud rate
bytesize      Sets size of Tx/Rx serial characters
parity        Sets serial parity
stopbits      Sets number of stop bits
rtscts        Enables hardware flow control
xonxoff       Enables software flow control
timeout       Alters serial timeout
echo          Enables local echo
unprintable   TBD
sp_newline    Inbound newline translation
kb_newline    Outbound newline translation
snoopserver   Enable a telnet server (port 56712)
PortSettings  A dictionary with keys/values from the above list
lockKB        Lock keyboard input (useful for snooped connections)


Python >2.6.3

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wxTerminal, version 1.4
Filename, size File type Python version Upload date Hashes
Filename, size wxTerminal-1.4-py2.6.egg (38.9 kB) File type Egg Python version 2.6 Upload date Hashes View
Filename, size wxTerminal-1.4-py2.7.egg (38.8 kB) File type Egg Python version 2.7 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page