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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c41f42c6a509029260d515a018b2bac058a38eb51a575d8ace48a37696307b05
|
|
| MD5 |
abcaf5e2a16889f9bd28e2c7ea35e6a9
|
|
| BLAKE2b-256 |
ff7406307a7d9be2f7dd1586fe4c2940bc59cee29298761903b06e34cb1f5686
|
Provenance
The following attestation bundles were made for shtym-0.1.0.tar.gz:
Publisher:
release.yml on osoekawaitlab/shtym-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shtym-0.1.0.tar.gz -
Subject digest:
c41f42c6a509029260d515a018b2bac058a38eb51a575d8ace48a37696307b05 - Sigstore transparency entry: 713990927
- Sigstore integration time:
-
Permalink:
osoekawaitlab/shtym-py@4a3a7db4b439080e6f88bb1be1c76d8b40340480 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/osoekawaitlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4a3a7db4b439080e6f88bb1be1c76d8b40340480 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d9fd6bb1b8c839c0671454ccc3f644e4b594994250abb73a7c0458769a19798
|
|
| MD5 |
90ee601e47fa791d5ad7655ffb42a042
|
|
| BLAKE2b-256 |
8578155b39ee3e8f0446b2e41918edfa4747351137071c40418b461f82422f99
|
Provenance
The following attestation bundles were made for shtym-0.1.0-py3-none-any.whl:
Publisher:
release.yml on osoekawaitlab/shtym-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shtym-0.1.0-py3-none-any.whl -
Subject digest:
4d9fd6bb1b8c839c0671454ccc3f644e4b594994250abb73a7c0458769a19798 - Sigstore transparency entry: 713990928
- Sigstore integration time:
-
Permalink:
osoekawaitlab/shtym-py@4a3a7db4b439080e6f88bb1be1c76d8b40340480 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/osoekawaitlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4a3a7db4b439080e6f88bb1be1c76d8b40340480 -
Trigger Event:
push
-
Statement type: