screen-objects 6.0.0__cp314-cp314-win_amd64.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,5 @@
1
+ from .screen_objects import *
2
+
3
+ __doc__ = screen_objects.__doc__
4
+ if hasattr(screen_objects, "__all__"):
5
+ __all__ = screen_objects.__all__
@@ -0,0 +1,85 @@
1
+ from pathlib import Path
2
+ from typing import ClassVar
3
+
4
+ class Direction:
5
+ Left: ClassVar[Direction]
6
+ Right: ClassVar[Direction]
7
+ Up: ClassVar[Direction]
8
+ Down: ClassVar[Direction]
9
+
10
+ class SwipeSpeed:
11
+ Slow: ClassVar[SwipeSpeed]
12
+ Normal: ClassVar[SwipeSpeed]
13
+ Fast: ClassVar[SwipeSpeed]
14
+ Turbo: ClassVar[SwipeSpeed]
15
+
16
+ class ScreenObject:
17
+ def exists(self, timeout: float = 0.0, index: int | None = None) -> bool: ...
18
+
19
+ def force_exists(self, timeout: float = 0.0, index: int | None = None) -> None: ...
20
+
21
+ def tap(
22
+ self,
23
+ timeout: float = 0.0,
24
+ index: int | None = None,
25
+ times: int = 1,
26
+ interval: float = 0.0,
27
+ ) -> bool: ...
28
+
29
+ def force_tap(
30
+ self,
31
+ timeout: float = 0.0,
32
+ index: int | None = None,
33
+ times: int = 1,
34
+ interval: float = 0.0,
35
+ ) -> None: ...
36
+
37
+ def swipe(
38
+ self, dir: Direction, speed: SwipeSpeed, duration: float, index: int | None = None
39
+ ) -> bool: ...
40
+
41
+ def force_swipe(
42
+ self, dir: Direction, speed: SwipeSpeed, duration: float, index: int | None = None
43
+ ) -> None: ...
44
+
45
+ def count(self) -> int: ...
46
+
47
+ def tap_each(self) -> int: ...
48
+
49
+ def calibrate(
50
+ self,
51
+ fixed: bool = False,
52
+ region: str | None = None,
53
+ index: int | None = None,
54
+ ) -> None: ...
55
+
56
+ def get_objects(objects_dir: Path, regions_dir: Path | None = None) -> dict[str, ScreenObject]: ...
57
+
58
+ class ScreenRegion:
59
+ def calibrate(self) -> None: ...
60
+
61
+ def get_regions(regions_dir: Path) -> dict[str, ScreenRegion]: ...
62
+
63
+ def device_config(
64
+ adb: Path = Path("adb"),
65
+ serial: str | None = None,
66
+ app: str | None = None,
67
+ ) -> None: ...
68
+
69
+ def start_app() -> None: ...
70
+
71
+ def close_app() -> None: ...
72
+
73
+ def reset_screen() -> None: ...
74
+
75
+ def tap_center() -> None: ...
76
+
77
+ def swipe_center(dir: Direction, speed: SwipeSpeed, duration: float) -> None: ...
78
+
79
+ def screenshot() -> None: ...
80
+
81
+ def back() -> None: ...
82
+
83
+ def home() -> None: ...
84
+
85
+ def write(text: str) -> None: ...
File without changes
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: screen-objects
3
+ Version: 6.0.0
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Requires-Python: >=3.8
@@ -0,0 +1,8 @@
1
+ screen_objects/__init__.py,sha256=iy5fe2xb7qOPBvwahN7WYR6qA0ceTdb_HUXmeyc9wo4,139
2
+ screen_objects/__init__.pyi,sha256=ZPLRz4bwQpSkuNDXWpcF9-NOnCDUGGdiQ7_bbucejys,2102
3
+ screen_objects/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ screen_objects/screen_objects.cp314-win_amd64.pyd,sha256=KmhWXEFBbaZfKFY25aDgceuP1iIjLwHxz9bd_bqoDLg,832000
5
+ screen_objects-6.0.0.dist-info/METADATA,sha256=Cjk0NCFc9IgwHKRfRtly1hFkyQ4VcGnTIY86rVF-6fo,263
6
+ screen_objects-6.0.0.dist-info/WHEEL,sha256=VOSBBr1IHfwQ2AwQvDdei9z7qoo9tb-JYr9b32ETiyk,97
7
+ screen_objects-6.0.0.dist-info/sboms/screen_objects.cyclonedx.json,sha256=aCUzMHXgUolvoom52P2iTsChqiVWjIVZpimFAQV8xq0,49765
8
+ screen_objects-6.0.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.15.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_amd64