Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

cssselect2

CSS selector parser for Python ElementTree to query and manipulate XML/HTML documents.

Scraping, browsers and parsing PyPI BSD

Used in agent projects
1
0.1% of 1,622 Python repos built with AI coding agents; 66 counting our dependency samples
Gid Score
51 /100
#1438 of 3,794 tools, #47 in scraping, browsers and parsing · ranking
Rank in scraping, browsers and parsing
#89 of 134
by use in those projects
Downloads
13.2M
PyPI, last 7 days, cssselect2
GitHub stars
34
10 forks · last push Oct 17, 2026

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

Top tools by Gid Score

cssselect2: downloads per weekPyPI, cssselect2 12,976,860
cssselect2: GitHub starsKozea/cssselect2 34

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

CFFI100.0% of cssselect2 projects · 155.2× more than average
NumPy98.5% of cssselect2 projects · 16.9× more than average
attrs97.0% of cssselect2 projects · 140.0× more than average
charset-normalizer97.0% of cssselect2 projects · 89.8× more than average
Click97.0% of cssselect2 projects · 38.8× more than average
Jinja295.5% of cssselect2 projects · 43.9× more than average
lxml95.5% of cssselect2 projects · 75.0× more than average
packaging95.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

Most funded tools

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 months26

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

Packagepip install cssselect2
Main stacksPython (65), Next.js (1)
Example projectsassafelovic/gpt-researcher, Paper2Poster/Paper2Poster, YuhangChen1/Paper2All, AutoLab-SAI-SJTU/AutoPage, GeotrekCE/Geotrek-admin

Alternatives to cssselect2

All scraping, browsers and parsing

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 projectsDownloads / wk GitHub starsLicense
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

Is cssselect2 right for your project? Ask AgentGid →