Python port of John Gruber's titlecase.pl for intelligent title case conversion with style guide compliance
Overall
score
79%
A utility for formatting network protocol and technology names in text for documentation and reports.
The formatter should identify and properly capitalize common network protocol and technology acronyms in text.
The formatter should handle text containing both regular words and protocol names.
@generates
def format_protocol_text(text: str) -> str:
"""
Format text by properly capitalizing protocol names and applying title case.
Args:
text: The input text containing protocol names and other words
Returns:
The formatted text with proper capitalization
"""
passProvides title case conversion with automatic acronym detection for all-consonant words.
Install with Tessl CLI
npx tessl i tessl/pypi-titlecasedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10