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.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ok_serial_terminal-0.7.tar.gz | 21.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ok_serial_terminal-0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.7 kB
Release files / ok_serial_terminal-0.7.tar.gz
| Download URL | ok_serial_terminal-0.7.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f16d4b31faaa74f24fa38e080ad70e4c7df172e01b03806aff3b1cf5281dac46
|
|
BLAKE2b-256 checksum How to use checksums |
5f7d59ab4cb4085f94678bc658395628cbb92ad392c725bb8189d414bc6709d7
|
| 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.7-py3-none-any.whl
| Download URL | ok_serial_terminal-0.7-py3-none-any.whl |
|---|---|
| Size | 24.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5c62524863784a151d6631a61205af231e184bb4e33310121b007ebd7f4e93e
|
|
BLAKE2b-256 checksum How to use checksums |
52451cac8d363072e7b674d510f7935c42c88f8305abb612b40ff3d38c91bf80
|
| 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}
|