cuifw 1.0.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.
- cuifw-1.0.0/LICENSE +21 -0
- cuifw-1.0.0/MANIFEST.in +5 -0
- cuifw-1.0.0/PKG-INFO +78 -0
- cuifw-1.0.0/README.md +43 -0
- cuifw-1.0.0/cuifw/__init__.py +19 -0
- cuifw-1.0.0/cuifw/py.typed +0 -0
- cuifw-1.0.0/cuifw.egg-info/PKG-INFO +78 -0
- cuifw-1.0.0/cuifw.egg-info/SOURCES.txt +12 -0
- cuifw-1.0.0/cuifw.egg-info/dependency_links.txt +1 -0
- cuifw-1.0.0/cuifw.egg-info/not-zip-safe +1 -0
- cuifw-1.0.0/cuifw.egg-info/top_level.txt +1 -0
- cuifw-1.0.0/pyproject.toml +41 -0
- cuifw-1.0.0/setup.cfg +4 -0
- cuifw-1.0.0/setup.py +17 -0
cuifw-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Suleiman
|
|
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.
|
cuifw-1.0.0/MANIFEST.in
ADDED
cuifw-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cuifw
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Console User Interface Framework - the GUI framework for the terminal
|
|
5
|
+
Home-page: https://github.com/suleiman/cuifw
|
|
6
|
+
Author: Suleiman
|
|
7
|
+
Author-email: Suleiman <steal.apet@mail.ru>
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Homepage, https://github.com/suleiman/cuifw
|
|
10
|
+
Project-URL: Source, https://github.com/suleiman/cuifw
|
|
11
|
+
Project-URL: Issues, https://github.com/suleiman/cuifw/issues
|
|
12
|
+
Keywords: console,terminal,tui,cui,cuifw,gui,ascii-art,3d
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Environment :: Console
|
|
25
|
+
Classifier: Topic :: Terminals
|
|
26
|
+
Classifier: Topic :: Software Development :: User Interfaces
|
|
27
|
+
Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
|
|
28
|
+
Requires-Python: >=3.8
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Dynamic: author
|
|
32
|
+
Dynamic: home-page
|
|
33
|
+
Dynamic: license-file
|
|
34
|
+
Dynamic: requires-python
|
|
35
|
+
|
|
36
|
+
# cuifw
|
|
37
|
+
|
|
38
|
+
> **C**onsole **U**ser **I**nterface **F**rame**W**ork
|
|
39
|
+
> The GUI framework for the terminal.
|
|
40
|
+
|
|
41
|
+
`cuifw` is what `tkinter` is for the desktop - but for the terminal.
|
|
42
|
+
|
|
43
|
+
- **2024 lines**, **64.9 KB**, **zero dependencies**
|
|
44
|
+
- GUI widgets: Label, Button, Menu, Panel, Input, Table, Slider, Tabs
|
|
45
|
+
- 2D + 3D ASCII rendering: lines, circles, hearts, cubes, spheres, torus
|
|
46
|
+
- Dialogs: MessageBox, InputDialog, FileDialog
|
|
47
|
+
- Layout: VSTACK, HSTACK, GRID
|
|
48
|
+
- Themes: Style, Theme, dark/light
|
|
49
|
+
- Events: EventBus, FocusManager
|
|
50
|
+
- Keyboard: raw mode, arrows, Enter, Esc, F-keys
|
|
51
|
+
- Network: Channel (sockets), Web (HTTP server)
|
|
52
|
+
- Process: StartPyCode, KillPyScript, WaitForProcess
|
|
53
|
+
|
|
54
|
+
Works everywhere Python runs: Linux, macOS, Windows, Android (Pydroid3),
|
|
55
|
+
SSH, Docker, CI.
|
|
56
|
+
|
|
57
|
+
## Install
|
|
58
|
+
|
|
59
|
+
pip install cuifw
|
|
60
|
+
|
|
61
|
+
## Quick start
|
|
62
|
+
|
|
63
|
+
from cuifw import Colors, Render, Canvas, MessageBox
|
|
64
|
+
|
|
65
|
+
print(Colors.colorize("Hello, world!", Colors.GREEN))
|
|
66
|
+
|
|
67
|
+
points = Render.get_heart_points(40, 12, size=8, char='@', color=Colors.RED)
|
|
68
|
+
Render.DrawPic(points, width=80, height=25)
|
|
69
|
+
|
|
70
|
+
canvas = Canvas(80, 24)
|
|
71
|
+
MessageBox.showinfo(canvas, "Welcome", "Hello, Suleiman!")
|
|
72
|
+
|
|
73
|
+
## License
|
|
74
|
+
|
|
75
|
+
MIT - see LICENSE.
|
|
76
|
+
|
|
77
|
+
Author: **Suleiman** <steal.apet@mail.ru>
|
|
78
|
+
Copyright (c) Suleiman 2026
|
cuifw-1.0.0/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# cuifw
|
|
2
|
+
|
|
3
|
+
> **C**onsole **U**ser **I**nterface **F**rame**W**ork
|
|
4
|
+
> The GUI framework for the terminal.
|
|
5
|
+
|
|
6
|
+
`cuifw` is what `tkinter` is for the desktop - but for the terminal.
|
|
7
|
+
|
|
8
|
+
- **2024 lines**, **64.9 KB**, **zero dependencies**
|
|
9
|
+
- GUI widgets: Label, Button, Menu, Panel, Input, Table, Slider, Tabs
|
|
10
|
+
- 2D + 3D ASCII rendering: lines, circles, hearts, cubes, spheres, torus
|
|
11
|
+
- Dialogs: MessageBox, InputDialog, FileDialog
|
|
12
|
+
- Layout: VSTACK, HSTACK, GRID
|
|
13
|
+
- Themes: Style, Theme, dark/light
|
|
14
|
+
- Events: EventBus, FocusManager
|
|
15
|
+
- Keyboard: raw mode, arrows, Enter, Esc, F-keys
|
|
16
|
+
- Network: Channel (sockets), Web (HTTP server)
|
|
17
|
+
- Process: StartPyCode, KillPyScript, WaitForProcess
|
|
18
|
+
|
|
19
|
+
Works everywhere Python runs: Linux, macOS, Windows, Android (Pydroid3),
|
|
20
|
+
SSH, Docker, CI.
|
|
21
|
+
|
|
22
|
+
## Install
|
|
23
|
+
|
|
24
|
+
pip install cuifw
|
|
25
|
+
|
|
26
|
+
## Quick start
|
|
27
|
+
|
|
28
|
+
from cuifw import Colors, Render, Canvas, MessageBox
|
|
29
|
+
|
|
30
|
+
print(Colors.colorize("Hello, world!", Colors.GREEN))
|
|
31
|
+
|
|
32
|
+
points = Render.get_heart_points(40, 12, size=8, char='@', color=Colors.RED)
|
|
33
|
+
Render.DrawPic(points, width=80, height=25)
|
|
34
|
+
|
|
35
|
+
canvas = Canvas(80, 24)
|
|
36
|
+
MessageBox.showinfo(canvas, "Welcome", "Hello, Suleiman!")
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
MIT - see LICENSE.
|
|
41
|
+
|
|
42
|
+
Author: **Suleiman** <steal.apet@mail.ru>
|
|
43
|
+
Copyright (c) Suleiman 2026
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""
|
|
2
|
+
cuifw - Console User Interface Framework
|
|
3
|
+
|
|
4
|
+
A dependency-free GUI framework for the terminal.
|
|
5
|
+
|
|
6
|
+
Author: Suleiman
|
|
7
|
+
License: MIT
|
|
8
|
+
Copyright (c) Suleiman 2026
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
__title__ = "cuifw"
|
|
12
|
+
__version__ = "1.0.0"
|
|
13
|
+
__author__ = "Suleiman"
|
|
14
|
+
__author_email__ = "steal.apet@mail.ru"
|
|
15
|
+
__license__ = "MIT"
|
|
16
|
+
__copyright__ = "Copyright (c) Suleiman 2026"
|
|
17
|
+
__url__ = "https://github.com/suleiman/cuifw"
|
|
18
|
+
|
|
19
|
+
# Paste your full ConsoleFramework code here.
|
|
File without changes
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cuifw
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Console User Interface Framework - the GUI framework for the terminal
|
|
5
|
+
Home-page: https://github.com/suleiman/cuifw
|
|
6
|
+
Author: Suleiman
|
|
7
|
+
Author-email: Suleiman <steal.apet@mail.ru>
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Homepage, https://github.com/suleiman/cuifw
|
|
10
|
+
Project-URL: Source, https://github.com/suleiman/cuifw
|
|
11
|
+
Project-URL: Issues, https://github.com/suleiman/cuifw/issues
|
|
12
|
+
Keywords: console,terminal,tui,cui,cuifw,gui,ascii-art,3d
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Environment :: Console
|
|
25
|
+
Classifier: Topic :: Terminals
|
|
26
|
+
Classifier: Topic :: Software Development :: User Interfaces
|
|
27
|
+
Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
|
|
28
|
+
Requires-Python: >=3.8
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
License-File: LICENSE
|
|
31
|
+
Dynamic: author
|
|
32
|
+
Dynamic: home-page
|
|
33
|
+
Dynamic: license-file
|
|
34
|
+
Dynamic: requires-python
|
|
35
|
+
|
|
36
|
+
# cuifw
|
|
37
|
+
|
|
38
|
+
> **C**onsole **U**ser **I**nterface **F**rame**W**ork
|
|
39
|
+
> The GUI framework for the terminal.
|
|
40
|
+
|
|
41
|
+
`cuifw` is what `tkinter` is for the desktop - but for the terminal.
|
|
42
|
+
|
|
43
|
+
- **2024 lines**, **64.9 KB**, **zero dependencies**
|
|
44
|
+
- GUI widgets: Label, Button, Menu, Panel, Input, Table, Slider, Tabs
|
|
45
|
+
- 2D + 3D ASCII rendering: lines, circles, hearts, cubes, spheres, torus
|
|
46
|
+
- Dialogs: MessageBox, InputDialog, FileDialog
|
|
47
|
+
- Layout: VSTACK, HSTACK, GRID
|
|
48
|
+
- Themes: Style, Theme, dark/light
|
|
49
|
+
- Events: EventBus, FocusManager
|
|
50
|
+
- Keyboard: raw mode, arrows, Enter, Esc, F-keys
|
|
51
|
+
- Network: Channel (sockets), Web (HTTP server)
|
|
52
|
+
- Process: StartPyCode, KillPyScript, WaitForProcess
|
|
53
|
+
|
|
54
|
+
Works everywhere Python runs: Linux, macOS, Windows, Android (Pydroid3),
|
|
55
|
+
SSH, Docker, CI.
|
|
56
|
+
|
|
57
|
+
## Install
|
|
58
|
+
|
|
59
|
+
pip install cuifw
|
|
60
|
+
|
|
61
|
+
## Quick start
|
|
62
|
+
|
|
63
|
+
from cuifw import Colors, Render, Canvas, MessageBox
|
|
64
|
+
|
|
65
|
+
print(Colors.colorize("Hello, world!", Colors.GREEN))
|
|
66
|
+
|
|
67
|
+
points = Render.get_heart_points(40, 12, size=8, char='@', color=Colors.RED)
|
|
68
|
+
Render.DrawPic(points, width=80, height=25)
|
|
69
|
+
|
|
70
|
+
canvas = Canvas(80, 24)
|
|
71
|
+
MessageBox.showinfo(canvas, "Welcome", "Hello, Suleiman!")
|
|
72
|
+
|
|
73
|
+
## License
|
|
74
|
+
|
|
75
|
+
MIT - see LICENSE.
|
|
76
|
+
|
|
77
|
+
Author: **Suleiman** <steal.apet@mail.ru>
|
|
78
|
+
Copyright (c) Suleiman 2026
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cuifw
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "cuifw"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Console User Interface Framework - the GUI framework for the terminal"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [{ name = "Suleiman", email = "steal.apet@mail.ru" }]
|
|
13
|
+
keywords = ["console", "terminal", "tui", "cui", "cuifw", "gui", "ascii-art", "3d"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 4 - Beta",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3.8",
|
|
21
|
+
"Programming Language :: Python :: 3.9",
|
|
22
|
+
"Programming Language :: Python :: 3.10",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
"Programming Language :: Python :: 3.13",
|
|
26
|
+
"Environment :: Console",
|
|
27
|
+
"Topic :: Terminals",
|
|
28
|
+
"Topic :: Software Development :: User Interfaces",
|
|
29
|
+
"Topic :: Multimedia :: Graphics :: 3D Rendering",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[project.urls]
|
|
33
|
+
Homepage = "https://github.com/suleiman/cuifw"
|
|
34
|
+
Source = "https://github.com/suleiman/cuifw"
|
|
35
|
+
Issues = "https://github.com/suleiman/cuifw/issues"
|
|
36
|
+
|
|
37
|
+
[tool.setuptools]
|
|
38
|
+
packages = ["cuifw"]
|
|
39
|
+
|
|
40
|
+
[tool.setuptools.package-data]
|
|
41
|
+
cuifw = ["py.typed"]
|
cuifw-1.0.0/setup.cfg
ADDED
cuifw-1.0.0/setup.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="cuifw",
|
|
5
|
+
version="1.0.0",
|
|
6
|
+
description="Console User Interface Framework - the GUI framework for the terminal",
|
|
7
|
+
author="Suleiman",
|
|
8
|
+
author_email="steal.apet@mail.ru",
|
|
9
|
+
url="https://github.com/suleiman/cuifw",
|
|
10
|
+
license="MIT",
|
|
11
|
+
packages=find_packages(),
|
|
12
|
+
python_requires=">=3.8",
|
|
13
|
+
long_description=open("README.md", encoding="utf-8").read(),
|
|
14
|
+
long_description_content_type="text/markdown",
|
|
15
|
+
include_package_data=True,
|
|
16
|
+
zip_safe=False,
|
|
17
|
+
)
|