Skip to main content

Simple Python terminal (TUI) multi-line editor

https://pypi.org/project/tui-editor/

Simple TUI editor

Python TUI?

What I want: - simple multi-line editor - not whole screen but only partial - show interactive feedback. e.g. mark edits, show number of edits, show diff in separate plane or so

https://docs.python.org/3/library/curses.html - too complex but at the same time too limited?

https://github.com/bczsalba/pytermgui (1.2k stars) - limited, no real text editor

https://urwid.org/examples/index.html (2.5k stars) - edit example: https://github.com/urwid/urwid/blob/master/examples/edit.py

https://github.com/prompt-toolkit/python-prompt-toolkit (7.9k stars) - too complex…? similar as curses…

https://github.com/pfalcon/picotui (0.7k stars) - good enough? editor: https://github.com/pfalcon/picotui/blob/master/picotui/editor.py - another editor: https://github.com/pfalcon/picotui/blob/master/seditor.py

https://github.com/Textualize/textual (13k stars) - async framework, I don’t want that…

(Or coding some line edit by hand, should not be too difficult…?)

https://github.com/pfalcon/picotui/blob/master/seditor.py

Very simple VT100 terminal text editor widget Copyright (c) 2015 Paul Sokolovsky, (c) 2022 Albert Zeyer Distributed under MIT License

https://en.wikipedia.org/wiki/ANSI_escape_code#Terminal_input_sequences https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-The-Alternate-Screen-Buffer

Metadata

Release files for tui-editor 1.20220820.230930

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tui-editor 1.20220820.230930
File Size Uploaded Provenance Actions
tui-editor-1.20220820.230930.tar.gz 5.8 kB Without provenance Details for tui-editor-1.20220820.230930.tar.gz

Release files / tui-editor-1.20220820.230930.tar.gz

Download URL tui-editor-1.20220820.230930.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b05fc5e2d44dbd8f5cd265c281ed28768cddf63c7446796ab4cd5196e91d4349
BLAKE2b-256 checksum
How to use checksums
92fa1febc262c5fe2892a73af630d49a1a7b65dda56a221c5cdde8aa190b033c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for tui-editor 1.20220820.230930

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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page