tinpyui-ff 1.5.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.
- tinpyui_ff-1.5.0/PKG-INFO +7 -0
- tinpyui_ff-1.5.0/setup.cfg +4 -0
- tinpyui_ff-1.5.0/setup.py +18 -0
- tinpyui_ff-1.5.0/tinpyui_cli/__init__.py +1 -0
- tinpyui_ff-1.5.0/tinpyui_cli/bin/tinpy.exe +0 -0
- tinpyui_ff-1.5.0/tinpyui_cli/main.py +17 -0
- tinpyui_ff-1.5.0/tinpyui_cli/tinpyui.pyi +96 -0
- tinpyui_ff-1.5.0/tinpyui_ff.egg-info/PKG-INFO +7 -0
- tinpyui_ff-1.5.0/tinpyui_ff.egg-info/SOURCES.txt +10 -0
- tinpyui_ff-1.5.0/tinpyui_ff.egg-info/dependency_links.txt +1 -0
- tinpyui_ff-1.5.0/tinpyui_ff.egg-info/entry_points.txt +2 -0
- tinpyui_ff-1.5.0/tinpyui_ff.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="tinpyui-ff",
|
|
5
|
+
version="1.5.0",
|
|
6
|
+
description="The Zero-DOM Wasm Engine CLI",
|
|
7
|
+
author="barathanandh-coder",
|
|
8
|
+
packages=find_packages(),
|
|
9
|
+
include_package_data=True,
|
|
10
|
+
package_data={
|
|
11
|
+
"tinpyui_cli": ["bin/*", "*.pyi"],
|
|
12
|
+
},
|
|
13
|
+
entry_points={
|
|
14
|
+
"console_scripts": [
|
|
15
|
+
"tinpy = tinpyui_cli.main:run",
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# TinPyUI CLI Package
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import sys
|
|
3
|
+
import subprocess
|
|
4
|
+
|
|
5
|
+
def run():
|
|
6
|
+
base_dir = os.path.dirname(os.path.abspath(__file__))
|
|
7
|
+
binary = os.path.join(base_dir, "bin", "tinpy.exe")
|
|
8
|
+
|
|
9
|
+
if not os.path.exists(binary):
|
|
10
|
+
print(f"[Error] The TinPyUI core executable was not found at {binary}")
|
|
11
|
+
sys.exit(1)
|
|
12
|
+
|
|
13
|
+
# Pass all arguments to the Go binary
|
|
14
|
+
try:
|
|
15
|
+
sys.exit(subprocess.call([binary] + sys.argv[1:]))
|
|
16
|
+
except KeyboardInterrupt:
|
|
17
|
+
sys.exit(0)
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
from typing import Any, Callable, Optional, Union, List
|
|
2
|
+
|
|
3
|
+
class Node:
|
|
4
|
+
def __init__(self, *args, **kwargs): ...
|
|
5
|
+
def __enter__(self): ...
|
|
6
|
+
def __exit__(self, exc_type, exc_val, exc_tb): ...
|
|
7
|
+
|
|
8
|
+
class Section(Node):
|
|
9
|
+
def __init__(self, id: str = "", align: str = "", padding: Union[int, str] = 0, paddingY: Union[int, str] = 0, maxWidth: Union[int, str] = 0, justify: str = "", bg: str = "", radius: Union[int, str] = 0, **kwargs): ...
|
|
10
|
+
|
|
11
|
+
class Row(Node):
|
|
12
|
+
def __init__(self, align: str = "", justify: str = "", gap: int = 0, wrap: bool = False, color: str = "", **kwargs): ...
|
|
13
|
+
|
|
14
|
+
class Column(Node):
|
|
15
|
+
def __init__(self, align: str = "", justify: str = "", gap: int = 0, padding: int = 0, bg: str = "", border: str = "", radius: int = 0, minWidth: int = 0, maxWidth: int = 0, **kwargs): ...
|
|
16
|
+
|
|
17
|
+
class Card(Node):
|
|
18
|
+
def __init__(self, padding: int = 0, bg: str = "", radius: int = 0, **kwargs): ...
|
|
19
|
+
|
|
20
|
+
class Form(Node):
|
|
21
|
+
def __init__(self, **kwargs): ...
|
|
22
|
+
|
|
23
|
+
class Heading(Node):
|
|
24
|
+
def __init__(self, text: str = "", color: str = "", size: str = "", weight: str = "", **kwargs): ...
|
|
25
|
+
|
|
26
|
+
class Text(Node):
|
|
27
|
+
def __init__(self, text: str = "", color: str = "", size: str = "", weight: str = "", align: str = "", bg: str = "", padding: str = "", radius: int = 0, border: str = "", action: str = "", dataBind: str = "", **kwargs): ...
|
|
28
|
+
|
|
29
|
+
class GradientText(Node):
|
|
30
|
+
def __init__(self, text: str = "", gradient: List[str] = [], size: str = "", **kwargs): ...
|
|
31
|
+
|
|
32
|
+
class Button(Node):
|
|
33
|
+
def __init__(self, text: str = "", variant: str = "", glow: str = "", radius: str = "", action: str = "", on_click: str = "", hoverEffect: str = "", clickEffect: str = "", **kwargs): ...
|
|
34
|
+
|
|
35
|
+
class Input(Node):
|
|
36
|
+
def __init__(self, placeholder: str = "", dataBind: str = "", width: str = "", padding: int = 0, bg: str = "", border: str = "", radius: int = 0, color: str = "", **kwargs): ...
|
|
37
|
+
|
|
38
|
+
class AnimatedBackground(Node):
|
|
39
|
+
def __init__(self, effect: str = "", primaryColor: str = "", secondaryColor: str = "", **kwargs): ...
|
|
40
|
+
|
|
41
|
+
class Navbar(Node):
|
|
42
|
+
def __init__(self, padding: int = 0, blur: bool = False, fixed: bool = False, **kwargs): ...
|
|
43
|
+
|
|
44
|
+
class NavLink(Node):
|
|
45
|
+
def __init__(self, text: str = "", route: str = "", **kwargs): ...
|
|
46
|
+
|
|
47
|
+
class Marquee(Node):
|
|
48
|
+
def __init__(self, direction: str = "", speed: str = "", **kwargs): ...
|
|
49
|
+
|
|
50
|
+
class HeroContainer(Node):
|
|
51
|
+
def __init__(self, heroBackground: str = "", entranceChoreography: str = "", **kwargs): ...
|
|
52
|
+
|
|
53
|
+
class Span(Node):
|
|
54
|
+
def __init__(self, text: str = "", **kwargs): ...
|
|
55
|
+
|
|
56
|
+
class Keyframes:
|
|
57
|
+
def __init__(self, keyframes: dict): ...
|
|
58
|
+
@classmethod
|
|
59
|
+
def transition(cls, type: str = "", duration: str = "", **kwargs) -> 'Keyframes': ...
|
|
60
|
+
|
|
61
|
+
class Container(Node):
|
|
62
|
+
def __init__(self, align: str = "", justify: str = "", width: Union[int, str] = 0, padding: Union[int, str] = 0, animation: Optional[Keyframes] = None, duration: str = "", **kwargs): ...
|
|
63
|
+
|
|
64
|
+
class CustomShader(Node):
|
|
65
|
+
def __init__(self, fragment_code: str, uniforms: dict = {}, **kwargs): ...
|
|
66
|
+
|
|
67
|
+
class Surface(Node):
|
|
68
|
+
def __init__(self, width: Union[int, str] = 0, height: Union[int, str] = 0, background: str = "", **kwargs): ...
|
|
69
|
+
|
|
70
|
+
class Router(Node):
|
|
71
|
+
def __init__(self, default_route: str = "/", global_transition: Optional[Keyframes] = None, transitionIn: str = "", transitionOut: str = "", transitionDuration: str = "", **kwargs): ...
|
|
72
|
+
|
|
73
|
+
class Route(Node):
|
|
74
|
+
def __init__(self, path: str = "", scene: Any = None, component: str = "", transition: Optional[Keyframes] = None, **kwargs): ...
|
|
75
|
+
|
|
76
|
+
class Preload(Node):
|
|
77
|
+
def __init__(self, **kwargs): ...
|
|
78
|
+
|
|
79
|
+
class Font(Node):
|
|
80
|
+
def __init__(self, url: str = "", **kwargs): ...
|
|
81
|
+
|
|
82
|
+
class Image(Node):
|
|
83
|
+
def __init__(self, src: str = "", url: str = "", assetPriority: str = "", **kwargs): ...
|
|
84
|
+
|
|
85
|
+
class Spacer(Node):
|
|
86
|
+
def __init__(self, height: int = 0, width: int = 0, **kwargs): ...
|
|
87
|
+
|
|
88
|
+
class Grid(Node):
|
|
89
|
+
def __init__(self, cols: int = 1, gap: int = 0, **kwargs): ...
|
|
90
|
+
|
|
91
|
+
class Footer(Node):
|
|
92
|
+
def __init__(self, padding: int = 0, align: str = "", **kwargs): ...
|
|
93
|
+
|
|
94
|
+
# Global functions
|
|
95
|
+
def TinUIMutateState(key: str, val: Any): ...
|
|
96
|
+
def register_state(key: str, val: Any): ...
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
setup.py
|
|
2
|
+
tinpyui_cli/__init__.py
|
|
3
|
+
tinpyui_cli/main.py
|
|
4
|
+
tinpyui_cli/tinpyui.pyi
|
|
5
|
+
tinpyui_cli/bin/tinpy.exe
|
|
6
|
+
tinpyui_ff.egg-info/PKG-INFO
|
|
7
|
+
tinpyui_ff.egg-info/SOURCES.txt
|
|
8
|
+
tinpyui_ff.egg-info/dependency_links.txt
|
|
9
|
+
tinpyui_ff.egg-info/entry_points.txt
|
|
10
|
+
tinpyui_ff.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tinpyui_cli
|