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.5

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.5
File Size Uploaded
ok_serial_terminal-0.5.tar.gz 21.2 kB Details

Built distribution (wheel)

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

Total release size: 45.6 kB

Release files / ok_serial_terminal-0.5.tar.gz

Download URL ok_serial_terminal-0.5.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
141ceee19a59b636b550401b42afe14bdaefbb697ec23f53f58eee0eacb18e40
BLAKE2b-256 checksum
How to use checksums
2d35157e45010711d77cc013edcee632e0a4894aa767b9aae71e7f8445c26017
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.5-py3-none-any.whl

Download URL ok_serial_terminal-0.5-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10551c080dd35220d397902f7a8bf900f3d01a2620e9847dd07fbaa869d319d5
BLAKE2b-256 checksum
How to use checksums
ab7e696a971667fbf99fa95a6b99601c07c75a0a04bcbf7bd0d27c4cc6cd16f9
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

This release

0.5 This release

2 release files

0.4

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