Skip to main content

ylem

Turn messy text into Markdown with a tiny, friendly Cleaner.

Install

uv pip install ylem

Quick start

import ylem

cleaner = ylem.Cleaner("nano")  # Qwen/Qwen3-0.6B
text = "some content from the internet"
markdown = cleaner(text)

What you get

  • Default behavior: remove irrelevant bits and convert to Markdown.
  • Strength: low (default), medium, high.

Tweak as needed

# Choose strength or switch models per call
markdown = cleaner(text, strength="medium", max_new_tokens=256)

# Or set on init
cleaner = ylem.Cleaner(model="medium", strength="high")

Metadata

Release files for ylem 0.3.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 ylem 0.3.1
File Size Uploaded
ylem-0.3.1.tar.gz 49.7 kB Details

Built distribution (wheel)

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

Total release size: 57.9 kB

Release files / ylem-0.3.1.tar.gz

Download URL ylem-0.3.1.tar.gz
Size 49.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3fe3fd29484dff1283d6da1bb471f3eec0665681a3c2db6b5519140d2a9b8cd6
BLAKE2b-256 checksum
How to use checksums
5e1569203eedd457481601a7df494dbecc66fae4302f9c2c055708835dfb1ab2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2025.

Transparency log

Release files / ylem-0.3.1-py3-none-any.whl

Download URL ylem-0.3.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a47c20a74bde965fd6efe8ee3db659d8697712ec96730732411654de1ce2e31
BLAKE2b-256 checksum
How to use checksums
51a16026eb4eb750a344217f3a6c6f3c18d67ba1cfec1c6398621065f30cf3a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 22, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.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