Skip to main content

OK serial terminal   🔌〡〇〡〇〡💻

An interactive serial port terminal, built on ok-serial.

Think twice before using this! Consider something more established:

  • tio - not Python, but a great serial terminal utility
  • picocom - the classic minimal serial terminal
  • screen - the terminal multiplexer is also a serial terminal
  • minicom - if you're nostalgic for the DOS era
  • pyserial's miniterm - already installed if you have pyserial

Installation and Usage

Install the Python package to get the okterm utility:

pip install ok-serial-terminal
# or 'uv add ok-serial-terminal', 'uv tool install ok-serial-terminal', etc.
okterm <port> [baud]

OR, skip the package install and run it directly with uvx or pipx:

uvx ok-serial-terminal <port> [baud]
# or `pipx run ok-serial-terminal <port> [baud]`

The baud rate defaults to 115200 if omitted. The port is an ok-serial match expression, so okterm RP2040, okterm 2e8a:0005, and okterm /dev/ttyACM0 all work. Run okserial (or uvx ok-serial, etc.) to list visible ports and their attributes.

On a terminal (unless --plain is given), okterm decorates the display with connection status, control signal state, and an indicator for unechoed typed characters. In this mode, ctrl-] opens a menu and ctrl-\ quits.

In plain mode (I/O redirected or --plain given), data is pass-through and ctrl-C quits.

See okterm --help for more options (locking mode, etc).

Metadata

Release files for ok-serial-terminal 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ok-serial-terminal 0.4
File Size Uploaded
ok_serial_terminal-0.4.tar.gz 21.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ok-serial-terminal 0.4
File Interpreter ABI Platform
ok_serial_terminal-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 45.5 kB

Release files / ok_serial_terminal-0.4.tar.gz

Download URL ok_serial_terminal-0.4.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6fab1abc4d11ca2997dc2cb3bfef7c78dfeb45d8fe048773a9531f64a8e5b1e2
BLAKE2b-256 checksum
How to use checksums
1ee0bf60b1f933baa5f3ffc80132a23eb37af88551a588fec1d6b02f9d34f8c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ok_serial_terminal-0.4-py3-none-any.whl

Download URL ok_serial_terminal-0.4-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5006dcc5d590a8bf473e808fdd5ba5f64e0c66537bfc13a9df7d5014fec4a073
BLAKE2b-256 checksum
How to use checksums
c3b603e829d40cde5898fd26ec7c13e76c2ee4aa878f9d17ea4214f5a9888c61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.7

2 release files

0.6

2 release files

0.5

2 release files

This release

0.4 This release

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page