{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"}],"enrichment":{"capability":"Provides Unicode text segmentation (graphemes, words, sentences, line breaks) and display width calculation via Python bindings to Rust crates, following Unicode standards.","skillfed_tags":["unicode-processing","rust-bindings","text-segmentation"],"use_cases":["Split text into grapheme clusters to correctly count user-perceived characters in strings with complex emojis or combining diacritics.","Find word and sentence boundaries for text analysis, search indexing, or natural language processing pipelines.","Calculate display width of text for terminal wrapping, monospace layout, or UI rendering without measuring individual glyphs.","Wrap localization strings for gettext PO files while preserving escape sequences and respecting CJK character boundaries.","Identify legal line-break opportunities in multilingual text for text editors or document formatters.","Process Arabic, Japanese, Chinese, and other non-Latin scripts with Unicode-compliant segmentation rules."],"what_it_does":"unicode-segmentation-rs is a Python library that wraps Rust implementations of Unicode text processing algorithms. It splits text into grapheme clusters (user-perceived characters, handling complex emojis and combining marks), words, sentences, and line-break opportunities according to Unicode standards. It also calculates display width for terminal or monospace rendering, and provides gettext PO file wrapping with proper handling of escape sequences and CJK characters.\n\nThe package has no Python runtime dependencies and installs as a compiled extension, making it fast for text processing tasks common in localization, terminal UI, and multilingual applications. It supports modern Python versions (3.10+) and is actively maintained.","worth_installing":"Yes, with a license caveat. The package is actively maintained, has no known vulnerabilities, installs cleanly on common platforms, and solves a real problem (correct Unicode text segmentation) that pure Python solutions handle poorly. However, verify the license status before use in proprietary projects, since the metadata does not declare one."},"id":"unicode-segmentation-rs","links":{"html":"https://skillfed.io/packages/unicode-segmentation-rs","md":"https://skillfed.io/packages/unicode-segmentation-rs.md","pypi":"https://pypi.org/project/unicode-segmentation-rs/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-08","license_spdx":null,"license_treatment":"unclear","name":"unicode-segmentation-rs","python_support":"supports_current","summary":"Unicode segmentation and width for Python using Rust"},"popularity":{"monthly_downloads":265647,"position":8320,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.3"}
