bittty
A pure Python terminal emulator.
Demo
Run the standalone demo:
python ./demo/terminal.py
Or use the textual demo to see it in a TUI:
uvx textual-tty
Links
License
WTFPL with one additional clause
- Don't blame me
Do wtf you want, but don't blame me when it rips a hole in your trousers.
Recent changes
- 🏃 more performance
- 🏗️ rewrite architecture
- 🐛 scroll region: scroll up in
vimcorrupts outside scroll region - 🏃 squeeze another 15% performance out of it
- ✀ fix utf8 and escape code splitting across buffer boundaries
- 🪟 tests run on Windows runner
- 📉 added parser benchmarking and tui graphs
- 🐌 use regex for parsing to speed things up a tad (~2x faster)
- 📚 document half a billion DEC private modes we don't support
- 🔙 DECLM - allow
\nto act like\r\nso we don't have to rely on cooked input on the pty when using as a library. - 🖼️ DEC Special Graphics
- 🐌 Faster colour/style parser
- ⛓️💥 Split out from
textual-ttyinto separate package
Known limitations
- Resizing is not atomic with concurrent PTY output.
- There is no scrollback buffer or reflow on resize.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bittty-0.1.3.tar.gz
(86.4 kB
view details)
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
bittty-0.1.3-py3-none-any.whl
(101.7 kB
view details)
File details
Details for the file bittty-0.1.3.tar.gz.
File metadata
- Download URL: bittty-0.1.3.tar.gz
- Upload date:
- Size: 86.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffbc178dc0ac061af402150bc3842638b8fea11d960be6763ec87950cf86fd0a
|
|
| MD5 |
ded8930303c81b5032550dec73471d7a
|
|
| BLAKE2b-256 |
4399165f5c73590b5b2a991e2583ad4669e66faa170d6a7d9f4359102531c661
|
File details
Details for the file bittty-0.1.3-py3-none-any.whl.
File metadata
- Download URL: bittty-0.1.3-py3-none-any.whl
- Upload date:
- Size: 101.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57af26fa72050a9aa5385ca6072f61f551499bd3e22c7a520b6d5faec889d4b3
|
|
| MD5 |
1ba361864868218c73c1b7cd82e21f6f
|
|
| BLAKE2b-256 |
e4374651a0e6eedcafcd1b9997e5b46d94d4ec3e6fae5e160829de09c92ed271
|