chivel 0.1.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.
- chivel-0.1.0/PKG-INFO +7 -0
- chivel-0.1.0/chivel/__init__.py +0 -0
- chivel-0.1.0/chivel/chivel.pyd +0 -0
- chivel-0.1.0/chivel/chivel.pyi +25 -0
- chivel-0.1.0/chivel.egg-info/PKG-INFO +7 -0
- chivel-0.1.0/chivel.egg-info/SOURCES.txt +9 -0
- chivel-0.1.0/chivel.egg-info/dependency_links.txt +1 -0
- chivel-0.1.0/chivel.egg-info/not-zip-safe +1 -0
- chivel-0.1.0/chivel.egg-info/top_level.txt +1 -0
- chivel-0.1.0/setup.cfg +4 -0
- chivel-0.1.0/setup.py +12 -0
chivel-0.1.0/PKG-INFO
ADDED
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from typing import Any, List, Tuple, Optional
|
|
2
|
+
|
|
3
|
+
class Image:
|
|
4
|
+
pass
|
|
5
|
+
|
|
6
|
+
def load(path: str) -> Image: ...
|
|
7
|
+
def save(image: Image, path: str) -> None: ...
|
|
8
|
+
def show(image: Image, window_name: str = ...) -> None: ...
|
|
9
|
+
def capture(monitor_index: int = ...) -> Image: ...
|
|
10
|
+
def find(source: Image, search: Any, threshold: float = ..., level: int = ...) -> List[Tuple[int, int, int, int]]: ...
|
|
11
|
+
def draw(image: Image, rects: Any, color: Optional[Tuple[int, int, int]] = ...) -> None: ...
|
|
12
|
+
def wait(seconds: float) -> None: ...
|
|
13
|
+
def mouse_move(monitor_index: int, pos: Any) -> None: ...
|
|
14
|
+
def mouse_click(button: int = ..., count: int = ...) -> None: ...
|
|
15
|
+
def mouse_down(button: int = ...) -> None: ...
|
|
16
|
+
def mouse_up(button: int = ...) -> None: ...
|
|
17
|
+
def mouse_scroll(vertical: int, horizontal: int = ...) -> None: ...
|
|
18
|
+
def type(text: str, wait: float = ...) -> None: ...
|
|
19
|
+
|
|
20
|
+
# Constants
|
|
21
|
+
BLOCK: int
|
|
22
|
+
PARAGRAPH: int
|
|
23
|
+
LINE: int
|
|
24
|
+
WORD: int
|
|
25
|
+
SYMBOL: int
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
chivel
|
chivel-0.1.0/setup.cfg
ADDED
chivel-0.1.0/setup.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="chivel",
|
|
5
|
+
version="0.1.0",
|
|
6
|
+
description="Chivel C++/Python extension",
|
|
7
|
+
author="Mitchell Talyat",
|
|
8
|
+
packages=["chivel"],
|
|
9
|
+
package_data={"chivel": ["chivel.pyd", "chivel.pyi"]},
|
|
10
|
+
include_package_data=True,
|
|
11
|
+
zip_safe=False,
|
|
12
|
+
)
|