ggtui 0.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ggtui/__init__.py +18 -0
- ggtui/__main__.py +5 -0
- ggtui/app.py +1691 -0
- ggtui/cli.py +89 -0
- ggtui/completion.py +607 -0
- ggtui/editor.py +604 -0
- ggtui/errors.py +59 -0
- ggtui/half_blocks.py +190 -0
- ggtui/hover.py +423 -0
- ggtui/kernel.py +220 -0
- ggtui/kitty_image.py +250 -0
- ggtui/pane_pages.py +477 -0
- ggtui/protocol.py +70 -0
- ggtui/quick_plots.py +134 -0
- ggtui/script.py +350 -0
- ggtui/session.py +348 -0
- ggtui/style.py +88 -0
- ggtui/terminal.py +168 -0
- ggtui/text.py +42 -0
- ggtui/variables.py +220 -0
- ggtui/views.py +620 -0
- ggtui/worker.py +993 -0
- ggtui-0.5.0.dist-info/METADATA +77 -0
- ggtui-0.5.0.dist-info/RECORD +27 -0
- ggtui-0.5.0.dist-info/WHEEL +4 -0
- ggtui-0.5.0.dist-info/entry_points.txt +2 -0
- ggtui-0.5.0.dist-info/licenses/LICENSE +21 -0
ggtui/__init__.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""ggtui: a terminal workspace for ggrust plots, opened by the ``ggtui`` command.
|
|
2
|
+
|
|
3
|
+
A full-screen Textual app in the current terminal: a console (output log and code
|
|
4
|
+
editor) on the left, Plots, Data and Help tabs on the right, and a status line.
|
|
5
|
+
Code runs in a separate kernel process (``worker``), which renders every plot of a
|
|
6
|
+
block with ggrust at the Plots tab's pixel size. Needs a terminal with Kitty
|
|
7
|
+
graphics (Ghostty, Kitty, WezTerm); others get a half-block preview.
|
|
8
|
+
|
|
9
|
+
Modules: ``app`` (the app), ``editor`` (the code editor), ``completion``
|
|
10
|
+
(completion and help lookups), ``views`` (the tabs), ``kitty_image`` (the image
|
|
11
|
+
widget), ``terminal`` (terminal probe and cell size), ``kernel`` (the app's side
|
|
12
|
+
of the kernel), ``worker`` (the kernel), ``protocol`` (message framing), ``style``
|
|
13
|
+
(the pane flavor), ``text`` (small text helpers), ``pane_pages`` (text and table
|
|
14
|
+
pages), ``errors`` and ``cli`` (the ``ggtui`` command). The command is the
|
|
15
|
+
interface; module contents may change in any 0.x release.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
__version__ = "0.5.0"
|