awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
LuminosoInsight avatar

LuminosoInsight/python-ftfy

0
View on GitHub↗
4,043 stele·126 fork-uri·Python·2 vizualizăriftfy.readthedocs.org↗

Python Ftfy

python-ftfy este o bibliotecă de reparare a textului Unicode concepută pentru a remedia mojibake-ul și erorile de codare. Oferă utilitare pentru detectarea codării octeților, decodarea entităților HTML și recuperarea textului corupt pentru a-l restaura la forma Unicode dorită.

Proiectul se distinge printr-un pipeline de decodare pe mai multe straturi care identifică și inversează amestecurile complexe de codare. Utilizează detectarea bazată pe euristică pentru a rezolva cazurile în care textul a fost decodat folosind codec-ul greșit pe mai multe straturi de corupere și poate gestiona variante UTF-8 non-standard și mapări de codare neglijente.

Biblioteca acoperă, de asemenea, o gamă largă de sarcini de standardizare a textului, inclusiv normalizarea Unicode, standardizarea întreruperilor de linie și expansiunea ligaturilor latine. Include capabilități pentru normalizarea lățimii caracterelor și eliminarea escape-urilor de terminal și a caracterelor de control.

O interfață în linie de comandă este disponibilă pentru a automatiza detectarea și repararea erorilor Unicode din fișiere.

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.

Istoric stele

Graficul istoricului de stele pentru luminosoinsight/python-ftfyGraficul istoricului de stele pentru luminosoinsight/python-ftfy

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Python Ftfy

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Python Ftfy.
  • rspeer/python-ftfyAvatar rspeer

    rspeer/python-ftfy

    4,043Vezi pe 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
    Vezi pe GitHub↗4,043
  • pemistahl/grexAvatar pemistahl

    pemistahl/grex

    8,135Vezi pe 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
    Vezi pe GitHub↗8,135
  • crazyguitar/pysheeetAvatar crazyguitar

    crazyguitar/pysheeet

    8,150Vezi pe 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
    Vezi pe GitHub↗8,150
  • commonmark/commonmark-specAvatar commonmark

    commonmark/commonmark-spec

    5,105Vezi pe 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
    Vezi pe GitHub↗5,105
Vezi toate cele 30 alternative pentru Python Ftfy→

Întrebări frecvente

Ce face luminosoinsight/python-ftfy?

python-ftfy este o bibliotecă de reparare a textului Unicode concepută pentru a remedia mojibake-ul și erorile de codare. Oferă utilitare pentru detectarea codării octeților, decodarea entităților HTML și recuperarea textului corupt pentru a-l restaura la forma Unicode dorită.

Care sunt principalele funcționalități ale luminosoinsight/python-ftfy?

Principalele funcționalități ale luminosoinsight/python-ftfy sunt: Mojibake Detectors, Mojibake Detection, Multi-Layer Decoders, Character Encoding Detectors, Encoding Recovery Tools, Mojibake Repair Utilities, Encoding Mix-up Repair, Inconsistent Encoding Repair.

Care sunt câteva alternative open-source pentru luminosoinsight/python-ftfy?

Alternativele open-source pentru luminosoinsight/python-ftfy includ: 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…