Skip to main content

A simple line based serial terminal GUI.

Project description

A simple line based serial terminal GUI written in Python. This is a tool that’s useful for talking to a variety of serial based hardware that can involve custom protocols or just a standard command line interface. It runs on anything that supports Python and Qt.

TinyCom is inspired by the original CuteCom.

Features

  • Line oriented input and output, with configurable line ending.

  • Customizeable serial port configuration.

  • Automatically enumerates platform serial ports.

  • History of input lines, to easily regenerate them with a click.

  • Log the session to a file.

Runtime Requirements

This is just an overview of runtime requirements. All major versions of both the Python interpreter and QT API are supported.

Installation

For simplicity, instructions for only PyQt4 and Python2 are listed here. However, you can adjust to use any combination of Python2/Python3 and PyQt4/PyQt5/Pyside if you prefer when it comes to runtime dependencies.

On Ubuntu, first install dependencies using the system package manager.

sudo apt-get install python python-qt4 python-serial python-pip

Then, use pip to install tinycom.

pip install [--user] tinycom

Or, if you’re installing from source:

pip install [--user] tinycom-<version>.tar.bz2

The –user option causes tinycom to be installed in your home directory under ~/.local.

Then, if you somehow get fed up with TinyCom’s awesomeness, uninstall it.

pip uninstall tinycom

Running

Just execute tinycom.

Screenshots

Main Window

Main Window

PyQt4/PyQt5/PySide

TinyCom can use PyQt4, PyQt5, or PySide for its Qt API. As long as you have one installed, it will be automatically detected and used at runtime. However, if you wish to force a specific Qt API, you can set the QT_API environment variable to one of the following values when running.

QT_API=pyqt4 tinycom
QT_API=pyqt5 tinycom
QT_API=pyside tinycom

License

TinyCom is licensed under GPL Version 3. See the LICENSE.txt file. qt.py is licensed under 3-clause BSD. pyside_dyanmic.py is MIT licensed.

TinyCom Release Notes

Version 1.1 22 Feb 2017

  • Ignore pylint wrong-import-position warning

  • Convert README.md to rst long_description for PyPi

  • Switch sdist to gztar by default

  • Full support for PyQt4, PyQt5, and Pyside at runtime

  • Remove dead code comment

  • Enable universal package support by default

Version 1.0 20 Feb 2017

  • Initial alpha release.

Project details


Download files

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

Source Distribution

tinycom-1.1.tar.gz (74.6 kB view details)

Uploaded Source

Built Distribution

tinycom-1.1-py2.py3-none-any.whl (23.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tinycom-1.1.tar.gz.

File metadata

  • Download URL: tinycom-1.1.tar.gz
  • Upload date:
  • Size: 74.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tinycom-1.1.tar.gz
Algorithm Hash digest
SHA256 7a3f50ed458dfe3a2046589860ebfeecd72b46f48e674c4d967eebe9a74acbb6
MD5 98af6f4ba1cbb9ecc89189a3d167baa2
BLAKE2b-256 eb7ad2c6300949c0a57d3c8df49f933bbb0a24b210700f6d4d5f0c03b55e6da8

See more details on using hashes here.

File details

Details for the file tinycom-1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for tinycom-1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 17ba5f44d5918688f3ea19e2e8d961daba4156016225fffbf4c6163f11388dd9
MD5 3382ff8c9a264b08a6d7e7e956ee0a02
BLAKE2b-256 711df4cc1fa2e646d5c47b69e18c3b4c85ec1096dd70ccc90e3c6b5302a6ec76

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page