PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Prompt Compression Python Packages

Python packages with the GitHub topic prompt-compression. Sorted by relevance, with stars and monthly downloads.
jia-gao
leanctx

Drop-in prompt compression for production LLM apps. Cut your token bill 40-60% without changing your code. Python SDK, LLMLingua-2, MIT.

1K 272 1
h2cker
vecr-compress

Deterministic, auditable LLM context compression — regex whitelist guarantees structured facts (IDs, URLs, dates, code) survive. Two layers: retention + heuristic knapsack.

772 0 0
open-compress
claw-compactor

14-stage Fusion Pipeline for LLM token compression — reversible compression, AST-aware code analysis, intelligent content routing. Zero LLM inference cost. MIT licensed.

713 2K 212
h2cker
llama-index-postprocessor-vecr

Deterministic, auditable LLM context compression — regex whitelist guarantees structured facts (IDs, URLs, dates, code) survive. Two layers: retention + heuristic knapsack.

556 0 0
contextcrunch-ai
contextcrunch

Compress LLM Prompts and save 80%+ on GPT-4 in Python

414 3 1
npow
context-bench

Benchmark any system that transforms LLM context: compressors, RAG rerankers, memory managers, and more.

386 0 0
DelvyG
promptminify

Minify LLM prompts to save tokens — domain-aware, tiktoken-validated, zero regressions

188 1 0
napmany
cutia

CUTIA: compress prompts while preserving quality

168 7 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery