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).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ok_serial_terminal-0.2.tar.gz.
File metadata
- Download URL: ok_serial_terminal-0.2.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
558cfa695b07cce431a3655f7c6e6a27c83128b8eff600cd97af5864c172a345
|
|
| MD5 |
859612b7979f619cd3a0d6addec4fd4a
|
|
| BLAKE2b-256 |
fe9c79c27da33e9bfda19a4012069d2905fcf3774efa537094eb9a3afe0641e5
|
File details
Details for the file ok_serial_terminal-0.2-py3-none-any.whl.
File metadata
- Download URL: ok_serial_terminal-0.2-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cad8d4cccdc50f030d7aceca98e9c4bd4896735058836b071244ead1198832b
|
|
| MD5 |
bd8aed12e668b55701749741459aea09
|
|
| BLAKE2b-256 |
8f3b64f3157ec62f20d069564ffc8b79c40f46eef80a383237c6d8bd853a30d4
|