26 个仓库
Tools for parsing, searching, and modifying markup documents.
Explore 26 awesome GitHub repositories matching part of an awesome list · HTML and XML Processing. Refine with filters or upvote what's useful.
Pup is a command line tool for extracting and filtering data from HTML documents using CSS selectors. It functions as a parser and selector engine that isolates specific elements based on tags, IDs, classes, and attributes. The project provides utilities for converting selected HTML nodes into plain text, attribute values, or structured JSON objects. It includes a markup formatter that corrects missing tags and applies consistent indentation to improve the readability of HTML documents. The tool handles the retrieval of text content and attributes through a CSS selector engine, supporting co
Query HTML pages with CSS selectors.
htmlq is a suite of command-line utilities for querying and extracting data from HTML documents using CSS selectors. It functions as a query language tool for HTML structures and attributes, providing a way to retrieve specific information from documents via the terminal. The tool provides capabilities for extracting text content, specific HTML attributes, and document fragments. It includes an HTML document formatter for cleaning and reformatting output with consistent indentation, as well as utilities for stripping tags to isolate plain text. The software handles structural HTML processing
Query HTML documents using CSS selectors.
Hamcrest PHP is a declarative assertion framework and matcher library used for unit testing in PHP. It provides a set of flexible matchers to verify object states, data types, and collection contents. The library includes specialized tools for XML verification using XPath expressions to analyze document structures and element content. It also allows for the creation of complex validation rules by combining multiple independent matchers through logical operators. The framework covers a broad range of validation primitives, including string content inspection, numeric comparison, and object pr
Provides specialized tools for XML verification using XPath expressions to analyze document structures.
Webhook.site is a web-based tool that captures, inspects, and debugs incoming HTTP requests and emails sent to a unique URL, without requiring any server setup. It also functions as an API mocking and response modification tool, capable of generating mock APIs from OpenAPI specifications and altering HTTP responses, headers, and status codes for testing purposes. Beyond inspection, it serves as a platform for webhook automation and workflow orchestration, triggering multi-step automations—including database queries, SSH commands, and HTTP calls—when a webhook is received. The service distingu
Applies XPath queries to XML or HTML documents and saves results as variables.
Apache Hive is a SQL-on-Hadoop data warehouse that enables querying and managing petabytes of data stored in distributed storage such as HDFS and cloud storage services. It provides a familiar SQL interface for batch analytics and reporting, supported by a core set of components including the HiveServer2 Thrift service for remote query execution, the Hive Metastore Service for central metadata management, the Hive ACID Transaction Engine for concurrent read-write operations, and the Hive LLAP Interactive Engine for low-latency analytical processing. The WebHCat REST API offers an HTTP interfac
Extracts values from XML data using XPath expressions within SQL queries.
xmltodict 是一个 Python 库,提供 XML 文档与字典之间的双向序列化功能。它既是一个将标记化输入转换为键值对的解析器,也是一个将字典转换回结构化 XML 文档的序列化工具。 该项目包含一个增量流处理器,使用基于深度的回调来处理大型 XML 文件,同时保持恒定的内存占用。它具有用于映射前缀和声明的命名空间管理器,以及一个安全清理器,可阻止外部实体扩展并验证元素名称以防止注入攻击。 该库提供了数据类型强制功能,例如强制将特定元素表示为列表(无论子元素数量如何)。它还支持通过用户定义的回调进行数据后处理,并为转换过程中的命名空间扩展、折叠或跳过提供了可配置的控制选项。
Handling XML data with JSON-like syntax.
PMD 是一种多语言静态代码分析器,用于在不执行程序的情况下识别编程缺陷、未使用的变量和死代码。它作为代码异味检测器和编码标准执行器,确保源代码遵循特定的命名约定、结构要求和项目风格指南。 该项目具有基于 XPath 的规则引擎,允许用户使用针对抽象语法树的查询来定义自定义分析模式。它还包括一个复制粘贴检测器,用于识别跨多个文件的重复代码块,以及一个用于创建和测试自定义检测模式的可视化规则设计器。 分析范围涵盖了错误检测、识别可维护性问题以减少技术债务,以及验证测试实现。它还提供了识别过于复杂的方法和过多参数列表的功能。
Uses XML path language to locate specific nodes or patterns within the AST for rule validation.
Scraperr 是一个自托管的 Web 抓取和爬虫平台,旨在通过 XPath 选择器从网站提取结构化数据。它作为一个容器化系统,通过队列管理抓取任务,并使用人工智能分析结果内容。 该项目的特色在于其 Kubernetes 原生架构,允许通过包管理器进行可扩展的部署和管理。它包括一个能够进行域名级爬取的爬虫引擎,以及一个使用人工智能查询提取出的 Web 内容的数据分析器。 该平台涵盖了广泛的功能,包括自动化数据提取、批量 Web 爬取和媒体文件下载。它提供了将抓取数据可视化为表格、配置自定义请求头以模拟浏览器身份,以及将结果导出为 CSV 或 Markdown 格式的工具。 该应用支持通过 Kubernetes 部署配置进行自定义安装参数和版本更新。
Uses XPath selectors to precisely target and extract specific data elements from web pages.
pugixml 是一个轻量级的 C++ XML 解析器和基于 DOM 的库,用于解析、操作和保存 XML 文档。它提供了一个便携式工具集,用于从文件、字符串或内存缓冲区读取 XML 数据,并将其转换为内存中的文档对象模型。 该库包含一个专用的 XPath 1.0 引擎,用于通过路径表达式提取特定节点和数据。它通过可定制的内存管理脱颖而出,允许将堆操作重定向到用户定义的分配函数,并能够执行就地缓冲区解析以减少内存分配。 其功能涵盖 XML 数据操作(如插入或删除节点和属性),以及用于将结构化数据导出到流或文件的文档序列化。该项目还提供通过迭代器和 Walker 对象进行树遍历的机制,以及用于重定向输出目标的 Writer 接口。
Executes compiled XPath 1.0 queries to extract data values from XML documents.
GeneralNewsExtractor is a specialized system for identifying and extracting structured news data through configurable HTML filtering and XPath-based parsing. It functions as an automated news scraper and web page content parser that isolates article bodies and metadata from news webpages. The system uses YAML or JSON configuration files to manage extraction rules and XPath definitions, decoupling the processing logic from site-specific selectors. This allows for targeted noise removal and the isolation of titles, authors, and publication dates through customizable filtering. The tool covers
Uses precise XPath rules and configuration files to target specific elements for consistent data collection.
Tika is a content analysis toolkit and Java library designed for detecting and extracting metadata and text from thousands of different file types. It functions as a universal document text extractor and metadata extraction engine, converting complex files into plain text or XHTML. The system employs a specialized MIME type detector that identifies document formats using magic bytes and metadata to determine the correct parser. It serves as an OCR integration gateway, connecting to external text recognition tools to extract content from image files. The project covers a broad range of extrac
Retrieves specific segments of extracted XHTML content by executing XPath queries against parse results.
The lxml XML toolkit for Python
High-performance library for processing XML and HTML documents.
A library for converting HTML into PDFs using ReportLab
Conversion tool for HTML/CSS to PDF.
A jquery-like library for python
HTML parsing library with jQuery-like syntax.
Standards-compliant library for parsing and serializing HTML documents and fragments in Python
Standard-compliant parsing and serialization of HTML.
A pure Python HTML5 parser that just works. No C extensions to compile. No system dependencies to install. No complex API to learn.
Parses HTML5 documents using a pure Python implementation.
Safely add untrusted strings to HTML/XML markup.
Safe string handling for HTML/XML markup.
Converts XML to Python objects
Conversion of XML documents into Python objects.
Pythonic HTML Parsing for Humans™
Human-friendly HTML parsing and scraping.
A tiny CSS parser
Provides a low-level CSS parser and generator.