scrapy/parsel
Parsel lets you extract data from XML/HTML documents using XPath or CSS selectors observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 99
- Release rhythm 68
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 4149
- days_rel: 216
- days_push: 8
- n_releases_24m: 4
Adoption not part of the score
1352 stars · 168 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Parsel is a BSD-licensed Python library for extracting data from HTML, XML, and JSON documents using CSS selectors, XPath expressions, JMESPath, and regular expressions. It is built on lxml and serves as the selector engine behind the Scrapy framework.
Use cases
- extract data from html with css selectors
- parse xml documents with xpath in python
- scrape links and text from web pages
- query json embedded in html with jmespath
- extract values from html using regular expressions
- build a web scraper selector layer
When to choose
- you need CSS or XPath extraction from HTML/XML in Python
- you want a lightweight standalone alternative to full Scrapy
- you need to query JSON with JMESPath alongside HTML parsing
When to avoid
- you need a full crawling framework with scheduling and pipelines
- you are parsing non-HTML/XML formats like binary documents
- you need JavaScript-rendered page content
Facets
library · maturity active
parser web-scraping web-development crawlers developer-tools python cross-platform xpath css-selectors html-parsing xml-parsing jmespath lxml scrapy
2 sources
- readme: https://github.com/scrapy/parsel · fetched 2026-08-28 · c0dfe547375d
- registry_pypi: https://pypi.org/pypi/parsel/json · fetched 2026-08-29 · 5d2d8e154d9b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| scrapy/parsel | main | 88 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem