🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

cssselect

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssselect

cssselect parses CSS3 Selectors and translates them to XPath 1.0

1.3.0
100

Supply Chain Security

100

Vulnerability

100

Quality

100

Maintenance

100

License

Maintainers
3

=================================== cssselect: CSS Selectors for Python

.. image:: https://img.shields.io/pypi/v/cssselect.svg :target: https://pypi.python.org/pypi/cssselect :alt: PyPI Version

.. image:: https://img.shields.io/pypi/pyversions/cssselect.svg :target: https://pypi.python.org/pypi/cssselect :alt: Supported Python Versions

.. image:: https://github.com/scrapy/cssselect/actions/workflows/tests.yml/badge.svg :target: https://github.com/scrapy/cssselect/actions/workflows/tests.yml :alt: Tests

.. image:: https://img.shields.io/codecov/c/github/scrapy/cssselect/master.svg :target: https://codecov.io/github/scrapy/cssselect?branch=master :alt: Coverage report

cssselect is a BSD-licensed Python library to parse CSS3 selectors_ and translate them to XPath 1.0_ expressions.

XPath 1.0_ expressions can be used in lxml_ or another XPath engine to find the matching elements in an XML or HTML document.

Find the cssselect online documentation at https://cssselect.readthedocs.io.

Quick facts:

  • Source, issues and pull requests on GitHub <https://github.com/scrapy/cssselect>_
  • Releases on PyPI <https://pypi.org/project/cssselect/>_
  • Install with pip install cssselect

.. _CSS3 selectors: https://www.w3.org/TR/selectors-3/ .. _XPath 1.0: https://www.w3.org/TR/xpath/all/ .. _lxml: https://lxml.de/

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts