Python package for easy window capturing
Project description
CapPy
A Pillow wrapper for easy window capturing and window data acquisition.
Examples:
import cappy as cpy
window = cpy.match_window('notepad.exe')
import cappy as cpy
window = cpy.match_window('mspaint.exe')
print(window.process, window.pid, window.tid, window.hwnd)
>mspaint.exe 9024 6024 1048826
import cappy as cpy
window = cpy.match_window('GTA5.exe')
while(window.alive):
cpy.cv2_record(window)
cpy.cv2_dispose()
import cappy as cpy
windows_out = []
cpy.retrieve_windows(windows_out)
for window in windows_out:
print(window.name)
>Calculator
>Untitled - Notepad
>#general - Discord
>Google - Mozilla Firefox
>Steam
>...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
CapPy-Python-0.0.6.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for CapPy_Python-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7929d2eebabd22202add9c65922a3d2b6eef0f684d1c69ba1b048902043a77 |
|
MD5 | 1b086ef0c42c18f0ed422dcd187122fa |
|
BLAKE2b-256 | 9912b375ad2182a7798b0495bd10c97691a1072a95e4128d8273268cae71a84b |