Open Source Text Processing Tools

Text processing covers methods for transforming, analyzing, and formatting written data. It helps address tasks such as cleaning inconsistent input, detecting character encodings, splitting text into meaningful units, extracting structured information, comparing strings, and converting between formats. These operations support applications ranging from content management and search to language analysis and everyday command-line workflows.

Open source tools in this area include libraries for parsing, segmentation, normalization, markup conversion, and string comparison, as well as utilities for editing text in files or streams. When choosing a tool, consider its license, maintenance activity, documentation, language and runtime requirements, performance, and compatibility with existing systems. These tools are useful for developers, data practitioners, content teams, and anyone building workflows that handle text.

12 repositories · updated August 30, 2026

Python-Markdown: A Versatile Python Implementation for Markdown to HTML Conversion

Python-Markdown: A Versatile Python Implementation for Markdown to HTML Conversion

Python-Markdown is a robust Python implementation of John Gruber's Markdown, offering extensive support for standard Markdown syntax. It stands out with its powerful extension system, allowing users to add custom features and modify existing behaviors. This makes it a versatile tool for converting Markdown text into HTML within Python applications and documentation.

MarkdownMarkdown ParserMarkdown To HTML
Added Aug 30, 2026 View details
chardet: A Fast and Accurate Python Character Encoding Detector

chardet: A Fast and Accurate Python Character Encoding Detector

chardet is a powerful Python library designed for universal character encoding detection. The recently rewritten version 7 offers significant improvements in accuracy and speed, making it a robust solution for identifying text encodings. It provides features like language and MIME type detection, along with a flexible API for various use cases.

PythonCharacter EncodingEncoding Detection
Added Aug 2, 2026 View details
python-Levenshtein: Fast Levenshtein Distance and String Similarity in Python

python-Levenshtein: Fast Levenshtein Distance and String Similarity in Python

python-Levenshtein is a Python C extension module designed for high-performance computation of Levenshtein distance and various string similarity metrics. It provides functions for edit distance, string similarity, approximate median strings, and string sequence/set similarity, supporting both normal and Unicode strings. This library is a crucial tool for applications requiring efficient text comparison and analysis.

PythonLevenshteinString Similarity
Added Aug 1, 2026 View details
pyfiglet: Render ASCII Text into ASCII Art Fonts in Python

pyfiglet: Render ASCII Text into ASCII Art Fonts in Python

pyfiglet is a pure Python port of the classic FIGlet utility, designed to transform ordinary ASCII text into impressive ASCII art fonts. It offers flexibility, allowing users to generate stylized text both from the command line and directly within their Python applications. This tool is ideal for adding unique visual flair to terminal outputs, banners, or creative text displays.

Ascii ArtFigletPython
Added Aug 1, 2026 View details
awesome-slugify: A Flexible Python Slugify Function

awesome-slugify: A Flexible Python Slugify Function

awesome-slugify is a powerful and flexible Python library designed for converting text into clean, URL-friendly slugs. It offers extensive customization options, including separators, case conversion, and length limits. The library also supports unique slug generation and comes with predefined configurations for various languages and use cases.

PythonSlugifyText Processing
Added Jul 31, 2026 View details
Python Slugify: Robust Unicode Slug Generation in Python

Python Slugify: Robust Unicode Slug Generation in Python

Python Slugify is a powerful Python library designed to create clean, URL-friendly slugs from Unicode strings. It offers extensive customization options, including handling HTML entities, setting max lengths, and defining stopwords. This tool ensures your text is properly formatted for web use, supporting various languages and complex character sets.

PythonSlugifyUnicode
Added Jul 31, 2026 View details
pyparsing: A Python Library for Creating PEG Parsers

pyparsing: A Python Library for Creating PEG Parsers

pyparsing is a Python library that offers an alternative to traditional lex/yacc or regular expressions for creating simple grammars. It allows developers to construct parsers directly in Python code, leveraging a Parsing Expression Grammar (PEG) approach. This library simplifies handling common parsing challenges like whitespace, quoted strings, and embedded comments, making text processing more intuitive.

PythonParsingPeg Parsers
Added Jul 30, 2026 View details
python-nameparser: A Robust Python Module for Parsing Human Names

python-nameparser: A Robust Python Module for Parsing Human Names

python-nameparser is a powerful Python module designed to accurately parse human names into distinct components like title, given, middle, family, and suffix. It offers immutable results, flexible configuration, and supports locale-specific parsing, making it an essential tool for text processing and data normalization tasks. The module recently released version 2.0, enhancing its capabilities while maintaining backward compatibility for most existing code.

PythonPython ModuleText Parser
Added Jul 30, 2026 View details
html2text: Convert HTML to Clean, Readable Markdown Text in Python

html2text: Convert HTML to Clean, Readable Markdown Text in Python

html2text is a powerful Python script designed to transform HTML content into clean, easy-to-read plain ASCII text, formatted as valid Markdown. This tool is ideal for developers needing to process web content or convert rich text into a more manageable, structured plain text format. It offers both command-line utility and a flexible Python API for integration into projects.

MarkdownMarkdown ParserPython
Added Jul 25, 2026 View details
Jieba: The Leading Python Library for Chinese Text Segmentation

Jieba: The Leading Python Library for Chinese Text Segmentation

Jieba is a highly popular and efficient Python library designed for Chinese text segmentation. It offers various cutting modes, including accurate, full, and search engine modes, making it versatile for different NLP tasks. With features like custom dictionaries and part-of-speech tagging, Jieba provides a comprehensive solution for processing Chinese text.

PythonNLPChinese Segmentation
Added Mar 31, 2026 View details
scooter: Interactive Find-and-Replace in Your Terminal

scooter: Interactive Find-and-Replace in Your Terminal

`scooter` is an interactive terminal UI application designed for efficient find-and-replace operations. It allows users to recursively search through files or process text from stdin, providing an interactive interface to toggle which instances to replace. Built with Rust, `scooter` delivers fast performance and supports advanced regex features, custom themes, and seamless editor integrations.

RustTerminalCLI
Added Feb 23, 2026 View details
python-ftfy: Effortlessly Fixing Mojibake and Unicode Glitches

python-ftfy: Effortlessly Fixing Mojibake and Unicode Glitches

ftfy is a powerful Python library designed to automatically correct "mojibake" and other common glitches in Unicode text. It intelligently detects and fixes encoding mix-ups, transforming unreadable characters into their intended form. This tool is essential for developers and data scientists working with messy text data, ensuring readability and data integrity.

PythonText ProcessingUnicode
Added Oct 21, 2025 View details

Related topics

OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️