{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"},{"label":"Internet","url":"https://skillfed.io/packages/category/internet/2"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/2"},{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"},{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"selectolax is a fast HTML5 parser with CSS selector support, written in Cython and backed by either the Modest or Lexbor C parsing engines.","skillfed_tags":["web-scraping","html-parsing","performance-critical"],"use_cases":["Extract structured data from web pages during web scraping by querying elements with CSS selectors and reading text or attributes.","Parse and filter large HTML documents quickly when performance is critical, such as processing thousands of pages in batch jobs.","Find elements matching complex CSS selectors including pseudo-classes like `:nth-child` and `:not`, or text-based matching with `:lexbor-contains`.","Build DOM navigation tools that need to traverse parent and sibling nodes after selecting an element.","Replace slower pure-Python HTML parsers in existing projects when parsing becomes a bottleneck."],"what_it_does":"selectolax wraps the Lexbor and Modest C HTML5 parsing engines in Cython to provide a fast, Python-friendly interface for parsing and querying HTML. It supports standard CSS selectors and some extended pseudo-classes (like `:lexbor-contains` for text matching), and exposes parsed nodes with methods to extract text, attributes, and HTML fragments. The package is designed for web scraping and data extraction tasks where parsing speed matters.\n\nThe library has no runtime dependencies and comes as pre-compiled wheels for modern Python versions (3.9\u20133.14) on major platforms. Installation is straightforward on supported configurations; older or edge-case Python versions may require building from source. The Lexbor backend is now preferred over Modest, which is maintained for backward compatibility only.","worth_installing":"Yes. selectolax is actively maintained, has no security vulnerabilities, uses a permissive MIT license, and offers a significant speed advantage over pure-Python HTML parsers for typical web-scraping tasks. Install friction is medium but manageable thanks to pre-built wheels. Choose it if parsing performance matters or if you need CSS selector support; it's a solid, production-ready choice for HTML extraction work."},"id":"selectolax","links":{"html":"https://skillfed.io/packages/selectolax","md":"https://skillfed.io/packages/selectolax.md","pypi":"https://pypi.org/project/selectolax/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-15","license_spdx":"MIT","license_treatment":"permissive","name":"selectolax","python_support":"supports_current","summary":"A fast HTML5 parser with CSS selectors, written in Cython, using Modest and Lexbor engines."},"popularity":{"monthly_downloads":6064384,"position":1976,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.4.11"}
