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

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

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

martinblech/xmltodict

0
View on GitHub↗
5,741 نجوم·473 تفرعات·Python·MIT·12 مشاهدات

Xmltodict

xmltodict هي مكتبة Python توفر تسلسلاً ثنائي الاتجاه بين مستندات XML والقواميس (dictionaries). تعمل كمحلل (parser) يحول المدخلات المرمزة إلى أزواج مفتاح-قيمة، وأداة تسلسل تحول القواميس مرة أخرى إلى مستندات XML مهيكلة.

يتضمن المشروع معالج تدفق تزايدي يستخدم استدعاءات تعتمد على العمق للتعامل مع ملفات XML الكبيرة مع الحفاظ على استهلاك ثابت للذاكرة. يتميز بمدير مساحات أسماء (namespace manager) لتعيين البادئات والإعلانات، بالإضافة إلى مطهر أمني (security sanitizer) يحظر توسيع الكيانات الخارجية ويتحقق من صحة أسماء العناصر لمنع هجمات الحقن.

توفر المكتبة إمكانيات لفرض أنواع البيانات، مثل إجبار عناصر معينة على أن تُمثل كقوائم بغض النظر عن عدد العناصر الفرعية. كما تدعم معالجة البيانات اللاحقة من خلال استدعاءات يحددها المستخدم، وتوفر عناصر تحكم قابلة للتكوين لتوسيع أو طي أو تخطي مساحات الأسماء أثناء عملية التحويل.

Features

  • XML Serialization - Transforms Python dictionaries back into structured, well-formed XML documents with support for namespaces and formatting.
  • XML to Dictionary Mappers - Parses XML trees into nested Python dictionaries by mapping tags to keys and text nodes to values.
  • XML Parsing - Converts marked-up documents into dictionaries using configurable rules for prefixes and whitespace.
  • Stream-Based Parsing - Implements an event-driven streaming parser to handle large XML files with constant memory usage.
  • Stream Processors - Provides an incremental stream processor that handles large XML files with constant memory usage.
  • Large Scale XML Processing - Processes massive XML files incrementally using streaming callbacks to maintain low memory usage.
  • XML Serialization Formats - Generates structured XML files by transforming Python dictionaries into formatted markup.
  • Object-to-XML Mapping - Transforms Python dictionaries into structured XML documents with formatting and list expansion options.
  • XML to JSON Converters - Converts XML documents into nested Python dictionaries, enabling JSON-like manipulation of marked-up data.
  • XML Namespace Management - Manages complex XML namespaces by mapping prefixes and controlling their appearance in converted data.
  • XML Namespace Declarations - Maps XML namespaces to prefixes or collapses them into simplified keys based on configurable rules.
  • Incremental Parsing - Processes large XML files incrementally using callbacks to maintain constant memory usage.
  • Type Enforcement - Enforces specific data types, such as wrapping elements in lists, during the XML parsing process.
  • List Type Enforcement - Forces specific XML elements to be treated as lists even if only a single child exists.
  • XML External Entity Prevention - Blocks the resolution of external entities during parsing to prevent resource exhaustion and injection attacks.
  • XML Processing Security - Implements security measures including external entity blocking and element name validation to prevent XML injection attacks.
  • Data Value Transformations - Provides user-defined callbacks to transform XML values or attributes on the fly during conversion.
  • Namespace Representation Controls - Provides controls to expand, collapse, or skip namespaces during the parsing process.
  • Symmetric Input-Output Mappings - Uses shared transformation rules to enable consistent bidirectional conversion between dictionaries and XML.
  • Data Loading Extraction - Makes XML feel like working with JSON.
  • Documentation and Processing - Tool for converting XML to Python dictionaries.
  • HTML and XML Processing - Handling XML data with JSON-like syntax.

سجل النجوم

مخطط تاريخ النجوم لـ martinblech/xmltodictمخطط تاريخ النجوم لـ martinblech/xmltodict

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

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

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

Start searching with AI

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

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Xmltodict.
  • leonidas-from-xiv/node-xml2jsالصورة الرمزية لـ Leonidas-from-XIV

    Leonidas-from-XIV/node-xml2js

    4,966عرض على GitHub↗

    This project is a Node.js library for bidirectional conversion between XML strings and JavaScript objects. It functions as an XML parser that transforms XML content into structured data and an XML serializer that generates formatted strings from JavaScript data objects. The toolkit includes a data transformer that applies custom processing functions to tags and attributes during the conversion process. It manages XML namespaces and supports the definition of custom root elements to maintain document structure during generation. The system handles XML data parsing, string generation, and name

    CoffeeScript
    عرض على GitHub↗4,966
  • whatwg/htmlالصورة الرمزية لـ whatwg

    whatwg/html

    9,163عرض على GitHub↗

    This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.

    HTMLcanvaseventsourcehtml
    عرض على GitHub↗9,163
  • fb55/htmlparser2الصورة الرمزية لـ fb55

    fb55/htmlparser2

    4,774عرض على GitHub↗

    htmlparser2 is a collection of tools for high-performance markup parsing, DOM manipulation, and incremental stream processing. It functions as an HTML and XML parser that converts markup strings into structured object trees, alongside a streaming markup parser designed for memory-efficient processing of large documents. The project includes a DOM manipulation library for querying, modifying, and serializing document object model trees. It also provides a web feed parser to extract structured metadata and entries from RSS, RDF, and Atom feeds. The library covers broad capabilities in data par

    TypeScript
    عرض على GitHub↗4,774
  • zeux/pugixmlالصورة الرمزية لـ zeux

    zeux/pugixml

    4,590عرض على GitHub↗

    pugixml is a lightweight C++ XML parser and DOM-based library used for parsing, manipulating, and saving XML documents. It provides a portable toolset for reading XML data from files, strings, or memory buffers and converting them into an in-memory document object model. The library includes a dedicated XPath 1.0 engine for extracting specific nodes and data through path expressions. It distinguishes itself through customizable memory management, allowing heap operations to be redirected to user-defined allocation functions, and the ability to perform in-place buffer parsing to reduce memory

    C++
    عرض على GitHub↗4,590
عرض جميع البدائل الـ 30 لـ Xmltodict→

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

ما هي وظيفة martinblech/xmltodict؟

xmltodict هي مكتبة Python توفر تسلسلاً ثنائي الاتجاه بين مستندات XML والقواميس (dictionaries). تعمل كمحلل (parser) يحول المدخلات المرمزة إلى أزواج مفتاح-قيمة، وأداة تسلسل تحول القواميس مرة أخرى إلى مستندات XML مهيكلة.

ما هي الميزات الرئيسية لـ martinblech/xmltodict؟

الميزات الرئيسية لـ martinblech/xmltodict هي: XML Serialization, XML to Dictionary Mappers, XML Parsing, Stream-Based Parsing, Stream Processors, Large Scale XML Processing, XML Serialization Formats, Object-to-XML Mapping.

ما هي البدائل مفتوحة المصدر لـ martinblech/xmltodict؟

تشمل البدائل مفتوحة المصدر لـ martinblech/xmltodict: leonidas-from-xiv/node-xml2js — This project is a Node.js library for bidirectional conversion between XML strings and JavaScript objects. It… whatwg/html — This repository contains the HTML specification, which defines the core standards for web page structuring, content… fb55/htmlparser2 — htmlparser2 is a collection of tools for high-performance markup parsing, DOM manipulation, and incremental stream… zeux/pugixml — pugixml is a lightweight C++ XML parser and DOM-based library used for parsing, manipulating, and saving XML… bpmn-io/bpmn-js — bpmn-js is a browser-based BPMN 2.0 web modeler and rendering engine used for creating, editing, and visualizing… dolanmiu/docx — docx is a JavaScript and TypeScript library for the programmatic generation and manipulation of Word documents. It…