Skip to content

ContextSqueeze v0.1.0

Latest

Choose a tag to compare

@gitstq gitstq released this 10 Jun 17:16

Initial Release

ContextSqueeze is a lightweight LLM context compression toolkit.

Features

  • Automatic content type detection (code, JSON, logs, markdown, text)
  • 4 compression strategies: semantic, code, json, text
  • Rich CLI with beautiful output
  • Python API for integration
  • Token counting and cost estimation
  • Batch processing support

Installation

pip install contextsqueeze

Quick Start

ctxsq compress -f prompt.txt --ratio 0.5