{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Implements the Unicode Collation Algorithm to sort strings in non-English languages correctly, handling accents, contractions, and expansions according to Unicode standards.","skillfed_tags":["unicode","internationalization","collation"],"use_cases":["Sort user-facing lists (names, cities, products) in multilingual applications where accent and diacritic handling matters.","Build search and filter systems that respect language-specific collation rules for better UX.","Process linguistic or historical text data that requires proper Unicode-aware ordering.","Implement locale-independent sorting in databases or APIs serving international users.","Handle Spanish, German, French, and other language-specific letter orderings in sorted output."],"what_it_does":"pyuca is a Python implementation of the Unicode Collation Algorithm (UCA), the standard method for sorting text in multiple languages and scripts. It passes conformance tests for Unicode versions from 5.2.0 through 10.0.0 depending on your Python version, and handles the linguistic nuances that plain string sorting misses: accents, diacritics, language-specific letter orderings (like Spanish ch), and character expansions (like German \u00e4 sorting as ae).\n\nYou use it by creating a Collator instance and passing its sort_key method to Python's sorted() function. For example, caf\u00e9 correctly sorts before caff when using the collator, whereas standard sorting would place caff first. The package has no runtime dependencies and installs as a pure Python wheel, making it lightweight and portable.","worth_installing":"Yes. pyuca is a stable, actively maintained implementation of a well-defined standard with zero dependencies, no security vulnerabilities, and permissive licensing. Install it if you need correct multilingual string sorting; it solves a real problem that Python's default sort does not. The last release was 2017, but the repository remains active and the algorithm is mature\u2014this is not a red flag for a standards-based library."},"id":"pyuca","links":{"html":"https://skillfed.io/packages/pyuca","md":"https://skillfed.io/packages/pyuca.md","pypi":"https://pypi.org/project/pyuca/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2017-09-25","license_spdx":null,"license_treatment":"permissive","name":"pyuca","python_support":"unspecified","summary":"a Python implementation of the Unicode Collation Algorithm"},"popularity":{"monthly_downloads":276705,"position":8159,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2"}
