Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scrapy/cssselect
CSS Selectors for Python
https://github.com/scrapy/cssselect
css hacktoberfest python selectors
Last synced: 3 months ago
JSON representation
CSS Selectors for Python
- Host: GitHub
- URL: https://github.com/scrapy/cssselect
- Owner: scrapy
- License: other
- Created: 2012-04-11T08:15:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T11:54:06.000Z (11 months ago)
- Last Synced: 2024-03-25T20:02:03.392Z (8 months ago)
- Topics: css, hacktoberfest, python, selectors
- Language: Python
- Homepage: https://cssselect.readthedocs.io/
- Size: 420 KB
- Stars: 281
- Watchers: 23
- Forks: 60
- Open Issues: 21
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
===================================
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
`_
* Releases `on PyPI `_
* 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/