{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"}],"enrichment":{"capability":"Determines Unicode text segmentation boundaries\u2014grapheme clusters, words, sentences, and line breaks\u2014using Unicode Standard Annex rules, and provides text wrapping for console and graphical environments.","skillfed_tags":["unicode","text-segmentation","internationalization"],"use_cases":["Implement proper text wrapping in CLI tools that must respect Unicode line-breaking rules across different scripts.","Build text editors or word processors that need to identify grapheme cluster boundaries for cursor positioning and text selection.","Process multilingual text to find word boundaries without relying on language-specific dictionaries.","Format console output with correct line breaks for Unicode strings containing combining characters or emoji.","Analyze or segment Unicode text in natural language processing pipelines that require Unicode-aware boundaries."],"what_it_does":"uniseg is a pure-Python library for determining Unicode text segmentation boundaries according to the Unicode Standard. It provides functions to identify grapheme cluster boundaries (user-perceived characters that may span multiple code points), word breaks, sentence breaks, and line break opportunities. The package also includes text-wrapping classes for both monospace (console) and proportional (graphical) font environments, making it useful for applications that need to handle text layout and display correctly across different writing systems.\n\nThe library implements the Unicode Standard Annex rules for text segmentation without requiring external C libraries or dictionaries. This makes it more portable than alternatives like PyICU, though potentially slower. It supports current Python versions (3.9 through 3.13) and recently achieved a milestone by passing all Unicode breaking tests in version 0.9.0, indicating improved correctness for edge cases.","worth_installing":"Yes, if you need Unicode-aware text segmentation in pure Python. The package is stable, has no dependencies, and recently achieved full Unicode test compliance. Install friction is minimal. The aging maintenance status (217 days since last release) is a minor concern for a mature library, but the recent test milestone and current Python version support suggest active stewardship. Avoid if you need maximum performance\u2014PyICU is faster but requires compilation and external libraries."},"id":"uniseg","links":{"html":"https://skillfed.io/packages/uniseg","md":"https://skillfed.io/packages/uniseg.md","pypi":"https://pypi.org/project/uniseg/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-09","license_spdx":null,"license_treatment":"permissive","name":"uniseg","python_support":"supports_current","summary":"Determine Unicode text segmentations"},"popularity":{"monthly_downloads":98360,"position":13089,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.1"}
