$npx skillfedfor your agent

Text Processing packages

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

Subcategories

Packages

junitparser Worth it
PyPI · Text Processing · released Jun 2026

Parse, create, and manipulate JUnit/xUnit test result XML files, including merging multiple reports and supporting extended schemas like xunit2.

Install it if you need to parse, generate, or manipulate JUnit/xUnit XML test reports.

Apache-2.0pure Python · 3.10+
14.1Mdownloads / mo
python-Levenshtein Worth it
PyPI · Text Processing · released Aug 2026

Computes Levenshtein edit distance, string similarity, and approximate median strings through a C extension module for fast string comparison operations.

copyleftpure Python · 3.10+
14.1Mdownloads / mo
pytablewriter Worth it
PyPI · Text Processing · released Jan 2025

Converts tabular data into formatted tables for output in multiple text, binary, and application-specific formats including Markdown, HTML, CSV, JSON, Excel, LaTeX, and SQLite.

Install it if you need to generate formatted tables in any of its supported output formats; skip it only if your use case is limited to a single format where a…

MITpure Python · 3.9+
14.0Mdownloads / mo
netaddr Worth it
PyPI · Text Processing · released May 2024

Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.

BSD-3-Clausepure Python · 3.7+dormant
14.0Mdownloads / mo
pyxlsb With conditions
PyPI · Text Processing · released Oct 2022

Parses Excel 2007-2010 Binary Workbook (xlsb) files and extracts data as rows of cells with values, dates, and positions.

However, do not rely on it for new projects or expect updates—it is abandoned.

LGPL-3.0-or-laterpure Pythonabandoned
11.5Mdownloads / mo
python-bidi Worth it
PyPI · Text Processing · released Jun 2026

Converts bidirectional text (mixed left-to-right and right-to-left scripts) into display order for rendering, with both Python and Rust implementations available.

Install it if you need to display bidirectional text; the LGPL license is standard for text-processing libraries and poses no barrier for most projects.

copyleftcompiled wheel · 3.9+
11.3Mdownloads / mo
thefuzz With conditions
PyPI · Text Processing · released Jan 2024

TheFuzz performs fuzzy string matching using Levenshtein Distance to find approximate matches between text sequences, with support for multiple matching strategies and batch processing.

However, note that it's aging—the last release was in January 2024—so verify whether the maintainers are still actively developing it or if it's in stable maintenance…

MITpure Python · 3.8+aging
10.1Mdownloads / mo
pyhcl With conditions
PyPI · Text Processing · released Sep 2023

Parses HCL (HashiCorp Configuration Language) files into Python dictionaries, providing load/loads/dumps functions similar to the json module.

However, do not use it for modern Terraform (which requires HCL2 support); maintenance is aging with the last release in 2023-09-01, so expect limited support for new…

MPL-2.0pure Pythonaging
9.8Mdownloads / mo
llama-index-readers-llama-parse Skip
PyPI · Text Processing · released Mar 2026

Parses PDF files into structured markdown or text format for use with LlamaIndex, enabling efficient document retrieval and context augmentation in RAG pipelines.

MITpure Python
9.2Mdownloads / mo
rank-bm25 Worth it
PyPI · Text Processing · released Feb 2022

Implements BM25 ranking algorithms (Okapi BM25, BM25L, BM25+) to score and rank documents by relevance to a query.

permissive licensepure Python
8.9Mdownloads / mo
pypandoc Worth it
PyPI · Text Processing · released Mar 2026

Pypandoc wraps pandoc, a universal document converter, letting you convert between document formats (Markdown, HTML, DOCX, PDF, and many others) from Python code.

Install it if you need to convert between document formats from Python code.

MITpure Python · 3.7+
8.8Mdownloads / mo
docx2txt With conditions
PyPI · Text Processing · released Mar 2025

Extracts text, headers, footers, hyperlinks, and images from Microsoft Word .docx files using pure Python, with both command-line and programmatic interfaces.

license unclearpure Pythonaging
8.6Mdownloads / mo
pdfkit With conditions
PyPI · Text Processing · released Nov 2021

Python wrapper for wkhtmltopdf that converts HTML to PDF using the Webkit rendering engine, supporting URLs, files, and HTML strings as input.

permissive licensepure Pythondormant2 known vulnerabilities
7.8Mdownloads / mo
striprtf Worth it
PyPI · Text Processing · released Apr 2026

Converts Rich Text Format (RTF) files to plain text, stripping formatting and control codes to produce readable output suitable for parsing and processing.

Install it if you need to process RTF files; skip it if your documents are already in plain text or modern formats.

BSD-3-Clausepure Python · 3.8+
7.5Mdownloads / mo
stringcase With conditions
PyPI · Text Processing · released Aug 2017

Converts strings between different naming conventions (camelCase, snake_case, PascalCase, kebab-case, and others) with a simple function-per-case API.

However, the package is abandoned (last release 2017-08-06) and may fail on modern Python versions or edge cases.

permissive licensebuilds from sourceabandoned
7.5Mdownloads / mo
ebcdic With conditions
PyPI · Text Processing · released Mar 2026

Registers additional EBCDIC character encoding codecs for Python, enabling encode/decode operations with legacy mainframe systems that use EBCDIC character sets.

BSD-2-Clausepure Python · 3.9+
7.5Mdownloads / mo
mbstrdecoder Worth it
PyPI · Text Processing · released May 2026

Decodes multi-byte character strings by detecting their encoding and converting them to Unicode, using chardet for automatic codec detection.

Install it if you need to reliably convert encoded bytes to Unicode without knowing the source encoding in advance.

MITpure Python · 3.10+
7.4Mdownloads / mo
firecrawl-py Worth it
PyPI · Text Processing · released Aug 2026

Client library for the Firecrawl API that scrapes, crawls, and searches the web, returning clean Markdown or structured data; also indexes research papers from PubMed, bioRxiv, medRxiv, and arXiv.

MITpure Python · 3.8+
7.3Mdownloads / mo
jq Worth it
PyPI · Text Processing · released Jul 2026

Python bindings for jq 1.8.2 that let you compile and execute jq programs against JSON data, with multiple input and output methods.

permissive licensecompiled wheel · 3.8+
7.0Mdownloads / mo
compressed-rtf With conditions
PyPI · Text Processing · released Mar 2025

Compresses and decompresses Rich Text Format (RTF) data using the LZFu compression algorithm, implementing the Microsoft RTF Compression format.

However, maintenance is aging with no recent updates; verify that it meets your RTF variant requirements before relying on it for new projects.

MITpure Pythonaging
6.7Mdownloads / mo
pyfiglet Worth it
PyPI · Text Processing · released Aug 2025

Renders ASCII text as ASCII art using a variety of fonts, available both as a command-line tool and a Python library.

Install it if you need ASCII art text rendering in Python or at the command line; the low friction and stable API make it a straightforward addition to any project.

MITpure Python · 3.9+
6.7Mdownloads / mo
partial-json-parser Worth it
PyPI · Text Processing · released Nov 2025

Parses incomplete JSON strings generated by LLM streaming, extracting usable data before the full response arrives, and can complete partial JSON to valid syntax.

permissive licensepure Python · 3.6+
6.4Mdownloads / mo
jinja2-humanize-extension Worth it
PyPI · Text Processing · released Sep 2023

Adds humanize library filters to Jinja2 templates, enabling human-readable formatting of numbers, dates, times, and file sizes directly in template expressions.

BSD-3-Clausepure Python · 3.0+
6.4Mdownloads / mo
unicodecsv Skip
PyPI · Text Processing · released Sep 2015

Drop-in replacement for Python 2.7's csv module that handles Unicode strings natively, eliminating encoding errors when reading and writing CSV data.

BSD-3-Clausebuilds from sourcedormant
6.3Mdownloads / mo
python-calamine Worth it
PyPI · Text Processing · released Jul 2026

Reads Excel and ODF spreadsheet files via a Python binding to the Rust calamine library, returning sheet data as Python lists or compatible with pandas.

MITcompiled wheel · 3.10+
6.3Mdownloads / mo
selectolax Worth it
PyPI · Text Processing · released Jul 2026

selectolax is a fast HTML5 parser with CSS selector support, written in Cython and backed by either the Modest or Lexbor C parsing engines.

MITcompiled wheel
6.1Mdownloads / mo
pysbd With conditions
PyPI · Text Processing · released Feb 2021

Detects sentence boundaries in text using rule-based heuristics, splitting paragraphs into individual sentences while handling edge cases like abbreviations and decimal points.

However, do not install if you need active maintenance, multi-language support, or assurance of ongoing bug fixes.

MITpure Python · 3+abandoned
5.8Mdownloads / mo
encutils With conditions
PyPI · Text Processing · released Apr 2026

Provides encoding and character detection utilities, building on chardet to handle text encoding operations.

However, it is brand-new (first release 2026-04-19) with minimal public documentation and only 1 star on GitHub.

LGPL-3.0-or-laterpure Python · 3.10+
5.6Mdownloads / mo
interegular With conditions
PyPI · Text Processing · released Jan 2024

Interegular checks whether pairs of Python regular expressions can match overlapping strings, converting regex patterns to finite-state machines to detect intersections.

MITpure Python · 3.7+dormant
5.2Mdownloads / mo
diff-match-patch Worth it
PyPI · Text Processing · released Oct 2024

Provides diff, match, and patch algorithms for comparing plain text, finding fuzzy matches, and applying patches—originally built for Google Docs and now maintained as a Python port of Google's Diff Match and Patch library.

Install it if you need robust diff, match, or patch operations for plain text—it's a well-established tool with low friction and proven algorithms.

Apache-2.0pure Python · 3.7+dormant
4.8Mdownloads / mo
polyleven With conditions
PyPI · Text Processing · released Feb 2026

Polyleven computes Levenshtein distance between two strings using a fast C implementation, with optional threshold support to skip expensive comparisons.

license unclearcompiled wheel · 3.8+aging
4.7Mdownloads / mo
docling-parse Worth it
PyPI · Text Processing · released Aug 2026

Extracts text, coordinates, and bitmap images from programmatic PDFs with support for character, word, and line-level granularity, offering both sequential and multi-threaded parsing modes.

MITcompiled wheel · 3.10+
4.6Mdownloads / mo
datefinder With conditions
PyPI · Text Processing · released Mar 2026

Datefinder extracts date and time expressions from unstructured text and converts them into datetime objects or typed match objects with confidence and span information.

MITcompiled wheel · 3.9+
4.5Mdownloads / mo
llama-index-readers-file Worth it
PyPI · Text Processing · released Mar 2026

Provides file loaders that parse documents in multiple formats (PDF, DOCX, images, CSV, HTML, Markdown, and others) into structured data for indexing and retrieval.

Install it if you need to ingest documents from multiple file types.

MITpure Python
4.4Mdownloads / mo
xhtml2pdf With conditions
PyPI · Text Processing · released Feb 2025

Converts HTML and CSS to PDF documents using Python, enabling developers with web skills to generate PDF templates without learning specialized PDF libraries.

However, the aging maintenance status (last release 537 days ago) warrants caution in production: verify that its rendering quality and feature set meet your specific…

Apache-2.0pure Python · 3.8+aging
4.3Mdownloads / mo
python-iso639 Worth it
PyPI · Text Processing · released Jul 2026

Maps ISO 639 language codes (639-1, 639-2, 639-3) to language names and metadata, with methods to look up or guess a language from any code or name format.

Apache-2.0pure Python · 3.10+
4.2Mdownloads / mo
sacrebleu Worth it
PyPI · Text Processing · released Jan 2026

SacreBLEU computes BLEU, chrF, and TER scores for machine translation evaluation with automatic test set management and reproducible, comparable results across systems.

Install it if you work with machine translation evaluation, benchmark scoring, or need comparable BLEU/chrF/TER metrics across systems.

Apache-2.0pure Python · 3.9+
4.1Mdownloads / mo
jsonpath-rw Skip
PyPI · Text Processing · released Apr 2015

Parses and executes JSONPath expressions against JSON data, returning matched values and their full paths within the document structure.

No, not for new projects.

Apache-2.0builds from sourceabandoned
4.1Mdownloads / mo
regress With conditions
PyPI · Text Processing · released Oct 2025

Provides Python bindings to the Rust regress crate for ECMA-compliant regular expression matching, offering an alternative regex engine to Python's built-in re module.

However, the aging maintenance status and Beta classification mean you should verify that ECMA regex behavior is actually required for your use case—Python's built-in…

MITcompiled wheel · 3.10+aging
4.1Mdownloads / mo
pyunormalize With conditions
PyPI · Text Processing · released Sep 2025

Provides Unicode normalization (NFC, NFD, NFKC, NFKD) using Unicode Standard version 17.0 data, independent of the host Python environment's built-in Unicode version.

Install it if your application requires consistent normalization across different systems or if you need to target a specific Unicode Standard version.

permissive licensepure Python · 3.8+aging
4.1Mdownloads / mo