deslop
A CLI tool to rewrite documents so they sound less like AI slop.
Installation
pip install deslop
Or with uv:
uv pip install deslop
Usage
Set your Anthropic API key:
export ANTHROPIC_API_KEY=your-api-key
Then run deslop on a file:
# Read from file, write to stdout
deslop path/to/document.md
# Read from stdin
cat draft.md | deslop -
# Write to a file
deslop draft.md -o cleaned.md
How it works
Deslop uses Claude to:
- Identify slop patterns - Generic phrasing, repetitive structure, vague claims, unnatural transitions, empty intensifiers, etc.
- Rewrite the document - Fix all identified patterns while preserving meaning and structure
Requirements
- Python 3.10+
- Anthropic API key (uses Claude Opus 4.5)
License
MIT
Metadata
Release files for deslop 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deslop-0.2.0.tar.gz | 12.0 kB | Without provenance | Details for deslop-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deslop-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for deslop-0.2.0-py3-none-any.whl |
Total release size: 31.4 kB
Release files / deslop-0.2.0.tar.gz
| Download URL | deslop-0.2.0.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb65f5b5069e7947f308418b6c0f070cc51a09ac2ca8a2a306cbeff368f9c35e
|
|
BLAKE2b-256 checksum How to use checksums |
f9b950d69a0114c2a12b91d173de730928e2b9dbd3ad2d2b14d75f848c6266d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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 / deslop-0.2.0-py3-none-any.whl
| Download URL | deslop-0.2.0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c640b549925d1b01053b1aa1cdfde2c247e1185ed744afb33732ab5f8d2401d
|
|
BLAKE2b-256 checksum How to use checksums |
77e444b0ff02462312f07fa45810250398af3da795146a5a9b61771f3b5c2a36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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}
|
Security for deslop 0.2.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.