$npx skillfedfor your agent

Text Processing packages

325 packages · page 3 of 9 · 1,074 including subcategories

Subcategories

Packages

editdistance With conditions
PyPI · Text Processing · released Feb 2024

Computes the edit distance (Levenshtein distance) between two sequences using a fast C++ and Cython implementation, supporting strings and any hashable iterables.

However, be aware the repository is archived; no new features or security updates will be released.

permissive licensecompiled wheel · 3.8+abandoned
3.9Mdownloads / mo
parsy Worth it
PyPI · Text Processing · released Sep 2025

Parsy is a parser combinator library that lets you build complex text parsers by combining small, reusable parser functions together in a declarative style.

Install it if you need to parse structured text and prefer a functional, composable approach over regex or hand-rolled parsing logic.

MITpure Python · 3.9+
3.8Mdownloads / mo
chunkr-ai With conditions
PyPI · Text Processing · released Aug 2025

A Python client for the Chunkr document intelligence API that uploads files and images for processing, supporting both synchronous and asynchronous workflows.

However, you depend entirely on the Chunkr backend's availability and the package's aging maintenance status suggests reduced active development—verify that the…

permissive licensepure Python · 3.10+aging
3.8Mdownloads / mo
jaconv Worth it
PyPI · Text Processing · released Feb 2026

jaconv converts between Japanese character types: Hiragana, Katakana, half-width (Hankaku) and full-width (Zenkaku) characters, plus transliteration to and from romanized alphabet.

Install it if you work with Japanese text preprocessing, normalization, or transliteration.

permissive licensepure Python
3.6Mdownloads / mo
pyth3 Skip
PyPI · Text Processing · released Feb 2019

Converts marked-up text between formats including plain text, XHTML, RTF, and PDF, preserving basic structure like paragraphs, headings, lists, and simple tables.

MITpure Pythonabandoned
3.6Mdownloads / mo
textparser With conditions
PyPI · Text Processing · released Jun 2026

A fast text parser library that lets you define grammars using token specs and parsing rules, then parse text into structured parse trees.

Install it if you're building a parser and speed is a priority; skip it if you need error recovery, detailed diagnostics, or support for older Python versions.

MITpure Python · 3.10+
3.5Mdownloads / mo
pytimeparse2 Worth it
PyPI · Text Processing · released May 2023

Parses human-readable time expressions (like '2h32m', '1.2 minutes', '2 days, 4:13:02') into seconds or timedelta objects.

Install it if you need to accept time expressions from users or configuration; skip it if you only work with numeric seconds or strict time formats.

MITpure Python · 3.6+dormant
3.5Mdownloads / mo
docxtpl Worth it
PyPI · Text Processing · released Nov 2025

Generates Word documents (.docx) from templates by embedding Jinja2 tags into a Word document and populating them with context variables at runtime.

Install it if you need to generate Word documents from templates with dynamic content.

copyleftpure Python · 3.7+
3.4Mdownloads / mo
pypandoc-binary Worth it
PyPI · Text Processing · released Mar 2026

pypandoc_binary wraps pandoc, a universal document converter, and bundles the pandoc binary so you can convert between document formats without a separate pandoc installation.

MITcompiled wheel · 3.7+
3.3Mdownloads / mo
types-Pygments With conditions
PyPI · Text Processing · released Jul 2026

Provides type hints for the Pygments syntax highlighting library, enabling static type checkers to validate code that uses Pygments.

Apache-2.0pure Python · 3.10+
3.2Mdownloads / mo
rjsmin With conditions
PyPI · Text Processing · released Oct 2025

rjsmin minifies JavaScript code by removing unnecessary characters while preserving functionality, implemented in Python with optional C acceleration for runtime use.

However, consider the 306-day release gap when evaluating long-term support; if you require active maintenance or are starting a new project, evaluate whether a more…

permissive licensecompiled wheelaging
3.0Mdownloads / mo
tcolorpy Worth it
PyPI · Text Processing · released Dec 2024

Applies ANSI true color and text styles (bold, italic, underline, etc.) to terminal output using hex color codes or named colors.

Install it if you need to add true color and text effects to terminal output; skip it if your application doesn't interact with terminals or if you're already using a…

MITpure Python · 3.9+
2.9Mdownloads / mo
rcssmin With conditions
PyPI · Text Processing · released Oct 2025

RCSSmin minifies CSS by removing spaces, comments, and unnecessary characters while preserving CSS semantics and supporting common CSS hacks.

However, the 306-day gap since the last release and aging maintenance status suggest limited active development; verify that the package still meets your platform and…

permissive licensecompiled wheelaging
2.9Mdownloads / mo
boa-str With conditions
PyPI · Text Processing · released Jul 2017

Converts strings to snake_case by normalizing case, stripping punctuation, and handling camelCase or PascalCase inputs.

However, do not use it if you require ongoing maintenance, support for recent Python versions, or security updates—consider a maintained alternative instead.

MITpure Pythonabandoned
2.8Mdownloads / mo
ast-grep-cli With conditions
PyPI · Text Processing · released Aug 2026

ast-grep-cli is a command-line tool for searching, linting, and rewriting code using abstract syntax tree patterns instead of text matching.

MITcompiled wheel
2.8Mdownloads / mo
whatthepatch Worth it
PyPI · Text Processing · released Nov 2024

Parses and applies patch files in multiple diff formats (unified, context, normal, ed, rcs) and from several source control systems (Git, SVN, CVS).

MITpure Python · 3.9+
2.6Mdownloads / mo
flashtext With conditions
PyPI · Text Processing · released Feb 2018

Extracts or replaces keywords in text using the FlashText algorithm, which is based on Aho-Corasick and Trie data structures and designed to be faster than regex for bulk keyword operations.

MITbuilds from sourceaging
2.6Mdownloads / mo
pdfrw With conditions
PyPI · Text Processing · released Sep 2017

pdfrw reads, writes, and manipulates PDF files in pure Python, supporting operations like merging, subsetting, rotating, and metadata modification without external dependencies.

MITpure Pythondormant
2.5Mdownloads / mo
scrubadub With conditions
PyPI · Text Processing · released Sep 2023

Detects and replaces personally identifiable information (names, emails, phone numbers, credit cards, dates of birth, social security numbers, and more) in free text with anonymized placeholders.

However, maintenance is dormant, so if you need active bug fixes or feature development, evaluate whether the package's current detector coverage meets your needs.

Apache-2.0pure Pythondormant
2.5Mdownloads / mo
jaraco.text Worth it
PyPI · Text Processing · released Jul 2026

Provides utility functions for common text operations including wrapping, substitution, trimming, stripping, prefix/suffix removal, indentation, and case-insensitive comparison.

Install it if you need a collection of common text-processing helpers and are comfortable with a Python 3.10+ requirement.

MITpure Python · 3.10+
2.5Mdownloads / mo
deep-translator With conditions
PyPI · Text Processing · released Jun 2023

Translates text between languages using multiple free translation services (Google, Microsoft, DeepL, Yandex, and others) with automatic language detection and batch processing support.

However, do not rely on it for production systems where translation service availability is critical—the dormant status means breakage from service changes will not…

MITpure Pythondormant1 known vulnerabilities
2.4Mdownloads / mo
jieba With conditions
PyPI · Text Processing · released Jan 2020

Jieba segments Chinese text into words using multiple algorithms (precise, full, and search-engine modes) and supports both simplified and traditional Chinese with custom dictionary injection.

However, install it only if you are working with Chinese text and can verify compatibility with your Python version—the package is dormant and may not work on very…

MITbuilds from sourcedormant
2.4Mdownloads / mo
casefy Worth it
PyPI · Text Processing · released Mar 2025

Casefy converts strings between different casing conventions (camelCase, snake_case, kebab-case, PascalCase, CONST_CASE, and others) with Unicode support and no external dependencies.

MITpure Python · 3.6+aging
2.4Mdownloads / mo
luqum Worth it
PyPI · Text Processing · released Feb 2025

Parses Lucene Query DSL syntax into an abstract syntax tree, enabling inspection, analysis, and transformation of search queries for use with Elasticsearch or custom backends.

Install it if you need to accept Lucene syntax from users and convert it to Elasticsearch or apply custom query logic.

Apache-2.0pure Python
2.4Mdownloads / mo
ansi2html Worth it
PyPI · Text Processing · released Jun 2024

Converts terminal output with ANSI color codes to HTML or LaTeX, preserving colors and formatting for display in browsers or documents.

Install it if you need to convert ANSI-colored terminal output to HTML or LaTeX.

LGPL-3.0-or-laterpure Python · 3.7+
2.3Mdownloads / mo
properdocs Worth it
PyPI · Text Processing · released Mar 2026

ProperDocs is a static site generator that converts Markdown documentation into HTML, configured through a single YAML file and extensible with themes and plugins.

Install it if you need a straightforward static documentation generator; verify the plugin ecosystem and programmatic API match your workflow before committing to it…

BSD-2-Clausepure Python · 3.9+
2.3Mdownloads / mo
usaddress-scourgify Worth it
PyPI · Text Processing · released Aug 2026

Cleans and normalizes US addresses to USPS and RESO standards, converting them to a consistent dictionary format with uppercase fields and standardized abbreviations.

However, verify the license status before production use, as it is currently marked unclear in the metadata.

license unclearpure Python
2.1Mdownloads / mo
jsonnet With conditions
PyPI · Text Processing · released Mar 2026

Jsonnet is a data templating language that evaluates Jsonnet code to produce JSON output, with Python bindings to the original C++ implementation.

However, do not use it to evaluate untrusted Jsonnet code without external sandboxing—the C++ implementation is not hardened.

permissive licensecompiled wheel
2.1Mdownloads / mo
hogql-parser With conditions
PyPI · Text Processing · released Jul 2026

Parses HogQL query expressions and Hog programs into abstract syntax trees, available as a native C++ extension for Python on macOS and Linux.

permissive licensecompiled wheel · 3.10+
2.1Mdownloads / mo
hogql-parser-rs With conditions
PyPI · Text Processing · released Jul 2026

Parses HogQL query expressions into JSON AST format via a hand-rolled Rust parser, delivering 15–50× performance gains over the C++ ANTLR reference implementation.

MITcompiled wheel · 3.12+
2.1Mdownloads / mo
jinja2-ansible-filters With conditions
PyPI · Text Processing · released Jun 2022

Provides a collection of Jinja2 template filters ported from Ansible, including encoding, hashing, path manipulation, JSON/YAML conversion, and regex operations, without requiring Ansible core.

However, do not install if your project is proprietary or closed-source (GPL3 is a blocker), or if you require active maintenance and compatibility updates—the…

copyleftpure Pythonabandoned
2.1Mdownloads / mo
sphinx-tabs Worth it
PyPI · Text Processing · released Mar 2026

A Sphinx extension that adds tabbed content blocks to HTML documentation, supporting basic tabs, grouped tabs with synchronized selection, and syntax-highlighted code tabs.

MITpure Python · 3.10+
2.0Mdownloads / mo
ct3 Worth it
PyPI · Text Processing · released Nov 2025

Cheetah3 is a template engine and code generation tool that processes templates to produce output in various languages including Python, C++, Java, and SQL.

MITcompiled wheel
2.0Mdownloads / mo
bm25s Worth it
PyPI · Text Processing · released Jul 2026

BM25S implements the BM25 ranking algorithm in pure Python with Numpy, enabling fast document retrieval and ranking based on text queries.

Install it if you need to rank documents by text relevance in Python without external services.

MITpure Python · 3.8+
1.9Mdownloads / mo
pylev With conditions
PyPI · Text Processing · released May 2021

Computes the Levenshtein distance between two strings—the minimum number of single-character edits needed to transform one string into another.

BSD-3-Clausepure Pythonabandoned
1.9Mdownloads / mo
pypinyin Worth it
PyPI · Text Processing · released Jul 2025

Converts Chinese characters to pinyin (romanized pronunciation) with support for multiple styles, heteronyms, and tone marks.

Install it if you need to work with Chinese character romanization; the only caveat is that accuracy depends on proper word segmentation and may require custom…

MITpure Python
1.8Mdownloads / mo
vobject Worth it
PyPI · Text Processing · released Dec 2024

Parses and serializes iCalendar and vCard files, converting them to and from Python data structures while handling relevant encodings.

Apache-2.0pure Python
1.7Mdownloads / mo
flpc Skip
PyPI · Text Processing · released Jul 2024

flpc wraps the Rust regex crate to provide faster regular expression matching, searching, and substitution operations than Python's native `re` module, with a similar but slightly modified API.

Install only if you have a short-term, isolated use case where you can afford to fork or maintain it yourself, and you've verified that the performance gain justifies…

permissive licensecompiled wheel · 3.8+abandoned
1.7Mdownloads / mo
ndjson With conditions
PyPI · Text Processing · released Feb 2020

Provides a familiar JSON Lines (ndjson) parser and writer with an API matching Python's built-in json and pickle modules, supporting streaming and file I/O for newline-delimited JSON data.

GPL-3.0-onlypure Pythonabandoned
1.7Mdownloads / mo
better-profanity With conditions
PyPI · Text Processing · released Nov 2020

Detects and censors profanity in text, including leetspeak variations like p0rn and h4NDjob, using fast string comparison instead of regex.

However, maintenance is dormant since 2020-11-02, so the wordlist and codebase are not actively updated.

MITpure Pythondormant
1.7Mdownloads / mo