Skip to main content

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


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)

Uploaded Source

Built Distribution

CapPy_Python-0.0.6-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page