Skip to content
r.

soupsieve

facelessuser/soupsieve · Public GitHub repository

A modern CSS selector implementation for BeautifulSoup

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

soupsieve live demo screenshot
Captured from the live demo · 2026-11-06

About this project

Author-written excerpt from the project README.

[][donate-link] [][codecov-link] [][pypi-link] [][pypi-link] [][pypi-link] [][license-link]

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. It aims to provide selecting, matching, and filtering using modern CSS selectors. Soup Sieve currently provides selectors from the CSS level 1 specifications up through the latest CSS level 4 drafts and beyond (though some are not yet implemented).

Soup Sieve was written with the intent to replace Beautiful Soup's builtin select feature, and as of Beautiful Soup version 4.7.0, it now is :confettiball:. Soup Sieve can also be imported in order to use its API directly for more controlled, specialized parsing.

Requirements and intended audience

[][donate-link] [][codecov-link] [][pypi-link] [][pypi-link] [][pypi-link] [][license-link]

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-20. Source: https://github.com/facelessuser/soupsieve/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-04. Saved release: 2.10 · 2026-09-24. These dates do not guarantee ongoing maintenance.

Technologies
Python
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-06. This does not test every feature.

Browse related categories