textual-tty
A terminal emulator for Textual apps, using bittty, my pure Python terminal
emulator.
Terminals in your terminal: draggable, resizable windows running real ptys.
Demo
uvx textual-tty
Usage
from textual_tty import Terminal, TerminalWindow, Window
# A terminal as a plain widget: composes a bittty Board, never subclasses it.
yield Terminal(command="htop")
# Or in a draggable, resizable window that closes when the process exits.
yield TerminalWindow(command=["vim", "README.md"])
Terminal speaks the whole seam: bracketed paste, OSC palette/title/cwd/
clipboard/notifications, DECSCUSR cursor shapes, synchronized output, mouse
reporting with drag-selection when the child isn't tracking, OSC 8 links
(ctrl+click opens), and XTWINOPS — a child can move, raise, and resize its
own window. Discrete events arrive as Textual messages; anything deeper is
on terminal.board (the bittty emulator). Window is a bare-bones
draggable/resizable window you can use for other things too.
Read the demo code (textual_tty/demo.py) for a working app.
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.
Metadata
Release files for textual-tty 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| textual_tty-0.4.0.tar.gz | 14.5 kB | Without provenance | Details for textual_tty-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| textual_tty-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for textual_tty-0.4.0-py3-none-any.whl |
Total release size: 32.4 kB
Release files / textual_tty-0.4.0.tar.gz
| Download URL | textual_tty-0.4.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ec0922bc01a1452c5d9036c0713305587a8a2f52f3b38582ed2d78ab9278804
|
|
BLAKE2b-256 checksum How to use checksums |
fd7f3f0685a8f1d5502a79b8e964959397a233ce7909cae89fe314216e5f6c76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Release files / textual_tty-0.4.0-py3-none-any.whl
| Download URL | textual_tty-0.4.0-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4dba7766c97a5df5a73689b781e80eacd1048ca905948089c8f6e2e82c1f0275
|
|
BLAKE2b-256 checksum How to use checksums |
5048312a3f6190730ecb4fa341a4e4219ffe1552bb9007637c4db980afc05242
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Security for textual-tty 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.