{"categories":[{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"pyquery lets you query and manipulate XML and HTML documents using a jQuery-like API, built on lxml for fast parsing and transformation.","skillfed_tags":["web-scraping","html-parsing","dom-manipulation"],"use_cases":["Web scraping: extract data from HTML pages using CSS selectors instead of XPath expressions","HTML template manipulation: modify or generate HTML documents programmatically before serving","XML document transformation: query and rewrite XML files with a simpler API than raw lxml","Form data extraction: serialize form elements according to spec using built-in methods","DOM testing: verify HTML structure and content in automated tests with jQuery-like assertions"],"what_it_does":"pyquery is a Python wrapper around lxml that mimics jQuery's API for querying and manipulating XML and HTML documents. Instead of writing XPath or raw lxml code, you write familiar jQuery-style selectors and method chains to find elements, extract text, modify attributes, and transform DOM structures. It's particularly useful for web scraping and HTML parsing tasks where you want the convenience of jQuery syntax without leaving Python.\n\nThe library loads documents from strings, files, URLs, or existing lxml trees, then lets you traverse and modify them using pseudo-classes like :first, :last, :even, :odd, and :has(). Recent versions (2.0+) introduced breaking changes around URL auto-fetching and cssselect compatibility, so existing code may need updates when upgrading.","worth_installing":"Yes. pyquery is actively maintained, has no known vulnerabilities, installs with low friction, and offers genuine convenience for HTML/XML work if you're comfortable with jQuery syntax. The permissive BSD license poses no barrier. Check release notes for breaking changes if upgrading from versions before 2.0."},"id":"pyquery","links":{"html":"https://skillfed.io/packages/pyquery","md":"https://skillfed.io/packages/pyquery.md","pypi":"https://pypi.org/project/pyquery/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-27","license_spdx":null,"license_treatment":"permissive","name":"pyquery","python_support":"unspecified","summary":"A jquery-like library for python"},"popularity":{"monthly_downloads":1986642,"position":3385,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
