awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
LuminosoInsight avatar

LuminosoInsight/python-ftfy

0
View on GitHub↗
4,043 estrellas·126 forks·Python·3 vistasftfy.readthedocs.org↗

Python Ftfy

python-ftfy es una biblioteca de reparación de texto Unicode diseñada para arreglar mojibake y fallos de codificación. Proporciona utilidades para la detección de codificación de bytes, decodificación de entidades HTML y la recuperación de texto corrupto para restaurarlo a su forma Unicode prevista.

El proyecto se distingue a través de un pipeline de decodificación de múltiples capas que identifica y revierte mezclas de codificación complejas. Utiliza detección basada en heurística para resolver casos donde el texto fue decodificado usando el códec incorrecto a través de múltiples capas de corrupción, y puede manejar variantes de UTF-8 no estándar y mapeos de codificación descuidados.

La biblioteca también cubre una amplia gama de tareas de estandarización de texto, incluyendo normalización Unicode, estandarización de saltos de línea y la expansión de ligaduras latinas. Incluye capacidades para la normalización del ancho de caracteres y la eliminación de escapes de terminal y caracteres de control.

Está disponible una interfaz de línea de comandos para automatizar la detección y reparación de fallos Unicode dentro de archivos.

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.

Historial de estrellas

Gráfico del historial de estrellas de luminosoinsight/python-ftfyGráfico del historial de estrellas de luminosoinsight/python-ftfy

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Python Ftfy

Proyectos open-source similares, clasificados según cuántas características comparten con Python Ftfy.
  • rspeer/python-ftfyAvatar de rspeer

    rspeer/python-ftfy

    4,043Ver en 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
    Ver en GitHub↗4,043
  • pemistahl/grexAvatar de pemistahl

    pemistahl/grex

    8,135Ver en 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
    Ver en GitHub↗8,135
  • crazyguitar/pysheeetAvatar de crazyguitar

    crazyguitar/pysheeet

    8,150Ver en 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
    Ver en GitHub↗8,150
  • commonmark/commonmark-specAvatar de commonmark

    commonmark/commonmark-spec

    5,105Ver en 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
    Ver en GitHub↗5,105
Ver las 30 alternativas a Python Ftfy→

Preguntas frecuentes

¿Qué hace luminosoinsight/python-ftfy?

python-ftfy es una biblioteca de reparación de texto Unicode diseñada para arreglar mojibake y fallos de codificación. Proporciona utilidades para la detección de codificación de bytes, decodificación de entidades HTML y la recuperación de texto corrupto para restaurarlo a su forma Unicode prevista.

¿Cuáles son las características principales de luminosoinsight/python-ftfy?

Las características principales de luminosoinsight/python-ftfy son: Mojibake Detectors, Mojibake Detection, Multi-Layer Decoders, Character Encoding Detectors, Encoding Recovery Tools, Mojibake Repair Utilities, Encoding Mix-up Repair, Inconsistent Encoding Repair.

¿Qué alternativas de código abierto existen para luminosoinsight/python-ftfy?

Las alternativas de código abierto para luminosoinsight/python-ftfy incluyen: 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…