Skip to main content

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

Release files for CapPy-Python 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CapPy-Python 0.0.6
File Size Uploaded
CapPy-Python-0.0.6.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for CapPy-Python 0.0.6
File Interpreter ABI Platform
CapPy_Python-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / CapPy-Python-0.0.6.tar.gz

Download URL CapPy-Python-0.0.6.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c9112892ab2d72fc2dd43c0910f4bb3e3d13dd6bbc03c55da6584ea92fff5865
BLAKE2b-256 checksum
How to use checksums
c9eea2b2dc85df748a2185eceba72493c3309ae21e133425855fba1c9d4a4827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

Release files / CapPy_Python-0.0.6-py3-none-any.whl

Download URL CapPy_Python-0.0.6-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a7929d2eebabd22202add9c65922a3d2b6eef0f684d1c69ba1b048902043a77
BLAKE2b-256 checksum
How to use checksums
9912b375ad2182a7798b0495bd10c97691a1072a95e4128d8273268cae71a84b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.4

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page