cssselect2
CSS selector parser for Python ElementTree to query and manipulate XML/HTML documents.
Scraping, browsers and parsing PyPI BSD
How cssselect2 is used
cssselect2 is a dependency in 1 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 66 projects, and what it is used with below comes from all of them. The most used alternative in our scan is soupsieve (18 projects). Projects that use it most often also use CFFI (100.0%), NumPy (98.5%), attrs (97.0%).
cssselect2 popularity over time
Gid Score 51: downloads 88, use in agent projects 45, GitHub stars 0, downloads trend 59 (each 0-100). How it is calculated.
Often used with cssselect2
| CFFI | 100.0% of cssselect2 projects · 155.2× more than average |
|---|---|
| NumPy | 98.5% of cssselect2 projects · 16.9× more than average |
| attrs | 97.0% of cssselect2 projects · 140.0× more than average |
| charset-normalizer | 97.0% of cssselect2 projects · 89.8× more than average |
| Click | 97.0% of cssselect2 projects · 38.8× more than average |
| Jinja2 | 95.5% of cssselect2 projects · 43.9× more than average |
| lxml | 95.5% of cssselect2 projects · 75.0× more than average |
| packaging | 95.5% of cssselect2 projects · 65.1× more than average |
From all 66 projects in our scan that use cssselect2, including the dependency samples.
How cssselect2 is funded
Open Collective: CourtBouillon
| Received, last 12 months | $9,942 Oct 2025 – Sep 2026 |
|---|---|
| Estimated annual budget | €11,499 Open Collective's estimate |
| Balance | $4,024 |
| Raised since the start | $62,071 · $58,047 paid out |
| Typical month median, last 12 months | $766 · $863 over 24 months |
| Last 12 months vs the 12 before | -23% |
| Contributors, last 12 months | 26 |
Top company backers all time, 25 companies in total
| Spacinov | €14,800 since Jan 2022 |
|---|---|
| Kobalt | €5,563 since Feb 2022 |
| Grip Angebotssoftware | €3,380 since Apr 2021 |
| Simonsoft | €2,160 since Oct 2020 |
| Menutech | €2,040 since Nov 2020 |
Oct 2021Sep 2026
Money by month, last five years. First money received in Oct 2020. The typical month is the median: one big one-off donation does not move it.
The same collective is named by 5 more tools in our catalog: WeasyPrint, Pyphen, pydyf, tinyhtml5, CairoSVG.
USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Europe. Source
Ways to fund cssselect2
Open Collective
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | pip install cssselect2 |
|---|---|
| Main stacks | Python (65), Next.js (1) |
| Example projects | assafelovic/gpt-researcher, Paper2Poster/Paper2Poster, YuhangChen1/Paper2All, AutoLab-SAI-SJTU/AutoPage, GeotrekCE/Geotrek-admin |
Alternatives to cssselect2
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside cssselect2 are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| soupsieve pypi CSS selector implementation for BeautifulSoup to query HTML and XML documents. |
62 | 18 (1.1%) | 75M | 270 | MIT |
More in Scraping, browsers and parsing: Beautiful Soup Puppeteer lxml Playwright Core Playwright (Python) Cheerio fast-xml-parser jsonc-parser