Cssselect

Latest version: v1.2.0

Safety actively analyzes 621892 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.2.0

-------------

Released on 2022-10-27.

* Drop support for Python 2.7, 3.4-3.6, add support for Python 3.7-3.11.

* Add type annotations (PEP 484 and PEP 561).

* More features from the CSS Selectors Level 4:

* The ``:is()`` pseudo-class.

* The ``:where()`` pseudo-class.

* The ``:has()`` pseudo-class, with some limitations.

* Fix parsing ``:scope`` after a comma.

* Add parentheses to fix condition precedence in some cases.

* Private API changes related to the removal of the Python 2 support:

* Remove ``_unicode`` and ``_unichr`` aliases from ``csselect.parser``.

* Remove ``_basestring`` and ``_unicode`` aliases from ``csselect.xpath``.

* Deprecate ``csselect.xpath._unicode_safe_getattr()`` and change it to just
call ``getattr()``.

* Include tests in the PyPI tarball.

* Many CI additions and improvements.

* Improve the test coverage.

1.1.0

-------------

Released on 2019-08-09.

* Support for the ``:scope`` selector, which allows to access immediate
children of a selector.

* Support for the ``|E`` syntax for type selectors without a namespace.

* A new selector method, ``canonical``, returns the CSS expression of the
selector, as a string.

1.0.3

-------------

Released on 2017-12-27.

* Fix artifact uploads to pypi

1.0.2

-------------

Released on 2017-12-26.

* Drop support for Python 2.6 and Python 3.3.
* Fix deprecation warning in Python 3.6.
* Minor cleanups.

1.0.1

-------------

Released on 2017-01-10.

* Add support for Python 3.6.
* Documentation hosted `on Read the Docs <https://cssselect.readthedocs.io/>`_

1.0.0

-------------

Released on 2016-10-21.

* Add code coverage reports.
* Fix ``:nth-*(an+b)`` pseudo-classes selectors.
(except ``*:nth-child()`` which looks untranslatable to XPath 1.0.)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.