tinpyui-ff 1.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.
@@ -0,0 +1 @@
1
+ # TinPyUI CLI Package
Binary file
tinpyui_cli/main.py ADDED
@@ -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,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: tinpyui-ff
3
+ Version: 1.5.0
4
+ Summary: The Zero-DOM Wasm Engine CLI
5
+ Author: barathanandh-coder
6
+ Dynamic: author
7
+ Dynamic: summary
@@ -0,0 +1,9 @@
1
+ tinpyui_cli/__init__.py,sha256=rY2h9nNlUxREoV_l8i2nlZ7yIUt9shIeIebaJATexHw,22
2
+ tinpyui_cli/main.py,sha256=oLSfuU5vFwvFNpDaqfxH1lZVX-WCw8Mrt4wZ-nTIIYY,466
3
+ tinpyui_cli/tinpyui.pyi,sha256=C58eIcGK6LOxAa6ClBdCBHjeU-8Ary3pVmr8ZOCoHF8,4141
4
+ tinpyui_cli/bin/tinpy.exe,sha256=7trp1BRlaLIjhx9n3Oswit5r6CCLElWWFVRTU5RkR5Y,9388032
5
+ tinpyui_ff-1.5.0.dist-info/METADATA,sha256=OoedQ5VY4BBeJ1qGGq9GL6sd3yKs-rVwhJJGc9DViQg,159
6
+ tinpyui_ff-1.5.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
7
+ tinpyui_ff-1.5.0.dist-info/entry_points.txt,sha256=3sVOml-Dq2MeEcSL5pbJV77R_zCtxhDOxTX8_F6DBKg,47
8
+ tinpyui_ff-1.5.0.dist-info/top_level.txt,sha256=Kdn5o4A4MPNWs7vfDMgYPTUPNlV_FJavhpeBBKAUYsQ,12
9
+ tinpyui_ff-1.5.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (83.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ tinpy = tinpyui_cli.main:run
@@ -0,0 +1 @@
1
+ tinpyui_cli