soupsieve
CSS selector implementation for BeautifulSoup to query HTML and XML documents.
Used in agent projects
39
0.3% of 12,697 public repos built with AI coding agents
Rank in scraping, browsers and parsing
#9 of 16
by use in those projects
Downloads
70.4M
PyPI, last 7 days, soupsieve
GitHub stars
271
last push Oct 10, 2026
How soupsieve is used
soupsieve is a dependency in 39 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #9 of 16 in scraping, browsers and parsing. The most used alternative there is Beautiful Soup. Projects that use it most often also use Beautiful Soup (100.0%), Requests (92.3%), charset-normalizer (89.7%).
Often used with soupsieve
| Beautiful Soup | 100.0% of soupsieve projects · 79.4× more than average |
|---|---|
| Requests | 92.3% of soupsieve projects · 17.4× more than average |
| charset-normalizer | 89.7% of soupsieve projects · 72.1× more than average |
| urllib3 | 87.2% of soupsieve projects · 57.4× more than average |
| websockets | 76.9% of soupsieve projects · 34.2× more than average |
By coding agent
| GitHub Copilot | 0.4% of projects set up for it |
|---|---|
| Claude Code | 0.3% of projects set up for it |
| Cursor | 0.4% of projects set up for it |
Share of public repos configured for each agent that list soupsieve as a dependency.
Install
| Package | pip install soupsieve |
|---|---|
| Main stacks | Python (37), Next.js (2) |
| Example projects | microsoft/edge-ai, siiway/NextBridge, mikegianfelice/Hunter, Desamod/PawsBot, AndreAugusto11/XChainDataGen |
Alternatives to soupsieve
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Beautiful Soup pypi Python HTML/XML parsing and screen-scraping library for web data extraction. |
160 (1.3%) | 69M | — | MIT License |
| Puppeteer npm Headless Chrome/Chromium automation for scraping, testing and screenshot generation. |
115 (0.9%) | 11.4M | 95.7K | Apache-2.0 |
| lxml pypi High-performance XML and HTML processing library combining libxml2/libxslt with Python. |
98 (0.8%) | 88.4M | 3,065 | BSD-3-Clause |
| Cheerio npm jQuery-like syntax for parsing and manipulating HTML/XML with server-side speed. |
94 (0.7%) | 26.6M | 30.5K | MIT |
| Playwright (Python) pypi High-level Python API for automating browser testing and web scraping. |
68 (0.5%) | 26M | 15K | — |
| fast-xml-parser npm High-performance XML parser and builder without native dependencies. |
58 (0.5%) | 83.3M | 3,139 | MIT |
| csv-parse npm Parse CSV files using Node.js streaming Transform API for memory-efficient processing. |
51 (0.4%) | 20.6M | 4,280 | MIT |
| Playwright Core npm Headless browser automation library for cross-browser testing and web scraping. |
49 (0.4%) | 122M | 97.4K | Apache-2.0 |