kigo-gui-framework 2.6__tar.gz → 2.8__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.
Files changed (31) hide show
  1. {kigo_gui_framework-2.6/kigo_gui_framework.egg-info → kigo_gui_framework-2.8}/PKG-INFO +11 -3
  2. kigo_gui_framework-2.8/README.txt +9 -0
  3. kigo_gui_framework-2.8/kigo/platform.py +57 -0
  4. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8/kigo_gui_framework.egg-info}/PKG-INFO +11 -3
  5. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo_gui_framework.egg-info/SOURCES.txt +1 -0
  6. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/pyproject.toml +2 -2
  7. kigo_gui_framework-2.6/README.txt +0 -1
  8. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/MANIFEST.in +0 -0
  9. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/_init_.py +0 -0
  10. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/accelerate.py +0 -0
  11. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/app.py +0 -0
  12. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/fx_gl2d.py +0 -0
  13. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/fx_quick.py +0 -0
  14. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/gpu.py +0 -0
  15. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/hud.py +0 -0
  16. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/hwaccel.py +0 -0
  17. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/media.py +0 -0
  18. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/physics.py +0 -0
  19. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/physics_policy.py +0 -0
  20. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/runtime.py +0 -0
  21. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/shader_demo.py +0 -0
  22. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/shim.py +0 -0
  23. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/skins.py +0 -0
  24. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/style.py +0 -0
  25. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/tree.py +0 -0
  26. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo/widgets.py +0 -0
  27. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo_gui_framework.egg-info/dependency_links.txt +0 -0
  28. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo_gui_framework.egg-info/requires.txt +0 -0
  29. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/kigo_gui_framework.egg-info/top_level.txt +0 -0
  30. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/setup.cfg +0 -0
  31. {kigo_gui_framework-2.6 → kigo_gui_framework-2.8}/setup.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kigo-gui-framework
3
- Version: 2.6
4
- Summary: Added Android support, smoke shader and ECS. Note that Kigo does NOT COME WITH ANY MALWARE, IF YOU SPOT IT PLEASE EMAIL bot28482@gmail.com
3
+ Version: 2.8
4
+ Summary: Kigo has networking and ChromeOS support. And even though Class 5 is tough you will get updates do not worry.
5
5
  Author-email: "Anand Kumar, Utkarsh Raghav Roy" <swiss.armyknife@icloud.com>
6
6
  License: zlib
7
7
  Keywords: gui,qt,pyqt6,physics,pybullet,simulation,robotics,animation
@@ -23,4 +23,12 @@ Provides-Extra: full
23
23
  Requires-Dist: markdown; extra == "full"
24
24
  Requires-Dist: PyQt6-WebEngine==6.7.0; extra == "full"
25
25
 
26
- Kigo now has Android support (experimental), ECS and a smoke shader.
26
+ Kigo now has support for networking and
27
+ SunOS
28
+ Solaris
29
+ FreeBSD
30
+ Android
31
+ Linux
32
+ Mac
33
+ Windous
34
+ ChromeOS
@@ -0,0 +1,9 @@
1
+ Kigo now has support for networking and
2
+ SunOS
3
+ Solaris
4
+ FreeBSD
5
+ Android
6
+ Linux
7
+ Mac
8
+ Windous
9
+ ChromeOS
@@ -0,0 +1,57 @@
1
+ # kigo/platform.py
2
+ import sys
3
+ import os
4
+ import platform as _platform
5
+
6
+
7
+ class PlatformInfo:
8
+ def __init__(self):
9
+ self.sys_platform = sys.platform
10
+ self.system = _platform.system().lower()
11
+
12
+ # ---- OS ----
13
+ self.is_windows = self.sys_platform.startswith("win")
14
+ self.is_macos = self.system == "darwin"
15
+ self.is_linux = self.sys_platform.startswith("linux")
16
+ self.is_freebsd = self.sys_platform.startswith("freebsd")
17
+ self.is_openbsd = self.sys_platform.startswith("openbsd")
18
+ self.is_sunos = self.sys_platform == "sunos"
19
+ self.is_android = hasattr(sys, "getandroidapilevel")
20
+ self.is_ios = self.sys_platform == "ios"
21
+
22
+ # ---- Form factor ----
23
+ self.is_mobile = self.is_android or self.is_ios
24
+ self.is_desktop = not self.is_mobile
25
+
26
+ # ---- Window system (desktop Unix) ----
27
+ self.window_system = self._detect_window_system()
28
+
29
+ # ---- Qt backend (runtime observation) ----
30
+ self.qt_backend = self._detect_qt_backend()
31
+
32
+ def _detect_window_system(self):
33
+ # Wayland advertises WAYLAND_DISPLAY
34
+ if os.environ.get("WAYLAND_DISPLAY"):
35
+ return "wayland"
36
+ # X11/XWayland uses DISPLAY
37
+ if os.environ.get("DISPLAY"):
38
+ return "x11"
39
+ return "unknown"
40
+
41
+ def _detect_qt_backend(self):
42
+ # Android must use PySide6
43
+ if self.is_android:
44
+ return "pyside"
45
+ return "pyqt"
46
+
47
+ def summary(self):
48
+ return {
49
+ "os": self.system or self.sys_platform,
50
+ "window_system": self.window_system,
51
+ "qt_backend": self.qt_backend,
52
+ "mobile": self.is_mobile,
53
+ }
54
+
55
+
56
+ # Singleton (read‑only)
57
+ platform = PlatformInfo()
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kigo-gui-framework
3
- Version: 2.6
4
- Summary: Added Android support, smoke shader and ECS. Note that Kigo does NOT COME WITH ANY MALWARE, IF YOU SPOT IT PLEASE EMAIL bot28482@gmail.com
3
+ Version: 2.8
4
+ Summary: Kigo has networking and ChromeOS support. And even though Class 5 is tough you will get updates do not worry.
5
5
  Author-email: "Anand Kumar, Utkarsh Raghav Roy" <swiss.armyknife@icloud.com>
6
6
  License: zlib
7
7
  Keywords: gui,qt,pyqt6,physics,pybullet,simulation,robotics,animation
@@ -23,4 +23,12 @@ Provides-Extra: full
23
23
  Requires-Dist: markdown; extra == "full"
24
24
  Requires-Dist: PyQt6-WebEngine==6.7.0; extra == "full"
25
25
 
26
- Kigo now has Android support (experimental), ECS and a smoke shader.
26
+ Kigo now has support for networking and
27
+ SunOS
28
+ Solaris
29
+ FreeBSD
30
+ Android
31
+ Linux
32
+ Mac
33
+ Windous
34
+ ChromeOS
@@ -13,6 +13,7 @@ kigo/hwaccel.py
13
13
  kigo/media.py
14
14
  kigo/physics.py
15
15
  kigo/physics_policy.py
16
+ kigo/platform.py
16
17
  kigo/runtime.py
17
18
  kigo/shader_demo.py
18
19
  kigo/shim.py
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "kigo-gui-framework"
7
- version = "2.6"
8
- description = "Added Android support, smoke shader and ECS. Note that Kigo does NOT COME WITH ANY MALWARE, IF YOU SPOT IT PLEASE EMAIL bot28482@gmail.com"
7
+ version = "2.8"
8
+ description = "Kigo has networking and ChromeOS support. And even though Class 5 is tough you will get updates do not worry."
9
9
  readme = "README.txt"
10
10
  requires-python = ">=3.8"
11
11
  license = { text = "zlib" }
@@ -1 +0,0 @@
1
- Kigo now has Android support (experimental), ECS and a smoke shader.