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
>...

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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page