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

Tokens Python Packages

Python packages with the GitHub topic tokens. Sorted by relevance, with stars and monthly downloads.
miguelgrinberg
flask-httpauth

Simple extension that provides Basic, Digest and Token HTTP authentication for Flask routes

2.3M 1K 236
chopratejas
headroom-ai

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.

176K 2K 160
jgravelle
jcodemunch-mcp

The leading, most token-efficient MCP server for GitHub source code exploration via tree-sitter AST parsing

149K 2K 288
BobTheBuidler
ypricemagic

Fetch accurate prices for tokens solely using on-chain data.

63K 74 20
BobTheBuidler
eth-portfolio-temp

Use eth-portfolio to output information about a wallet or collection of wallets in a streamlined, speed-optimized way.

24K 15 6
ApeWorX
ape-tokens

Tokens converter plugin for the Ape Framework

22K 11 8
rajdeepmondaldotcom
caliper-ai

Per-PR cost for your AI coding tools. Reads local Codex, Claude Code, Cursor, and Aider logs. Offline. No login. No SaaS. No telemetry.

12K 1 0
Crack525
tokenxray

See where your AI coding tokens actually go.

11K 1 0
BobTheBuidler
eth-portfolio

Use eth-portfolio to output information about a wallet or collection of wallets in a streamlined, speed-optimized way.

8K 15 6
Elijas
token-throttle

Multi-resource rate limiting for LLM APIs. Reserve tokens before you call, refund what you don't use, stay under the limit across workers.

6K 18 2
ZON-Format
zon-format

ZON → 35-70% cheaper LLM prompts than JSON/TOON. Zero overhead.

5K 71 6
ojuschugh1
sqz

Compress LLM context to save tokens and reduce costs

2K 269 11
1kkiRen
tokenizerchanger

Library for manipulating the existing tokenizer.

743 21 1
Harsh-Daga
lattice-transport

A complete transport layer for LLM traffic

536 0 0
Reversehobo
openai-function-tokens

A package to estimate token counts for messages AND functions in openai's chat completion API.

492 19 1
costfuse
costfuse

A fuse box for your AI bill. Drop-in budget guardrails and runaway-loop kill switch for AI agents.

458 0 0
carver
ethtoken

Ethereum EIP20 Token Interface

434 43 20
MinaSaad1
parsimony-cli

Know where your Claude Code tokens go - usage tracking for subscribers

408 0 0
alexruco
caveman-mcp

MCP server that cuts 65% of tokens by compressing markdown files and activating caveman speak.A thinner and simpler option for Brussee's Caveman — no file distribution, no sync. No API key. Works everywhere.

393 0 0
udaykumar-dhokia
trackly

Zero-overhead AI cost and usage tracking for Python. Import the library, wrap your LangChain model, and every LLM call is automatically logged - tokens, cost, latency, and your own metadata.

318 4 0
Spaxe
keystore

Command line tools to compress and encrypt your keys

311 4 1
getkaizen
kaizen-client

Open source client SDKs to Save AI cost via Kaizen AI Cost Optimization Infrastructure.

219 4 0
pyrustic
litemark

Lightweight Markdown dialect for Python desktop apps

211 14 0
DelvyG
promptminify

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

188 1 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery