Skip to main content

kabyle text cleaner

Command-line utility and Python library to normalise Kabyle text (non-standard Greek/Latin look-alikes → proper Latin-derived letters) and optionally reflow paragraphs.

Installation

pip install kabyle-text-cleaner

CLI usage

# only check
kabtxtcleaner text.txt

fix + reflow

kabtxtcleaner text.txt --fix -o clean.txt
kabtxtcleaner text.txt --fix --reflow -o clean.txt

Library usage

from kabyle_cleaner import fix_text, reflow_paragraphs

clean = fix_text("γğţţ")
print(clean)            # ɣǧṭṭ

License

MIT License Copyright (c) 2025 Athmane MOKRAOUI

Metadata

Release files for kabyle-text-cleaner 0.1.0

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

Source distribution (sdist)

Source distribution for kabyle-text-cleaner 0.1.0
File Size Uploaded
kabyle_text_cleaner-0.1.0.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kabyle-text-cleaner 0.1.0
File Interpreter ABI Platform
kabyle_text_cleaner-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / kabyle_text_cleaner-0.1.0.tar.gz

Download URL kabyle_text_cleaner-0.1.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
417b4afe02c75dbf8623a06eb5b9e20f35425470176b7cffab398d005f82fe61
BLAKE2b-256 checksum
How to use checksums
05171d93dacea7e1a12b8794a026a6a4719853fc4f97843627f6c72f74154612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / kabyle_text_cleaner-0.1.0-py3-none-any.whl

Download URL kabyle_text_cleaner-0.1.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e869c1a938a298a8e5487d96d16ec93905ed485172972909322f44893c639caf
BLAKE2b-256 checksum
How to use checksums
012128f43bcc110a7e34e4f60169cf0ac10cc09c00ea59915c035f41e5253c32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

0.1.0 This release

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