|
Metadata-Version: 2.0
|
|
Name: cssselect
|
|
Version: 1.0.3
|
|
Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0
|
|
Home-page: https://github.com/scrapy/cssselect
|
|
Author: Paul Tremberth
|
|
Author-email: paul.tremberth@gmail.com
|
|
License: BSD
|
|
Description-Content-Type: UNKNOWN
|
|
Platform: UNKNOWN
|
|
Classifier: Development Status :: 4 - Beta
|
|
Classifier: Intended Audience :: Developers
|
|
Classifier: License :: OSI Approved :: BSD License
|
|
Classifier: Programming Language :: Python :: 2
|
|
Classifier: Programming Language :: Python :: 2.7
|
|
Classifier: Programming Language :: Python :: 3
|
|
Classifier: Programming Language :: Python :: 3.4
|
|
Classifier: Programming Language :: Python :: 3.5
|
|
Classifier: Programming Language :: Python :: 3.6
|
|
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.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://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``
|
|
|
|
|