{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"}],"enrichment":{"capability":"Provides string manipulation functions that work with user-perceived characters (grapheme clusters) as defined by Unicode Standard Annex #29, rather than individual Unicode code points.","skillfed_tags":["unicode","text-processing","grapheme-clusters"],"use_cases":["Count visible characters in user input for UI validation or display length constraints.","Truncate or slice text at user-perceived boundaries without corrupting combining marks or emoji modifiers.","Format text-based tables or monospaced output where column widths must match perceived character width.","Process strings containing emoji with skin-tone or gender modifiers as single units.","Validate text length for systems that measure by grapheme clusters rather than Unicode code points."],"what_it_does":"graphemeu is a Unicode-aware string library that treats grapheme clusters\u2014the user-perceived characters that may span multiple Unicode code points\u2014as the fundamental unit of text manipulation. Standard Python string functions count and slice by individual Unicode characters, which can split combining marks, emoji modifiers, and other multi-codepoint sequences. This package implements the Unicode Standard Annex #29 rules to correctly identify grapheme boundaries and provides functions like length(), slice(), and contains() that operate on graphemes instead.\n\nThe library is most useful when you need to count or truncate text the way users see it\u2014for example, when formatting text-based tables, enforcing display width limits, or ensuring that truncation doesn't corrupt combining marks or emoji. It trades performance for correctness: grapheme operations scale linearly with string length and are notably slower than Unicode code-point operations, so it's best suited for relatively short strings or operations on the beginning of long strings.","worth_installing":"Yes, if you need correct grapheme-aware string handling. The package has no dependencies, installs easily, and carries no security vulnerabilities. The aging maintenance status (218 days since release) is a minor concern but not a blocker\u2014the library is a stable fork that updates with Unicode versions. Install it when user-perceived character boundaries matter more than raw performance; avoid it if you're working with very long strings or can tolerate Unicode code-point semantics."},"id":"graphemeu","links":{"html":"https://skillfed.io/packages/graphemeu","md":"https://skillfed.io/packages/graphemeu.md","pypi":"https://pypi.org/project/graphemeu/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-08","license_spdx":null,"license_treatment":"permissive","name":"graphemeu","python_support":"supports_current","summary":"Unicode grapheme helpers"},"popularity":{"monthly_downloads":2153333,"position":3248,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.10.0"}
