Skip to main content

milkwashy

The Python half of milkwash: does an LLM paraphrase pass wash a statistical text watermark out of a document?

milkwashy takes long source texts, splits them into 2–8 sentence chunks, rewrites every chunk through a randomly assigned rephrase prompt, and repeats the run against every model a local OpenAI-compatible server can serve. Chunk assembly is done by the Rust extension milkwashr.

uv pip install milkwashy

milkwashy init_config       # TOML config in the platformdirs location
milkwashy gen_indata        # write the four seed texts to 01-indata/
milkwashy models            # list models (LM Studio via `lms`, others via /v1/models)
milkwashy plan              # show the chunk + prompt plan, no inference
milkwashy run --limit 5     # sweep the 5 smallest models

Full documentation: https://github.com/twardoch/milkwash

License

Apache-2.0

Release files for milkwashy 1.0.1

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

Source distribution (sdist)

Source distribution for milkwashy 1.0.1
File Size Uploaded
milkwashy-1.0.1.tar.gz 24.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for milkwashy 1.0.1
File Interpreter ABI Platform
milkwashy-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 46.6 kB

Release files / milkwashy-1.0.1.tar.gz

Download URL milkwashy-1.0.1.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3651ec6669dbd8a4012e545dde8ec10c182a00a940dffef58be3f67b01c2e2dc
BLAKE2b-256 checksum
How to use checksums
d4b65a9e86b70349279404f2658baead13e2c6165ea9cd07cfc3def3a56c861a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / milkwashy-1.0.1-py3-none-any.whl

Download URL milkwashy-1.0.1-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc8bbaa7feb648f0e2a38619fc2f551b765377c64a1ebd6e8cacfb1abc41f1da
BLAKE2b-256 checksum
How to use checksums
1e236c248dc2180bd19923a463cba11cfa52010599056d836cdcbb1bc37475b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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