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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file CapPy-Python-0.0.6.tar.gz.

File metadata

  • Download URL: CapPy-Python-0.0.6.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for CapPy-Python-0.0.6.tar.gz
Algorithm Hash digest
SHA256 c9112892ab2d72fc2dd43c0910f4bb3e3d13dd6bbc03c55da6584ea92fff5865
MD5 92399434b781531811070430f6641c08
BLAKE2b-256 c9eea2b2dc85df748a2185eceba72493c3309ae21e133425855fba1c9d4a4827

See more details on using hashes here.

File details

Details for the file CapPy_Python-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: CapPy_Python-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for CapPy_Python-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3a7929d2eebabd22202add9c65922a3d2b6eef0f684d1c69ba1b048902043a77
MD5 1b086ef0c42c18f0ed422dcd187122fa
BLAKE2b-256 9912b375ad2182a7798b0495bd10c97691a1072a95e4128d8273268cae71a84b

See more details on using hashes here.

Supported by

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