Skip to main content

tokensqueezer-tools

PyPI client for TokenSqueezer — x402-gated LLM token compression.

pip install "tokensqueezer-tools[x402,langchain]"
# also available via monorepo:
# pip install "nodeproxy-tools[tokensqueezer]"
export EVM_PRIVATE_KEY=0x...

from tokensqueezer_tools import TokenSqueezerClient

client = TokenSqueezerClient()
result = client.compress("Long noisy agent feed text…", aggressive=True)
print(result.stats.tokens_saved, result.compressed[:200])
from tokensqueezer_tools.langchain import TokenSqueezerTool

tool = TokenSqueezerTool()
tool.invoke({"text": "Raw RSS firehose blob…"})

Metadata

Release files for tokensqueezer-tools 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tokensqueezer-tools 0.1.0
File Size Uploaded Provenance Actions
tokensqueezer_tools-0.1.0.tar.gz 4.8 kB Without provenance Details for tokensqueezer_tools-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tokensqueezer-tools 0.1.0
File Interpreter ABI Platform Actions
tokensqueezer_tools-0.1.0-py3-none-any.whl Python 3 none any Details for tokensqueezer_tools-0.1.0-py3-none-any.whl

Total release size: 10.8 kB

Release files / tokensqueezer_tools-0.1.0.tar.gz

Download URL tokensqueezer_tools-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fef9177d210620e31b95b898ec657011543ca15e3409ca01f6256397656d1fe1
BLAKE2b-256 checksum
How to use checksums
c18ff93f11790eb2df3883edd6960f4123532cad04d20e704b0db7bc69240f9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / tokensqueezer_tools-0.1.0-py3-none-any.whl

Download URL tokensqueezer_tools-0.1.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bb118e63488650c760db8e514a716f93870d265eb6b5739ab87f4cc9dbf8e99
BLAKE2b-256 checksum
How to use checksums
4263d52461ddb69c72be84f677b255874cadb33c836885061f6225a7975bed44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for tokensqueezer-tools 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page