{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"},{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"},{"label":"XML","url":"https://skillfed.io/packages/category/text-processing-markup-xml"}],"enrichment":{"capability":"Parsel extracts data from HTML, JSON, and XML documents using CSS selectors, XPath expressions, JMESPath queries, and regular expressions.","skillfed_tags":["web-scraping","data-extraction","markup-parsing"],"use_cases":["Web scraping: extract product names, prices, and links from e-commerce HTML pages.","API response parsing: pull nested data from JSON responses using JMESPath expressions.","XML document processing: extract fields from structured XML feeds or configuration files.","Data cleaning pipelines: apply CSS or XPath rules to normalize and extract text from HTML documents.","Testing web scrapers: validate that selectors correctly target expected elements before deploying.","Log or markup analysis: search and extract patterns from HTML or XML logs using regular expressions."],"what_it_does":"Parsel is a data extraction library that wraps HTML, JSON, and XML documents in a unified selector interface. It lets you query documents using CSS selectors and XPath expressions for markup, JMESPath for JSON, and regular expressions across all formats. The library is commonly used in web scraping pipelines and data processing workflows where you need to pull structured information from semi-structured documents.\n\nThe package depends on lxml for markup parsing, cssselect for CSS-to-XPath translation, jmespath for JSON queries, w3lib for URL/encoding utilities, and packaging for version handling. It supports modern Python versions (3.10 through 3.14) and both CPython and PyPy implementations. The API is straightforward: create a Selector from text, then chain method calls like .css() or .xpath() to navigate and extract data.","worth_installing":"Yes. Parsel is actively maintained, widely used (top 5000 PyPI), has no known vulnerabilities, and offers a clean API for a common task. Install it if you need to extract data from HTML, XML, or JSON documents in a Python application. The low install friction and permissive license make it a straightforward choice."},"id":"parsel","links":{"html":"https://skillfed.io/packages/parsel","md":"https://skillfed.io/packages/parsel.md","pypi":"https://pypi.org/project/parsel/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-29","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"parsel","python_support":"supports_current","summary":"Parsel is a library to extract data from HTML and XML using XPath and CSS selectors"},"popularity":{"monthly_downloads":4934763,"position":2196,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.11.0"}
