Subcategories
Packages
Tempita is a lightweight templating engine that processes text templates with variable substitution, conditionals, loops, and template inheritance using a simple {{...}} syntax.
Rigour provides data cleaning and validation functions for business-world text: human and company names, language and territory codes, corporate identifiers, and addresses, with production-ready handling of edge cases.
KoNLPy provides Korean natural language processing tools including tokenization, part-of-speech tagging, and linguistic feature extraction by wrapping multiple Korean NLP engines.
Reads and writes CSV files using Python dataclasses, with automatic type conversion, validation, and error reporting tied to specific CSV line numbers.
Install it if you work with CSV files and want type safety and cleaner code than dict-based approaches; skip it only if you need advanced CSV features (e.g.,…
Performs mail merge operations on docx files by replacing merge fields with data, without requiring Microsoft Office to be installed.
Parses and manipulates MediaWiki wikitext markup, extracting and modifying templates, wikilinks, tables, sections, lists, and other wiki elements programmatically.
Converts strings between different text case formats (snake_case, kebab-case, camelCase, PascalCase, etc.) with support for non-ASCII characters and custom word boundaries.
Install it if you need reliable case conversion; the low friction and permissive license make it a safe addition to any project.
Detects and fixes misaligned ASCII art boxes in documentation by validating box-drawing character alignment and automatically correcting width, corner, and border inconsistencies.
Expands POSIX and Bash shell parameter syntax in Python strings without spawning a shell, supporting variable substitution, default values, substring operations, and string replacement.
However, the 1563-day maintenance gap and lack of updates for modern Python versions beyond 3.10 mean you should verify it works with your target environment and have…
Parses, validates, and converts Common Query Language (CQL2) expressions between text, JSON, and SQL formats using a Rust backend.
Provides Python bindings to Windows Runtime (WinRT) optical character recognition APIs, enabling text extraction from images using native Windows OCR capabilities.
Formats dates, numbers, and text according to Reuters Style Guide conventions for use in news and publishing contexts.
However, verify that the specific formatting rules you need are implemented, and be aware that no commits have occurred since 2024-11-01—suitable for stable use cases…
hbutils is a collection of utility modules covering algorithms, data structures, file operations, logging, encoding, reflection, and testing tools for Python infrastructure development.
aeidon reads, writes, and manipulates text-based subtitle files in multiple formats, supporting operations like format conversion and timing adjustment.
Adds structlog processors that format log output with syntax highlighting, JSON/XML prettification, multiline string handling, and numeric rounding for more readable structured logs.
Converts strings between different case formats (camel, kebab, pascal, snake, upper) with lenient input handling that ignores punctuation and whitespace.
rhoknp is a Python binding for Japanese language processing tools (Juman++, KNP, KWJA) that performs morphological analysis, syntactic parsing, and document-level language analysis on Japanese text.
Install it if you are working with Japanese NLP and require access to Juman++, KNP, or KWJA; note that the underlying analysis engines may need separate installation…
Extracts individual characters and metadata from PDF files using PDFium, returning character positions, fonts, colors, and transformation matrices without external dependencies.
However, the aging maintenance status (400 days since release) and lack of visible repository activity suggest limited ongoing support—verify stability for production…
Repairs malformed JSON strings by fixing common syntax errors like unquoted keys, wrong quote types, missing commas, and Python literal values, then optionally extracts JSON objects from surrounding text.
Copybook parses VSAM copybook definitions and extracts field structure and position information to enable parsing of fixed-width data files.
However, do not expect maintenance, bug fixes, or support for new Python versions.
Geotext extracts mentions of countries and cities from unstructured text, returning them as structured data with optional filtering by country code.
However, do not use it if you require current geographic data, active bug fixes, or support for modern Python versions—consider an actively maintained alternative for…
Parses strings and extracts structured data using Grok patterns, a named-capture syntax that simplifies pattern matching without writing complex regular expressions.
Determines Unicode text segmentation boundaries—grapheme clusters, words, sentences, and line breaks—using Unicode Standard Annex rules, and provides text wrapping for console and graphical environments.
Pansi provides a clean interface for rendering text and graphics in the terminal using ANSI escape sequences, with modules for text styling, image rendering, and full-screen layout.
However, note that the project is dormant (no releases in 649 days), so do not expect active maintenance, bug fixes, or updates—suitable for stable use cases but…
Splits text into semantic chunks at delimiters (periods, newlines, custom patterns) using SIMD acceleration for high-throughput processing.
Subroutinizes CFF (Compact Font Format) font files by identifying and extracting repeated glyph outlines into reusable subroutines, reducing file size.
A Python SDK for calling the Datalab API to convert documents to markdown and execute multi-step document processing workflows.
pymarc reads, writes, and modifies MARC21 bibliographic records, the standard format used by libraries to encode catalog metadata.
Install it if you work with library data, need to migrate MARC records, or integrate with library systems.
Spire.Doc creates, reads, modifies, and converts Word documents (DOC, DOCX, DOCM, and related formats) to PDF, images, HTML, RTF, EPUB, and other formats without requiring Microsoft Word.
However, the unclear proprietary license and lack of public license documentation mean you must confirm terms before production use, especially for commercial…
Implements suffix trees and generalized suffix trees in Python, providing data structures for efficient string searching and pattern matching with methods for common applications like longest common substring detection.
Extracts dates, times, emails, phone numbers, links, IP addresses, prices, and other common patterns from text using regex.
Implements 3-way merge of text sequences, combining changes from two independent branches against a common base to produce a merged result with conflict markers.
Detects and redacts personally identifiable information (PII) in text using regex, NER, and optional local LLM layers, replacing sensitive data with reversible pseudonyms while preserving meaning for downstream AI systems.
Parses JSON5 (JSON with comments, trailing commas, unquoted keys) into a concrete syntax tree and converts it back to source or standard JSON while preserving formatting and comments.
However, maintenance is dormant (no updates since May 2023), so if you hit edge cases or need new JSON5 features, you may need to fork or patch it yourself.
A drop-in replacement for Python's `re` module that uses a linear-time regex engine guaranteed safe from ReDoS attacks, while supporting bounded lookarounds that other linear engines omit.
ufoLib2 provides a lightweight, programmatic interface to read and manipulate Unified Font Object (UFO) files, designed for batch processing and fast iteration over font data.
Install it if you're automating font tasks or building font tools.
Python client library for submitting and managing document ingestion and processing jobs to the NVIDIA nv-ingest microservice, with support for extraction, splitting, and other data preparation tasks.
Install only if you have a running nv-ingest microservice instance available and need Python-level control over job submission and task configuration; it is not a…
Extracts text from images on macOS using Apple's Vision framework, returning recognized text with confidence scores and bounding boxes.
PicTex generates high-quality PNG, JPEG, WebP, and SVG images programmatically using CSS Flexbox layouts, powered by Skia graphics rendering and HarfBuzz text shaping.
Matches multiple regex patterns against a string efficiently by using prematchers to filter candidates before full regex evaluation, delivering 2-10x speedups over naïve regex matching.