Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Context Window Optimization Python Packages

Python packages with the GitHub topic context-window-optimization. Sorted by monthly downloads, with stars and forks.
cocoindex-io
cocoindex-code

A super light-weight embedded code search engine CLI (AST based) that just works - improves speed and efficiency for coding agent 🌟 Star if you like it!

8K 3K 257
ISON-format
ison-graph

ISONGraph is a multi-language property graph library designed specifically for LLM and AI applications. It provides the most token-efficient way to represent graph data in LLM context windows while maintaining high accuracy for graph-based reasoning tasks.

927 19 1
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.

602 2K 182
tenwritehq
llama-index-postprocessor-trimwise

Light-weight, query-aware compression for high-signal LLM prompts.

489 9 0
tenwritehq
langchain-trimwise

Shared-budget extractive context trimming for LangChain.

489 9 0
pomponchik
incontext

Exact dynamic output budgeting for Hermes Agent

304 0 0
tenwritehq
trimwise

High-signal text trimming for better LLM prompts.

293 9 0
saurabhdorle
fast-pruner

A structure-aware local prompt compressor.

87 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology