{"categories":[{"label":"Filters","url":"https://skillfed.io/packages/category/text-processing-filters"}],"enrichment":{"capability":"Converts text to title case with intelligent handling of small words (a, an, the) based on New York Times style rules, plus a command-line utility for batch processing.","skillfed_tags":["text-formatting","cli-tool","english-language"],"use_cases":["Format user-generated titles or headlines in web applications before display or storage.","Batch-process document titles or CSV headers from the command line using the titlecase utility.","Normalize book, article, or product names in data pipelines while preserving common acronyms via callback functions.","Convert all-caps or mixed-case text to consistent title formatting in content management systems.","Implement custom capitalization rules for domain-specific acronyms by providing a callback function."],"what_it_does":"Titlecase is a text formatting library that converts strings to title case while intelligently preserving small words (a, an, the, and, or, etc.) in lowercase based on New York Times style conventions. It also attempts to detect and preserve acronyms and abbreviations that are already in all caps. The library provides both a Python API and a command-line tool, making it useful for one-off conversions or integration into larger text-processing pipelines.\n\nThe package has no runtime dependencies and supports Python 3.7, 3.8, 3.9, and 3.10. It uses regex-based heuristics to handle edge cases, though it acknowledges limitations with contextual awareness (e.g., distinguishing 'us' the pronoun from 'US' the country) and non-English text. The library is a modern port of John Gruber's original titlecase.pl Perl script, maintained on GitHub with a stable user base.","worth_installing":"Yes, if you need reliable title-case conversion with sensible English-language defaults and don't require frequent updates. The high install friction (source-only distribution) and aging maintenance status are acceptable trade-offs for a stable, single-purpose utility with no dependencies. Not recommended if you need active bug fixes or compatibility guarantees beyond Python 3.10."},"id":"titlecase","links":{"html":"https://skillfed.io/packages/titlecase","md":"https://skillfed.io/packages/titlecase.md","pypi":"https://pypi.org/project/titlecase/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2023-09-23","license_spdx":null,"license_treatment":"permissive","name":"titlecase","python_support":"supports_current","summary":"Python Port of John Gruber's titlecase.pl"},"popularity":{"monthly_downloads":691206,"position":5326,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.4.1"}
