cssselect

CSS Selectors for Python

Github星跟蹤圖

===================================
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://img.shields.io/travis/scrapy/cssselect/master.svg
:target: https://travis-ci.org/scrapy/cssselect
:alt: Build Status

.. 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 parses CSS3 Selectors_ and translate them to XPath 1.0_
expressions. Such expressions can be used in lxml_ or another XPath engine
to find the matching elements in an XML or HTML document.

This module used to live inside of lxml as lxml.cssselect before it was
extracted as a stand-alone project.

.. _CSS3 Selectors: https://www.w3.org/TR/css3-selectors/
.. _XPath 1.0: https://www.w3.org/TR/xpath/
.. _lxml: http://lxml.de/

Quick facts:

  • Free software: BSD licensed
  • Compatible with Python 2.7 and 3.4+
  • Latest documentation on Read the Docs <https://cssselect.readthedocs.io/>_
  • Source, issues and pull requests on GitHub <https://github.com/scrapy/cssselect>_
  • Releases on PyPI <http://pypi.python.org/pypi/cssselect>_
  • Install with pip install cssselect

主要指標

概覽
名稱與所有者scrapy/cssselect
主編程語言Python
編程語言Python (語言數: 1)
平台
許可證Other
所有者活动
創建於2012-04-11 08:15:46
推送於2025-04-24 07:23:55
最后一次提交2025-04-24 09:23:55
發布數20
最新版本名稱v1.3.0 (發布於 2025-03-10 14:20:13)
第一版名稱v0.1 (發布於 )
用户参与
星數296
關注者數23
派生數60
提交數376
已啟用問題?
問題數59
打開的問題數17
拉請求數84
打開的拉請求數5
關閉的拉請求數9
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?