Subcategories
Packages
Converts markdown documents to plain text by stripping formatting and rendering only the text content.
Provides a unified Python interface to download, parse, and iterate over information retrieval benchmarks and training datasets (documents, queries, relevance judgments) from many public sources.
Install it if you work with information retrieval datasets or need to prototype ranking models against standard benchmarks.
A MkDocs plugin that includes content from Markdown files or other file types into your documentation using template directives, with support for filtering by delimiters, rewriting relative URLs, and including from remote URLs.
Install it if you want to reduce documentation duplication in MkDocs.
Sphinx extension that automatically generates Open Graph metadata tags for documentation pages, enabling proper preview rendering when documentation links are shared on social media.
Python wrapper for Google's Tesseract OCR engine that extracts text from images in multiple formats and languages, supporting various output types including plain text, bounding boxes, PDFs, and HOCR.
Parses JavaScript source code into an abstract syntax tree (AST) compatible with esprima.js, supporting ECMAScript 5.1 and parts of ECMAScript 6.
However, avoid it for modern JavaScript projects that rely on ES6+ features, and be aware that bugs or Python compatibility issues will not be fixed.
Parse, modify, and compose SRT subtitle files with support for broken or malformed files and Asian-style formats.
Converts text in any script to Latin alphabet romanization, supporting multiple languages with context-aware character mappings and optional language codes.
However, the dormant maintenance status (no activity for 777 days) means you should verify that its romanization rules and Unicode support remain adequate for your…
chonkie-core splits text at semantic boundaries (periods, newlines, custom delimiters) into fixed-size chunks, returning zero-copy memoryview objects with configurable size and splitting behavior.
Install it if you need to chunk text for RAG or NLP workflows.
Converts strings between any case format (camelCase, snake_case, kebab-case, PascalCase, CONST_CASE, and others) with automatic case detection and acronym awareness, supporting Unicode characters.
Install it if you need case conversion; it's lightweight and reliable.
imgkit wraps the wkhtmltoimage command-line tool to convert HTML (from URLs, files, or strings) into image files using the Webkit rendering engine.
However, do not use it in production without understanding that no upstream maintenance is available—if wkhtmltoimage itself breaks or you encounter bugs in imgkit,…
Parses incomplete or malformed JSON strings into valid Python objects, handling truncated structures and optional JSON5 syntax extensions.
A Markdown extension that converts inline Graphviz diagram definitions into embedded SVG or PNG images during document rendering.
However, maintenance is dormant (last release 2025-01-27), so verify compatibility with your specific Markdown and generator versions before relying on it for…
Extracts plain text or structured blocks, lines, and spans from PDFs via a command-line tool or Python API, built on pypdfium2 with Apache licensing.
Converts Python Exception instances into formatted, human-readable error messages with customizable templates and optional debug context.
However, maintenance is dormant—no updates since 2023-09-17—so it is best suited for projects that do not require ongoing support or new features.
Parses JSON strings that contain JavaScript-style comments (single-line, multi-line, and inline) and trailing commas, which the standard library json module cannot handle.
Searches for multiple substrings in text or bytes using the Aho-Corasick algorithm, returning match positions and matched patterns with configurable overlap and matching strategies.
Provides sparse and dense text encoders for converting documents and queries into vectors compatible with Pinecone's hybrid search, supporting BM25, SPLADE, Sentence Transformers, and OpenAI embeddings.
Implements a dozen string similarity and distance algorithms including Levenshtein, Jaro-Winkler, Longest Common Subsequence, and cosine similarity for comparing text strings.
However, do not install if you require active maintenance, bug fixes, or support for Python versions beyond 3.9—the last release was 2021-09-10 with no commits since…
borb reads, writes, and manipulates PDF files using a pure Python implementation with a JSON-like document model, supporting content creation, metadata management, and page layout.
Sphinx extension that lets you include and render Markdown files within reStructuredText documentation, converting Markdown to reStructuredText format on the fly.
Wraps the C++ implementation of google-diff-match-patch to perform fast string and byte comparisons, returning diff operations or patches.
Converts Python tokens back into source code while preserving original whitespace, unlike the standard library's tokenize.untokenize() which loses formatting.
Validates regular expressions against RFC 9485 I-Regexp, an interoperable regex format designed for portability across systems and languages.
However, the 689-day gap since release and lack of recent commits suggest limited active development; verify that the package still meets your compliance needs before…
Converts strings between different naming conventions (camelCase, snake_case, kebab-case, PascalCase, MACRO_CASE, and others) with configurable delimiters and punctuation handling.
Install it if you need case conversion; the only caveat is that updates are infrequent, so verify it handles your specific edge cases before relying on it in production.
A fast, Rust-backed tokenizer library that encodes and decodes text using BPE, WordPiece, and Unigram algorithms, compatible with HuggingFace tokenizer models.
Queries JSON data using RFC 9535 JSONPath expressions, returning matched values with their locations and parent references.
However, note the 257-day gap since last release—maintenance appears inactive, so consider this if you need active bug fixes or feature development.
Provides Python bindings to the Oniguruma regex engine via CFFI, enabling pattern matching and searching with Oniguruma's regex features.
CleverCSV detects CSV file dialects automatically and provides a drop-in replacement for Python's csv module, plus a command-line tool for standardizing messy CSV files and generating import code.
Pyap detects and parses postal addresses from unstructured text, extracting structured address components for US, Canadian, and British addresses using pattern matching.
Extracts text from documents in multiple formats (PDF, Word, PowerPoint, Excel, images, email) with a single unified interface.
YAKE extracts keywords from text documents using unsupervised statistical methods, requiring no training data, external corpus, or language-specific dictionaries.
The copyleft license requires careful review if you plan proprietary use.
Python binding for MeCab, a morphological analyzer that tokenizes and parses Japanese text into grammatical components like parts of speech and base forms.
However, verify that MeCab system dependencies and dictionaries are available in your environment, and be aware the package is aging—check whether it meets your…
PTable formats tabular data into visually appealing ASCII tables, supporting row-by-row or column-by-column data entry, CSV import, and database cursor integration.
Hachoir parses and displays binary files as a tree of typed fields, letting you inspect and edit individual bits, bytes, and structures within any binary stream.
Cheetah3 is a template engine and code generator that transforms template files into Python, HTML, C++, Java, SQL, and other output formats.
Provides detailed Unicode character properties and metadata from the Unicode Character Database with human-readable aliases, as an alternative to Python's standard library unicodedata module.
No, not recommended for new projects.
A Sphinx theme that extends PyData Sphinx Theme with NVIDIA branding and styling for documentation projects.
However, the proprietary license is restrictive—verify that your project qualifies as a 'NVIDIA product or service' before committing.
A pytest plugin that generates test outcome reports formatted as markdown tables, with options for verbosity, custom columns from test marks, execution duration tracking, and multiple markdown flavors.
A MkDocs plugin that extracts and displays the git authors of the current lines in a markdown page using git blame, showing who last modified the surviving code.