- LICENSE (MIT) and pyproject.toml: pip install . gives lessismore + lm commands; [tokens] and [ml] extras - budget(): middle-out hard cap, the only guaranteed-bounded pass; --budget N runs after compression as the backstop; char-slicing fallback for single giant lines - serve(): stdlib paste-in demo page, localhost only; lm --serve - Scrubbed internal hostnames/IPs from samples and README; benchmarks re-measured after scrub (interleaved now 54,999 -> 4,585, 12.0x; dedupe alone 1.6x on same input) - 30-assert suite, green on system python and tiktoken venv Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
25 lines
634 B
TOML
25 lines
634 B
TOML
[build-system]
|
|
requires = ["setuptools>=61"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "lessismore"
|
|
version = "0.1.0"
|
|
description = "Squeeze text before it hits an LLM — deterministic prompt compression, measured in real tokens"
|
|
readme = "README.md"
|
|
license = { text = "MIT" }
|
|
requires-python = ">=3.8"
|
|
authors = [{ name = "John King (monsterrobotsoft)" }]
|
|
keywords = ["llm", "prompt", "compression", "tokens", "context"]
|
|
|
|
[project.optional-dependencies]
|
|
tokens = ["tiktoken"]
|
|
ml = ["llmlingua"]
|
|
|
|
[project.scripts]
|
|
lessismore = "lessismore:main"
|
|
lm = "lessismore:main"
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["lessismore"]
|