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.0.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.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ylem-0.3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 43ef2e91b031eed7b2b62eb02c0096d6aef452aa7d09482a2c86ca3c36242359
MD5 80b1e60b2f62f3e9c32c303194e75545
BLAKE2b-256 37ec7c83c0e3fffde41d6304cca2a73a2a0151a54852de955c5c21413a3f259f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ylem-0.3.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: ylem-0.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff4cf7f81b07756389b08f4b9336da512e1d654c5e1457eb32c3e3d6cb4bde7c
MD5 1a22f35b2a0c1cb53ab02722d3e4863c
BLAKE2b-256 5124d0f36b15bc62b13b817b1990d04a87c3e1997a564849175b835d332d637f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ylem-0.3.0-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