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.3
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.3.tar.gz | 21.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ok_serial_terminal-0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.5 kB
Release files / ok_serial_terminal-0.3.tar.gz
| Download URL | ok_serial_terminal-0.3.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
772b80185ad08f56348138a30063309b6ffda0dc4e9108befc3cde49706db280
|
|
BLAKE2b-256 checksum How to use checksums |
3fd84afed84502bee2587fee5d102f78f8c7bc8a09fbf31e8b1735059413444a
|
| 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.3-py3-none-any.whl
| Download URL | ok_serial_terminal-0.3-py3-none-any.whl |
|---|---|
| Size | 24.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5c756dff332ab95da5de647155f2972c56e382ed4687b7dcfbc0dd1dd0d1aa4
|
|
BLAKE2b-256 checksum How to use checksums |
5fb233b5e430108b104e2bc10fdad5b7ba238e5fe6038c366340407486b15e5e
|
| 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}
|