awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
LuminosoInsight avatar

LuminosoInsight/python-ftfy

0
View on GitHub↗
4,043 نجوم·126 تفرعات·Python·5 مشاهداتftfy.readthedocs.org↗

Python Ftfy

python-ftfy is a Unicode text repair library designed to fix mojibake and encoding glitches. It provides utilities for byte encoding detection, HTML entity decoding, and the recovery of corrupted text to restore it to its intended Unicode form.

The project distinguishes itself through a multi-layered decoding pipeline that identifies and reverts complex encoding mix-ups. It uses heuristic-based detection to resolve instances where text was decoded using the wrong codec across multiple layers of corruption, and it can handle non-standard UTF-8 variants and sloppy encoding mappings.

The library also covers a broad range of text standardization tasks, including Unicode normalization, line break standardization, and the expansion of Latin ligatures. It includes capabilities for character width normalization and the removal of terminal escapes and control characters.

A command-line interface is available to automate the detection and repair of Unicode glitches within files.

Features

  • Mojibake Detectors - Implements heuristic analysis of character sequences to detect and identify mojibake corruption.
  • Mojibake Detection - Implements heuristic-based detection of mojibake and Unicode encoding glitches.
  • Multi-Layer Decoders - Implements a multi-layered decoding pipeline to sequentially peel back layers of encoding corruption.
  • Character Encoding Detectors - Provides heuristic detection of byte encodings using BOM and UTF-8 validation to identify the correct codec.
  • Encoding Recovery Tools - Identifies and reverts multi-layered encoding errors and incorrect codec applications to restore corrupted text.
  • Mojibake Repair Utilities - Heuristically detects and fixes mojibake and multi-layered encoding glitches to restore intended text.
  • Encoding Mix-up Repair - Provides specialized repair for text corrupted by mismatched single-byte and variable-length encodings.
  • Inconsistent Encoding Repair - Detects and fixes text containing fragments of different encodings embedded together.
  • Mojibake Restoration - Restores text mangled by incorrect encoding cycles to its intended Unicode representation.
  • Unicode Text Repair Libraries - Provides a comprehensive toolset for fixing mojibake and encoding glitches to restore corrupted text.
  • Unicode Normalization - Applies standard Unicode normalization forms to ensure characters and combining marks are represented consistently.
  • Unicode Text Handling - Fixes encoding glitches and mojibake through configurable transformations applied to text segments.
  • Unicode Normalizers - Provides a utility for standardizing line breaks, character widths, and control characters for consistent display.
  • Text Cleaning - Cleans Unicode data by removing terminal escapes and decomposing ligatures to prepare text for analysis.
  • Escape Sequence Decoding - Converts backslashed escape sequences into their corresponding Unicode characters.
  • Line Break Standardization - Converts platform-specific line breaks like CRLF and CR into the standard Unix format.
  • Latin Ligature Decomposers - Decomposes single-character Latin ligatures into individual letters to resolve common copy-paste artifacts.
  • Lossy Encoding Detection - Identifies UTF-8 decoding errors that resulted in lossy replacement characters.
  • Encoding Repair CLIs - Provides a command-line interface to automate the detection and repair of Unicode glitches within files.
  • Character Width Normalizers - Replaces halfwidth and fullwidth forms of ASCII, Katakana, and Hangul characters with standard equivalents.
  • Transformation Analysis - Offers a detailed list of the specific encoding and decoding steps used to repair a string.
  • Non-Standard UTF-8 Decoding - Supports decoding of UTF-8 variants including CESU-8 and Java-style null encodings.
  • Encoding Normalizers - Standardizes inconsistent line breaks, character widths, and control characters for consistent display.
  • HTML Entity Processors - Converts HTML entity references and backslashed escape sequences into their corresponding Unicode characters.
  • Text Processing - Fixes broken Unicode text automatically.

سجل النجوم

مخطط تاريخ النجوم لـ luminosoinsight/python-ftfyمخطط تاريخ النجوم لـ luminosoinsight/python-ftfy

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة luminosoinsight/python-ftfy؟

python-ftfy is a Unicode text repair library designed to fix mojibake and encoding glitches. It provides utilities for byte encoding detection, HTML entity decoding, and the recovery of corrupted text to restore it to its intended Unicode form.

ما هي الميزات الرئيسية لـ luminosoinsight/python-ftfy؟

الميزات الرئيسية لـ luminosoinsight/python-ftfy هي: Mojibake Detectors, Mojibake Detection, Multi-Layer Decoders, Character Encoding Detectors, Encoding Recovery Tools, Mojibake Repair Utilities, Encoding Mix-up Repair, Inconsistent Encoding Repair.

ما هي البدائل مفتوحة المصدر لـ luminosoinsight/python-ftfy؟

تشمل البدائل مفتوحة المصدر لـ luminosoinsight/python-ftfy: rspeer/python-ftfy — This project is a Unicode text repair tool and mojibake correction library designed to fix encoding glitches and… pemistahl/grex — Grex is a regular expression generator and Rust pattern library that synthesizes a single regular expression from a… crazyguitar/pysheeet — pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns… commonmark/commonmark-spec — This project is a formal markdown specification standard that provides a detailed markup syntax definition and a… commonmark/commonmark.js — Commonmark.js is a library designed to parse and render text formatted according to the CommonMark specification. It… coteditor/coteditor — CotEditor is a native macOS plain text editor designed for lightweight file modification and developer use. It is a…

بدائل مفتوحة المصدر لـ Python Ftfy

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Python Ftfy.
  • rspeer/python-ftfyالصورة الرمزية لـ rspeer

    rspeer/python-ftfy

    4,043عرض على GitHub↗

    This project is a Unicode text repair tool and mojibake correction library designed to fix encoding glitches and restore original characters from mangled strings. It functions as a text encoding detector and a Unicode normalization tool to resolve issues where text has been incorrectly decoded. The library specializes in reversing multi-layered encoding errors and repairing complex mojibake patterns. It includes capabilities for detecting lossy encoding sequences, guessing byte encodings, and decoding non-standard UTF-8 variants. The toolset covers a broad range of text cleaning and normaliz

    Python
    عرض على GitHub↗4,043
  • pemistahl/grexالصورة الرمزية لـ pemistahl

    pemistahl/grex

    8,135عرض على GitHub↗

    Grex is a regular expression generator and Rust pattern library that synthesizes a single regular expression from a set of provided text test cases. It functions as a command-line tool and a library, utilizing a Rust-based engine to analyze commonalities across input strings to create matching patterns. The project distinguishes itself through Unicode-aware grapheme processing, ensuring consistent matching across diverse character sets and non-ASCII text. It also provides Python bindings to make its core Rust logic available within Python environments. The system covers pattern generalizatio

    Rustclicommand-line-toolpython
    عرض على GitHub↗8,135
  • crazyguitar/pysheeetالصورة الرمزية لـ crazyguitar

    crazyguitar/pysheeet

    8,150عرض على GitHub↗

    pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns for advanced Python development, system integration, and high-performance computing. It serves as a comprehensive guide for implementing low-level network programming, native C extensions, and asynchronous and concurrent programming. The project provides specialized frameworks for the development and deployment of large language models, including tools for distributed GPU inference and high-performance serving. It also includes detailed patterns for high-performance computing

    Python
    عرض على GitHub↗8,150
  • commonmark/commonmark-specالصورة الرمزية لـ commonmark

    commonmark/commonmark-spec

    5,105عرض على GitHub↗

    This project is a formal markdown specification standard that provides a detailed markup syntax definition and a definitive set of rules for parsing plain text into consistent HTML output. It establishes a standardized grammar for structural blocks and inline elements to ensure uniform rendering across different software implementations. The specification is supported by a parser conformance suite and a reference implementation in C and JavaScript to verify that implementations adhere to the standard. It includes a system for implementation verification that compares transformed input strings

    Python
    عرض على GitHub↗5,105
عرض جميع البدائل الـ 30 لـ Python Ftfy→