Skip to content

Releases: gitstq/contextsqueeze-py

ContextSqueeze v0.1.0

10 Jun 17:16

Choose a tag to compare

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