Skip to main content

Add your description here

Project description

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ylem-0.3.1.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ylem-0.3.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file ylem-0.3.1.tar.gz.

File metadata

  • Download URL: ylem-0.3.1.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ylem-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3fe3fd29484dff1283d6da1bb471f3eec0665681a3c2db6b5519140d2a9b8cd6
MD5 b020b32e7ae320d0cbaa688349004465
BLAKE2b-256 5e1569203eedd457481601a7df494dbecc66fae4302f9c2c055708835dfb1ab2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ylem-0.3.1.tar.gz:

Publisher: python-publish.yaml on sumukshashidhar/ylem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ylem-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: ylem-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ylem-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8a47c20a74bde965fd6efe8ee3db659d8697712ec96730732411654de1ce2e31
MD5 67c823185bb3f4ad68ac046f3f5d5f40
BLAKE2b-256 51a16026eb4eb750a344217f3a6c6f3c18d67ba1cfec1c6398621065f30cf3a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ylem-0.3.1-py3-none-any.whl:

Publisher: python-publish.yaml on sumukshashidhar/ylem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page