An open API service indexing awesome lists of open source software.

https://github.com/srccircumflex/thevtpyproject

Python library for creating text-based user interfaces (TUI) based on ANSI escape sequences and modifying the emulator (unblocked stdin, disabling implemented functions, ...).
https://github.com/srccircumflex/thevtpyproject

ansi ansi-colors ansi-escape-codes cli command-line emulator escape-sequences framework library python3 terminal termios termios-for-windows tty tui ui vt100

Last synced: 5 months ago
JSON representation

Python library for creating text-based user interfaces (TUI) based on ANSI escape sequences and modifying the emulator (unblocked stdin, disabling implemented functions, ...).

Awesome Lists containing this project

README

          

.. role:: html(raw)
:format: html

.. image:: ./_doc/stopped.png
:align: left
:width: 200
:alt: stopped.png

The [ Video Terminal Python ] Project
#####################################

.. image:: ./_doc/VT-Python-Logo.png
:align: center
:width: 550
:alt: VT-Python-Logo.png
:target: https://github.com/srccircumflex/TheVTPyProject/wiki

**(p-α)**

Statute
=======

The goal of the project is to create a comprehensive Python library, for creating text-based user interfaces
in the terminal emulator.

The current build-out includes a module for the Linux/Windows platform independent modification of the
emulator; several modules for categorizing, cataloging, handling, interpreting, and processing data types,
data inputs, and the ANSI escape sequences; a package for technical processing of an unblocked stdin stream;
and the first basic modules and objects for implementing text-based widgets.

The development is done by myself on a hobby basis, the progress can be seen under the
`Version List`_. There is also a full documentation available in the Wiki_.

Reports, ideas and questions are very welcome and can be directed to
:html:`
srccircumflex@outlook.com
`.

Presentations
=============

Window grid and mouse support
-----------------------------

.. image:: ./_doc/gifs/Grid.gif
:align: center
:width: 1050
:alt: Grid.gif
:target: ./_demo/widgets.py

→ `demo widgets`_

SGR Lookup
----------

.. image:: ./_doc/gifs/SGRLookup.gif
:align: center
:width: 1050
:alt: SGRLookup.gif
:target: ./_demo/sgr_lookup_tui.py

→ `demo sgr_lookup_tui`_

Find in Buffer
--------------

.. image:: ./_doc/gifs/FindInBuffer.gif
:align: center
:width: 1050
:alt: FindInBuffer.gif
:target: ./_demo/editor.py

→ `demo editor`_

Insert Modes
------------

.. image:: ./_doc/gifs/InsertModes.gif
:align: center
:width: 1050
:alt: InsertModes.gif
:target: ./_demo/editor.py

→ `demo editor`_

Highlighter Demo
----------------

.. image:: ./_doc/gifs/HighlighterDemo.gif
:align: center
:width: 1050
:alt: HighlighterDemo.gif

Tab Shifting
------------

.. image:: ./_doc/gifs/TabShift.gif
:align: center
:width: 1050
:alt: TabShift.gif
:target: ./_demo/editor.py

→ `demo editor`_

Markers
-------

.. image:: ./_doc/gifs/Markers.gif
:align: center
:width: 1050
:alt: Markers.gif
:target: ./_demo/editor.py

→ `demo editor`_

.. _Version List: https://github.com/srccircumflex/TheVTPyProject/wiki/version-list
.. _Wiki: https://github.com/srccircumflex/TheVTPyProject/wiki

.. _demo editor: ./_demo/editor.py
.. _demo sgr_lookup_tui: ./_demo/sgr_lookup_tui.py
.. _demo widgets: ./_demo/widgets.py