PyNexusAPI 1.0b0__tar.gz → 1.0.1b0__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.
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/PKG-INFO +1 -1
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/PyNexusAPI.egg-info/PKG-INFO +1 -1
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/pynexusapi/__init__.py +10 -6
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/setup.py +1 -1
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/PyNexusAPI.egg-info/SOURCES.txt +0 -0
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/PyNexusAPI.egg-info/dependency_links.txt +0 -0
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/PyNexusAPI.egg-info/requires.txt +0 -0
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/PyNexusAPI.egg-info/top_level.txt +0 -0
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/README.md +0 -0
- {pynexusapi-1.0b0 → pynexusapi-1.0.1b0}/setup.cfg +0 -0
|
@@ -222,6 +222,7 @@ class Time:
|
|
|
222
222
|
@staticmethod
|
|
223
223
|
def Wait(seconds):
|
|
224
224
|
secs = str(seconds).strip()
|
|
225
|
+
# this doesnt work for some reason idk why >.<
|
|
225
226
|
if len(secs) == 0:
|
|
226
227
|
secs = 5.0
|
|
227
228
|
warnings.warn("Requested empty time in PyNexusAPI.Time.Wait(). Automatically converted to 5 seconds.", SyntaxWarning)
|
|
@@ -259,8 +260,9 @@ class Screen:
|
|
|
259
260
|
return None
|
|
260
261
|
|
|
261
262
|
class Windows:
|
|
262
|
-
if sys.platform != "win32":
|
|
263
|
-
raise OSError("Class PyNexusAPI.Windows can only be executed on Microsoft Windows")
|
|
263
|
+
# if sys.platform != "win32":
|
|
264
|
+
# raise OSError("Class PyNexusAPI.Windows can only be executed on Microsoft Windows")
|
|
265
|
+
# deleted for now just please dont be stupid
|
|
264
266
|
|
|
265
267
|
@staticmethod
|
|
266
268
|
def GetActiveTitle():
|
|
@@ -311,8 +313,9 @@ class Windows:
|
|
|
311
313
|
raise LookupError(f"Window with title '{window_title}' not found.")
|
|
312
314
|
|
|
313
315
|
class macOS:
|
|
314
|
-
if sys.platform != "darwin":
|
|
315
|
-
raise OSError("Class PyNexusAPI.macOS can only be executed on macOS.")
|
|
316
|
+
# if sys.platform != "darwin":
|
|
317
|
+
# raise OSError("Class PyNexusAPI.macOS can only be executed on macOS.")
|
|
318
|
+
# deleted for now just please dont be stupid
|
|
316
319
|
|
|
317
320
|
@staticmethod
|
|
318
321
|
def Close(app_name):
|
|
@@ -336,8 +339,9 @@ class macOS:
|
|
|
336
339
|
|
|
337
340
|
|
|
338
341
|
class Linux:
|
|
339
|
-
if os.name != "posix" or sys.platform == "darwin":
|
|
340
|
-
raise OSError("Class PyNexusAPI.Linux can only be executed on Linux.")
|
|
342
|
+
# if os.name != "posix" or sys.platform == "darwin":
|
|
343
|
+
# raise OSError("Class PyNexusAPI.Linux can only be executed on Linux.")
|
|
344
|
+
# deleted for now just please dont be stupid
|
|
341
345
|
|
|
342
346
|
@staticmethod
|
|
343
347
|
def _check_wmctrl():
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="PyNexusAPI",
|
|
5
|
-
version="1.0
|
|
5
|
+
version="1.0.1b0",
|
|
6
6
|
author="Noob3ButUkr", # or PyNoob3 CaSP Software (C) 2026, or even Python Noob3ButUkr Custom and Small Projects Copyright 2026
|
|
7
7
|
description="A massive bundle bridge for lazy developers to control OS, GUI, Keyboard and Mouse",
|
|
8
8
|
long_description=open("README.md", encoding="utf-8").read(),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|