$npx skillfedfor your agent

Text Processing packages

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

Subcategories

Packages

regex Worth it
PyPI · Text Processing · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Text Processing · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo
brotli Worth it
PyPI · Text Processing · released Nov 2025

Provides Python bindings to the Brotli compression library, enabling lossless compression and decompression using a modern LZ77 variant with Huffman coding and context modeling.

Install it if you need Brotli compression in Python; the API is straightforward and the library is battle-tested.

permissive licensecompiled wheel
94.7Mdownloads / mo
llama-parse With conditions
PyPI · Text Processing · released Feb 2026

LlamaParse parses complex documents (PDFs, Word, Excel, PowerPoint, HTML) into structured text, markdown, or JSON optimized for RAG and LLM workflows, with built-in support for tables, images, and custom parsing instructions.

MITpure Pythonaging
94.4Mdownloads / mo
Sphinx Worth it
PyPI · Text Processing · released Dec 2025

Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.

BSD-2-Clausepure Python · 3.12+
91.8Mdownloads / mo
python-slugify Worth it
PyPI · Text Processing · released Feb 2024

Converts text strings—including unicode, HTML entities, and special characters—into URL-safe slugs with customizable separators, length limits, and word boundaries.

MITpure Python · 3.7+
89.2Mdownloads / mo
ipython-pygments-lexers With conditions
PyPI · Text Processing · released Jan 2025

Provides Pygments syntax highlighters for IPython code, console sessions, and special syntax like magics and shell commands.

BSD-3-Clausepure Python · 3.8+aging
78.6Mdownloads / mo
nltk Worth it
PyPI · Text Processing · released Aug 2026

NLTK is a Python library for natural language processing tasks including tokenization, parsing, tagging, and linguistic analysis, with built-in datasets and educational resources.

Install it if you need foundational NLP tools, linguistic datasets, or are learning the field; consider specialized libraries (spaCy, transformers) if you need…

Apache-2.0pure Python · 3.10+
74.1Mdownloads / mo
pdfminer.six Worth it
PyPI · Text Processing · released Jan 2026

Extracts text, images, and layout information from PDF documents by parsing the PDF source code directly, supporting modern PDF specifications and various encodings.

MITpure Python · 3.10+
72.5Mdownloads / mo
humanize Worth it
PyPI · Text Processing · released Jun 2026

Converts numbers, dates, times, and file sizes into human-readable text formats, with support for fuzzy durations like "3 minutes ago" and localization to multiple languages.

Install it if you need to display human-readable numbers, durations, or sizes to end users.

MITpure Python · 3.10+
72.4Mdownloads / mo
pdfplumber Worth it
PyPI · Text Processing · released Jun 2026

Extract detailed information about text characters, rectangles, lines, and tables from machine-generated PDFs, with visual debugging support.

Not recommended for scanned image-based PDFs.

MITpure Python · 3.8+
62.8Mdownloads / mo
json5 With conditions
PyPI · Text Processing · released Jun 2026

Parses and writes JSON5 data format, which extends JSON with JavaScript-style comments, unquoted keys, trailing commas, and single-quoted strings.

Apache-2.0pure Python · 3.8.0+
56.8Mdownloads / mo
prettytable Worth it
PyPI · Text Processing · released Jun 2026

PrettyTable formats and displays tabular data as visually structured ASCII tables, with support for multiple output formats including HTML, JSON, CSV, LaTeX, and MediaWiki markup.

Install it if you need to display structured data in terminals, logs, or text-based reports.

BSD-3-Clausepure Python · 3.10+
56.6Mdownloads / mo
langchain-text-splitters Worth it
PyPI · Text Processing · released Apr 2026

Splits text documents into chunks using a variety of strategies, designed to work with LangChain's language model pipelines.

MITpure Python
48.4Mdownloads / mo
dateparser Worth it
PyPI · Text Processing · released Aug 2026

Parses dates from text in multiple languages and formats, handling both absolute dates and relative expressions like "3 days ago" or "next month".

Install it if you need to parse dates from unstructured text or HTML; skip it if you only work with standardized, single-format date strings.

BSD-3-Clausepure Python · 3.10+
47.8Mdownloads / mo
pyphen Worth it
PyPI · Text Processing · released Aug 2026

Pyphen hyphenates text in multiple languages using Hunspell dictionaries included with the package, enabling proper word breaks for text layout and formatting.

Install it if you need reliable hyphenation for text layout or formatting.

GPL-2.0-or-laterpure Python · 3.10+
35.5Mdownloads / mo
parsedatetime With conditions
PyPI · Text Processing · released May 2020

Parses human-readable date and time strings (like "tomorrow" or "next Friday") into structured time values and Python datetime objects.

Apache-2.0pure Python
35.0Mdownloads / mo
pytimeparse With conditions
PyPI · Text Processing · released May 2018

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

MITpure Python
34.2Mdownloads / mo
Unidecode Worth it
PyPI · Text Processing · released Apr 2025

Converts Unicode text to ASCII-safe representations by transliterating non-ASCII characters to their closest ASCII equivalents, useful for generating URL slugs, legacy system integration, and keyboard-friendly identifiers.

Install it if you need lossy Unicode-to-ASCII conversion and can accept GPLv2+ copyleft terms.

GPL-2.0-or-laterpure Python · 3.7+aging
32.8Mdownloads / mo
sphinxcontrib-serializinghtml With conditions
PyPI · Text Processing · released Jul 2024

A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.

BSD-3-Clausepure Python · 3.9+dormant
30.5Mdownloads / mo
sphinxcontrib-htmlhelp With conditions
PyPI · Text Processing · released Jul 2024

A Sphinx extension that generates HTML help files from reStructuredText documentation source.

BSD-3-Clausepure Python · 3.9+dormant
27.7Mdownloads / mo
sphinxcontrib-qthelp With conditions
PyPI · Text Processing · released Jul 2024

A Sphinx extension that converts documentation source files into QtHelp format, enabling integration with Qt-based help systems and documentation viewers.

However, be aware that maintenance is dormant—if you rely on it long-term, monitor Sphinx compatibility and consider whether QtHelp remains the right format for your…

BSD-3-Clausepure Python · 3.9+dormant
27.6Mdownloads / mo
sphinxcontrib-applehelp With conditions
PyPI · Text Processing · released Jul 2024

Sphinx extension that generates Apple help books from reStructuredText documentation.

However, verify that Apple help format output remains compatible with your target macOS versions, and be aware that dormant maintenance means bug fixes or format…

BSD-3-Clausepure Python · 3.9+dormant
27.6Mdownloads / mo
sphinxcontrib-devhelp With conditions
PyPI · Text Processing · released Jul 2024

A Sphinx extension that generates Devhelp documentation output format, allowing Sphinx-built documentation to be read in the Devhelp help viewer.

BSD-3-Clausepure Python · 3.9+dormant
27.6Mdownloads / mo
sphinxcontrib-jsmath Skip
PyPI · Text Processing · released Jan 2019

A Sphinx extension that renders mathematical display equations in HTML output using JavaScript.

BSD-3-Clausepure Python · 3.5+abandoned
26.6Mdownloads / mo
natsort Worth it
PyPI · Text Processing · released Jun 2023

natsort provides natural sorting for strings containing numbers, ordering them by numeric value rather than lexicographic order—so '10' comes after '9' instead of after '1'.

Install it if you need to sort strings containing numbers in a human-readable way.

MITpure Python · 3.7+
26.0Mdownloads / mo
texttable With conditions
PyPI · Text Processing · released Oct 2023

Creates formatted ASCII tables for console output with support for alignment, data types, cell wrapping, and optional CJK text and emoji rendering via optional dependencies.

However, maintenance is dormant—no updates in over 1000 days—so consider it for stable, low-change use cases only.

MITpure Pythondormant
25.1Mdownloads / mo
pytesseract Worth it
PyPI · Text Processing · released Aug 2024

Pytesseract wraps Google's Tesseract-OCR engine to extract text from images in Python, supporting multiple languages and output formats including plain text, bounding boxes, PDFs, and HOCR.

Apache-2.0pure Python · 3.8+
24.7Mdownloads / mo
Levenshtein Worth it
PyPI · Text Processing · released Aug 2026

Levenshtein computes string edit distances, similarities, and related operations like approximate string averaging through a C extension for fast performance.

Install it if you need edit-distance operations and can accept the GPL-2.0-or-later copyleft requirement; avoid it if your project must remain proprietary without GPL…

GPL-2.0-or-latercompiled wheel · 3.10+
22.3Mdownloads / mo
pathvalidate Worth it
PyPI · Text Processing · released Jun 2025

Sanitize and validate filenames and file paths by removing or replacing invalid characters, reserved names, and unprintable characters across multiple platforms (Linux, Windows, macOS, POSIX, and universal).

Install it if you need reliable filename or path validation across platforms; the low friction and clear API make it a straightforward addition to any project…

MITpure Python · 3.9+
20.6Mdownloads / mo
amazon-ion With conditions
PyPI · Text Processing · released Jun 2026

Parses and serializes Amazon Ion, a self-describing data format that extends JSON with richer type support and binary encoding, using a Python API modeled on the standard library's json module.

permissive licensecompiled wheel · 3.9+
19.5Mdownloads / mo
mkdocs Worth it
PyPI · Text Processing · released Aug 2024

MkDocs generates static HTML documentation sites from Markdown source files, configured via a single YAML file, with support for themes, plugins, and Markdown extensions.

Install it if you need to generate static documentation from Markdown with minimal configuration; skip it if you require cutting-edge feature development or need…

BSD-3-Clausepure Python · 3.8+aging
17.6Mdownloads / mo
bashlex With conditions
PyPI · Text Processing · released Jan 2023

bashlex parses bash shell syntax into an abstract syntax tree (AST), supporting complex constructs like command and process substitutions that standard tools like shlex cannot handle.

GPL-3.0-or-laterpure Pythondormant
16.5Mdownloads / mo
google-re2 With conditions
PyPI · Text Processing · released Nov 2025

A drop-in replacement for Python's re module that uses Google's RE2 engine for pattern matching, trading some PCRE features for guaranteed linear-time performance.

BSD-3-Clausecompiled wheelaging
16.1Mdownloads / mo
fuzzywuzzy Worth it
PyPI · Text Processing · released Feb 2020

FuzzyWuzzy performs fuzzy string matching using Levenshtein distance to find approximate matches between text sequences, with optional speedup via an external C library.

However, do not adopt it for new projects requiring active maintenance or Python version support beyond 3.6.

GPL-2.0-onlypure Pythonabandoned
15.8Mdownloads / mo
ftfy With conditions
PyPI · Text Processing · released Oct 2024

Detects and fixes mojibake (garbled Unicode text caused by encoding mismatches) and recovers correctly-encoded text from multiple layers of encoding corruption.

permissive licensepure Python · 3.9+dormant
14.5Mdownloads / mo