Skip to main content

AI-powered summary filter that distills any command's output.

Project description

shtym

AI-powered summary filter that distills any command's output.

Overview

Shtym is a command wrapper designed to reduce context size for both human users and AI coding agents. It wraps command execution and currently passes output through unchanged (with future AI summarization planned).

Installation

pip install shtym

Usage

Wrap any command with stym run:

# Run tests
stym run pytest tests/

# Run linter
stym run ruff check .

# Build project
stym run npm run build

# Any command with options
stym run ls -la

# Pipe output to other commands
stym run pytest tests/ | grep FAILED

Key Features

  • Exit code inheritance: Shtym preserves the wrapped command's exit code, making it CI/CD friendly
  • Clean stdout: Output contains only command results, no progress indicators or metadata
  • Transparent wrapper: Works seamlessly with existing workflows and scripts

Design Philosophy

Shtym follows Unix conventions for command wrappers (like sudo, timeout, time):

  • Executes commands as subprocesses
  • Inherits and propagates exit codes exactly
  • Maintains clean stdout for composability
  • Enables reliable integration with automated workflows

Development

For development documentation, see:

License

MIT

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

shtym-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

shtym-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shtym-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for shtym-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c41f42c6a509029260d515a018b2bac058a38eb51a575d8ace48a37696307b05
MD5 abcaf5e2a16889f9bd28e2c7ea35e6a9
BLAKE2b-256 ff7406307a7d9be2f7dd1586fe4c2940bc59cee29298761903b06e34cb1f5686

See more details on using hashes here.

Provenance

The following attestation bundles were made for shtym-0.1.0.tar.gz:

Publisher: release.yml on osoekawaitlab/shtym-py

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

File details

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

File metadata

  • Download URL: shtym-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for shtym-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9fd6bb1b8c839c0671454ccc3f644e4b594994250abb73a7c0458769a19798
MD5 90ee601e47fa791d5ad7655ffb42a042
BLAKE2b-256 8578155b39ee3e8f0446b2e41918edfa4747351137071c40418b461f82422f99

See more details on using hashes here.

Provenance

The following attestation bundles were made for shtym-0.1.0-py3-none-any.whl:

Publisher: release.yml on osoekawaitlab/shtym-py

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