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.2.tar.gz (53.7 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.2-py3-none-any.whl (62.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scitex_capture-0.1.2.tar.gz
  • Upload date:
  • Size: 53.7 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.2.tar.gz
Algorithm Hash digest
SHA256 4fd5f248954eda8353f78c11edf134de811d4ea36eac7728b9b01b93fd4cd812
MD5 286c8c9384f1fbe78cf0cd76df1c34c6
BLAKE2b-256 d726adc48e637b444c144da47062f6f76323f2b57ac9362c9663216314a0e246

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_capture-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: scitex_capture-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 62.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d72e64be2d0f63c6d74a061fa67a46464cc0c0e4695d1763d56af168c674ca29
MD5 5891c94b5d3450c6d3f08602d899cf6c
BLAKE2b-256 39a4d42f40591aea8fb5a207752c46a80e26beb59461659ec431196bcfbd6ea3

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_capture-0.1.2-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