Skip to main content

Session-based screen capture (single screenshots, multi-frame GIFs, grid overlays, monitor info) — standalone module from the SciTeX ecosystem

Project description

scitex-capture

Session-based screen capture extracted from the SciTeX ecosystem as a standalone package.

Single screenshots, multi-frame session capture → animated GIFs, grid overlays, monitor + cursor info, optional MCP server, optional Playwright integration. Optimised for WSL→Windows-host capture and for AI agents that need a "what does my screen look like right now" tool.

Install

pip install scitex-capture
pip install "scitex-capture[mcp]"          # + MCP server
pip install "scitex-capture[playwright]"   # + browser capture
pip install "scitex-capture[all]"          # everything

Usage

import scitex_capture as cap

# One-shot screenshot
path = cap.snap("debug message")
path = cap.snap(capture_all=True)

# Inspect monitors / windows
info = cap.get_info()

# Continuous session capture
session_id = cap.start(interval=2)
# ... do work ...
cap.stop(session_id)
gif_path = cap.gif(session_id)

# Latest session
gif = cap.create_gif_from_latest_session()

CLI: scitex-capture --help.

Status

Standalone fork of scitex.capture. Only deps are Pillow + mss (with playwright + mcp as opt-ins). The umbrella package's scitex.capture import path is preserved via a sys.modules-alias bridge. 146/146 tests pass.

License

AGPL-3.0-only (see LICENSE).

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

scitex_capture-0.1.0.tar.gz (51.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scitex_capture-0.1.0-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

Details for the file scitex_capture-0.1.0.tar.gz.

File metadata

  • Download URL: scitex_capture-0.1.0.tar.gz
  • Upload date:
  • Size: 51.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for scitex_capture-0.1.0.tar.gz
Algorithm Hash digest
SHA256 300fee79ee3498837a4d37c5e1ce55ca8566afbbc15fb206da0e6fe9260a7aa2
MD5 fff8dbb90df172bb9b0356cc3bf0a836
BLAKE2b-256 7a6b952f08aec4653e8a7e72fcfbb8364b46976ffdeb2b56ec13ef52a886ddcb

See more details on using hashes here.

File details

Details for the file scitex_capture-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: scitex_capture-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 61.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for scitex_capture-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e981ccdbec35f41ebc750ab09265706ac457d26fc3636baccedf1c024962af85
MD5 426b8da07e2d8eb0c18a5268615e7113
BLAKE2b-256 2b2dc5706db0d1c0a7022d8fc0a1107aff6769480807ff8a8f7521faaeebdb6d

See more details on using hashes here.

Supported by

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