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.6
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.6.tar.gz | 21.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ok_serial_terminal-0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.6 kB
Release files / ok_serial_terminal-0.6.tar.gz
| Download URL | ok_serial_terminal-0.6.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a260642dab4d20125e63c6bef1eb24894ae367228bab36364dc07ba06e6e5b9
|
|
BLAKE2b-256 checksum How to use checksums |
0809c3c7853e5918792f16caf3edad857ecfd02206c6e27c2824fc9133802248
|
| 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.6-py3-none-any.whl
| Download URL | ok_serial_terminal-0.6-py3-none-any.whl |
|---|---|
| Size | 24.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9387a522cc21d59b3a39caca8395dc8a57901dabc2ec0abc862adfecede59050
|
|
BLAKE2b-256 checksum How to use checksums |
cb934347e6f1c063daf4072c0b093c334cc531eb4863b4f7be929f9732372172
|
| 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}
|