Skip to content
Back to the index

token-trim-cli

PyPIInfrastructure

PulseGate's liveness check found it on 14 Sep 2026; it is registered on GitHub and PyPI and has been in the index since 6 Aug 2026. How this is checked

token-trim-cli is an MIT-licensed Python command-line tool that prunes Python code and logs to reduce LLM context-window usage and API costs. It uses syntax-aware processing and token counting for developers working with prompts and LLM workflows.

Inferred · not functionally tested

Open SourceMITCLISelf-hosted
Visit PyPI
2stars
5features
2026since

Overview

5 features

Purpose: Reducing unnecessary Python code and log content in LLM contexts to lower token usage and API costs.

Inferred · not functionally tested

Audience: Python developers building LLM and prompt-engineering workflows

Inferred · not functionally tested

Functions: Unknown

Interfaces: API: unknown · MCP: unknown · CLI: indicated (inferred, not tested) · Self-hosting: indicated (inferred, not tested)

Recorded constraints: pricing: open_source · license: MIT · platforms: CLI · deployment: cli, self_hosted

Constraint provenance is unknown; confirm requirements with the publisher.

Record sources: pypi.org · github.com. These links do not verify the individual claims.

In the CLI tools & terminal space, token-trim-cli takes a focused approach. Inferred · not functionally tested: It focuses on reducing unnecessary Python code and log content in LLM contexts to lower token usage and API costs. Inferred · not functionally tested: token-trim-cli is an open-source project aimed at python developers building LLM and prompt-engineering workflows. Basis unknown · not verified: The project is open source (MIT). Basis unknown · not verified: It ships for the command line, and it can be self-hosted.

Paresh R. Nayak builds and maintains token-trim-cli, and it first shipped in 2026. The project is developed in the open on GitHub with 16 commits in the last 90 days. Inferred · not functionally tested: Among its 5 catalogued features are AST pruning, log pruning, and token counting.

Summary written by a language model from the project’s public pages.

Tasks: Inferred · not functionally tested

  • AST pruning
  • Log pruning
  • Token counting
  • Context optimization
  • CLI workflow

Topics: Inferred · not functionally tested

Tags
llm-contexttoken-optimizationpython-astlog-pruningprompt-engineering
AI capabilities
TextCode
Inference: Local

JSON profile · Text profile · Access guide

Built with & integrations

Runs on
CLISelf-hosted

Trust & compliance

License
MIT
Public signals
HTTPSOpen SourceFree tierGitHub · ★ 2Active maintenance

Indexing history

1

What PulseGate has recorded for this listing

  1. Indexed6 Aug · 15:39 UTC
    token-trim-cli seen via PyPI Fresh Feed
    Source: PyPI Fresh Feed · Open

Frequently asked questions about token-trim-cli

What does token-trim-cli do?
Inferred · not functionally tested: Token-trim-cli focuses on reducing unnecessary Python code and log content in LLM contexts to lower token usage and API costs. It is catalogued under CLI tools & terminal on PulseGate.
Who is token-trim-cli for?
Inferred · not functionally tested: token-trim-cli is an open-source project built for python developers building LLM and prompt-engineering workflows.
Does token-trim-cli have a free plan?
Basis unknown · not verified: Yes — token-trim-cli is open source under the MIT license and free to use.
What platforms does token-trim-cli run on?
Basis unknown · not verified: token-trim-cli runs on the command line. It can also be self-hosted.
Is token-trim-cli still maintained?
PulseGate's liveness check found it on 14 Sep 2026. Its GitHub repository shows 16 commits in the last 90 days.
Who makes token-trim-cli?
token-trim-cli is developed by Paresh R. Nayak.
When did token-trim-cli launch?
token-trim-cli first shipped in 2026.
Is token-trim-cli open source?
Basis unknown · not verified: Yes — token-trim-cli is open source under the MIT license, developed on GitHub.

Similar projects

Closest matches by what these projects do