--- id: jaraco-text version: "4.3.0" license: MIT license_treatment: permissive maintenance: active --- # jaraco.text — Module for text manipulation License: permissive · Maintenance: active · Downloads: 2.5M/mo ## What it is and what it does jaraco.text is a collection of utility functions for everyday text manipulation tasks. It handles operations like wrapping, substitution, trimming whitespace, removing prefixes and suffixes, managing indentation, processing comments, and performing case-insensitive comparisons. The package also includes command-line tools for specialized tasks—for example, converting between keyboard layouts (QWERTY to Dvorak) and reporting newline characters in files. The package is designed as a grab-bag of helpers rather than a focused framework. It depends on jaraco.context, jaraco.functools, more_itertools, and typer-slim, and targets Python 3.10+. It is actively maintained and carries no known security vulnerabilities. The MIT license permits both commercial and open-source use. Use it for: - Normalize and clean user-supplied text input in web forms or data pipelines. - Convert between keyboard layouts programmatically for accessibility or input remapping. - Inspect and report on newline conventions in text files for cross-platform compatibility. - Perform case-insensitive string matching and comparison in configuration or search logic. - Handle text indentation and line continuation in code generation or template rendering. - Parse and process comment-heavy text formats or configuration files. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides utility functions for common text operations including wrapping, substitution, trimming, stripping, prefix/suffix removal, indentation, and case-insensitive comparison. Yes. jaraco.text is a stable, actively maintained utility library with low install friction, no security vulnerabilities, and a permissive license. Install it if you need a collection of common text-processing helpers and are comfortable with a Python 3.10+ requirement. It is not a specialized tool—evaluate whether its specific functions match your use case rather than installing it as a general-purpose text library. ## Install pip install jaraco-text uv add jaraco-text poetry add jaraco-text ## Installing jaraco.text Before you install: Low friction installation with a pure-Python wheel. Actively maintained as of 2026-07-12 with recent releases. Depends on four runtime packages (jaraco.context, jaraco.functools, more_itertools, typer-slim), all of which are established utilities. License in practice: MIT license (permissive) allows use in commercial and proprietary projects with minimal restrictions—retain the license notice and you are free to modify and distribute. Quickstart: pip install jaraco.text from jaraco.text import trim result = trim(' hello world ') Requires Python 3.10 or later. Verify before relying: - Whether the text processing functions handle Unicode and non-ASCII text correctly. - Performance characteristics for large text inputs or bulk operations. - Availability and completeness of the linked documentation. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 2.5M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags text manipulation utilities, string processing helpers, text wrapping and trimming, prefix suffix removal, text formatting utilities, case insensitive comparison, line continuation handling, comment processing, text-utilities, string-processing [View on SkillFed](https://skillfed.io/packages/jaraco-text) · [View on PyPI](https://pypi.org/project/jaraco-text/)