flexablelib-tui 3.3.0__tar.gz
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.
- flexablelib_tui-3.3.0/LICENSE +21 -0
- flexablelib_tui-3.3.0/MANIFEST.in +3 -0
- flexablelib_tui-3.3.0/PKG-INFO +41 -0
- flexablelib_tui-3.3.0/README.md +9 -0
- flexablelib_tui-3.3.0/flexablelib_tui/__init__.py +27 -0
- flexablelib_tui-3.3.0/flexablelib_tui/app.py +640 -0
- flexablelib_tui-3.3.0/flexablelib_tui/keys.py +340 -0
- flexablelib_tui-3.3.0/flexablelib_tui/py.typed +0 -0
- flexablelib_tui-3.3.0/flexablelib_tui/screen.py +276 -0
- flexablelib_tui-3.3.0/flexablelib_tui/terminal.py +239 -0
- flexablelib_tui-3.3.0/flexablelib_tui/widgets.py +624 -0
- flexablelib_tui-3.3.0/flexablelib_tui.egg-info/PKG-INFO +41 -0
- flexablelib_tui-3.3.0/flexablelib_tui.egg-info/SOURCES.txt +16 -0
- flexablelib_tui-3.3.0/flexablelib_tui.egg-info/dependency_links.txt +1 -0
- flexablelib_tui-3.3.0/flexablelib_tui.egg-info/requires.txt +1 -0
- flexablelib_tui-3.3.0/flexablelib_tui.egg-info/top_level.txt +1 -0
- flexablelib_tui-3.3.0/setup.cfg +4 -0
- flexablelib_tui-3.3.0/setup.py +44 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021-2022 Benjamin Ramirez
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: flexablelib-tui
|
|
3
|
+
Version: 3.3.0
|
|
4
|
+
Summary: Terminal interfaces for flexablelib: widgets, full-screen layout, diff redraw, keyboard input, focus and key bindings.
|
|
5
|
+
Home-page: https://github.com/Opus-Perpetuus/flexablelib
|
|
6
|
+
Author: Benjamin Ramirez
|
|
7
|
+
Author-email: chilerito12@gmail.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Environment :: Console
|
|
11
|
+
Classifier: Environment :: Console :: Curses
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: Terminals
|
|
16
|
+
Classifier: Topic :: Software Development :: User Interfaces
|
|
17
|
+
Requires-Python: >=3.8
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: flexablelib>=3.3.0
|
|
21
|
+
Dynamic: author
|
|
22
|
+
Dynamic: author-email
|
|
23
|
+
Dynamic: classifier
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: description-content-type
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: license
|
|
28
|
+
Dynamic: license-file
|
|
29
|
+
Dynamic: requires-dist
|
|
30
|
+
Dynamic: requires-python
|
|
31
|
+
Dynamic: summary
|
|
32
|
+
|
|
33
|
+
# flexablelib-tui
|
|
34
|
+
|
|
35
|
+
Terminal interfaces for [flexablelib](https://github.com/Opus-Perpetuus/flexablelib): widgets, full-screen layout, in-place redraw that writes only the lines that changed, keyboard input on Linux, macOS and Windows, focus, key bindings, scrolling, dialogs and resize.
|
|
36
|
+
|
|
37
|
+
Install it with `pip install flexablelib[tui]`.
|
|
38
|
+
|
|
39
|
+
Documentation: [LAYOUT.md](https://github.com/Opus-Perpetuus/flexablelib/blob/main/docs/LAYOUT.md) and [COMPONENTS.md](https://github.com/Opus-Perpetuus/flexablelib/blob/main/docs/COMPONENTS.md)
|
|
40
|
+
|
|
41
|
+

|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# flexablelib-tui
|
|
2
|
+
|
|
3
|
+
Terminal interfaces for [flexablelib](https://github.com/Opus-Perpetuus/flexablelib): widgets, full-screen layout, in-place redraw that writes only the lines that changed, keyboard input on Linux, macOS and Windows, focus, key bindings, scrolling, dialogs and resize.
|
|
4
|
+
|
|
5
|
+
Install it with `pip install flexablelib[tui]`.
|
|
6
|
+
|
|
7
|
+
Documentation: [LAYOUT.md](https://github.com/Opus-Perpetuus/flexablelib/blob/main/docs/LAYOUT.md) and [COMPONENTS.md](https://github.com/Opus-Perpetuus/flexablelib/blob/main/docs/COMPONENTS.md)
|
|
8
|
+
|
|
9
|
+

|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Terminal interface toolkit for flexablelib (``pip install flexablelib[tui]``).
|
|
3
|
+
|
|
4
|
+
Widgets (progress bars, sparklines, bar charts, status bars, key hints, logs,
|
|
5
|
+
text, rules), full-screen layout (:class:`Screen`), in-place redraw that
|
|
6
|
+
writes only the changed lines (:class:`Live`), keyboard input on Linux, macOS
|
|
7
|
+
and Windows (:class:`Terminal`, :class:`KeyParser`), and interactive
|
|
8
|
+
applications with focus, key bindings, scrolling, dialogs and resize
|
|
9
|
+
(:class:`App`, :class:`Component`, :class:`ScrollView`).
|
|
10
|
+
|
|
11
|
+
Everything here is also reachable as ``flexablelib.ProgressBar``,
|
|
12
|
+
``flexablelib.App`` and so on once installed.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
__version__ = '3.3.0'
|
|
16
|
+
|
|
17
|
+
from .widgets import (ProgressBar, Sparkline, BarChart, StatusBar, KeyHints,
|
|
18
|
+
LogView, Text, Rule)
|
|
19
|
+
from .screen import Screen, Live, render_height
|
|
20
|
+
from .keys import Key, KeyParser, WindowsKeyParser, parse_keys
|
|
21
|
+
from .terminal import Terminal
|
|
22
|
+
from .app import App, Component, ScrollView, overlay
|
|
23
|
+
|
|
24
|
+
__all__ = ['ProgressBar', 'Sparkline', 'BarChart', 'StatusBar', 'KeyHints',
|
|
25
|
+
'LogView', 'Text', 'Rule', 'Screen', 'Live', 'render_height',
|
|
26
|
+
'Key', 'KeyParser', 'WindowsKeyParser', 'parse_keys', 'Terminal',
|
|
27
|
+
'App', 'Component', 'ScrollView', 'overlay', '__version__']
|