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

PyPI Python Tests Install Test Coverage Docs License: AGPL v3

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.1.tar.gz (53.5 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.1-py3-none-any.whl (62.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scitex_capture-0.1.1.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_capture-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4660cd351c41d0ece786a73e4154abd3f7feba747d0e5a8a1d888b5ac0b07b74
MD5 d02816ad9c0a5f67a5af719358d0c0e6
BLAKE2b-256 48f1d9f760f6002c75ab015e94b2b6adcebfbbb73f50995b7fd1fd46336cfb2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_capture-0.1.1.tar.gz:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-capture

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: scitex_capture-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 62.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_capture-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e6b520798f116ee46a2ffe5a4732a1b30dd3fa7e532b7b892779413b8c269fe
MD5 204acae0a7fa7b9398c81a41fd687c85
BLAKE2b-256 7862cc6bd00450f9bfc2a49efabceafb5e44806f7e79123b65b422e1c05605d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_capture-0.1.1-py3-none-any.whl:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-capture

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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