./textproc/py-elementpath, XPath 1.0/2.0 parsers and selectors for ElementTree and lxml

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.6.0, Package name: py312-elementpath-4.6.0, Maintainer: pkgsrc-users

The proposal of this package is to provide XPath 1.0 and 2.0 selectors for
Python's ElementTree XML data structures, both for the standard ElementTree
library and for the lxml.etree library.

For lxml.etree this package can be useful for providing XPath 2.0 selectors,
because lxml.etree already has it's own implementation of XPath 1.0.


Required to run:
[lang/python310]

Master sites:

Filesize: 347.589 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-18 09:51:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-elementpath: updated to 4.4.0

v4.4.0

* Improve stand-alone XPath functions builder
* Update tokens and parsers __repr__
* Fix static typing protocols to work with etree and XSD elements
   2024-02-18 09:29:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-elementpath: updated to 4.3.0

v4.3.0

* Change the purpose of the evaluation with a dynamic schema context
* Add a tox.ini testenv with Python 3.13 pre-releases
   2024-02-11 12:05:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-elementpath: updated to 4.2.1

v4.2.1

* Fix dynamic context initialization with lxml a non-root element
* Fix XP30+ function fn:function-lookup
* Fix XP30+ fn:unparsed-text, fn:unparsed-text-lines and fn:unparsed-text-available
   2024-02-08 07:20:04 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-elementpath: updated to 4.2.0

v4.2.0

* Drop support for Python 3.7
* Add *uri* and *fragment* options to dynamic context
* Make context root node not mandatory
* Add function objects constructor
   2023-07-31 18:27:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-elementpath: updated to 4.1.5

v4.1.5
* Fix typed value of ElementNode() if self.elem.text is None
   2023-06-26 18:05:55 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-elementpath: updated to 4.1.4

v4.1.4
* Fix select of prefixed names
* Fix zero length *xs:base64Binary*

v4.1.3
* Fix XP30+ fn:path
* Fix weak tests
   2023-05-10 10:58:29 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-elementpath: updated to 4.1.2

v4.1.2
* Add support for Python 3.12
* Fix self shortcut operator (adding is_schema_node() to node classes)
   2023-04-24 12:47:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-elementpath: updated to 4.1.1

v4.1.1
* Simplify type annotations for XSD datatypes
* Full test coverage of sequence type functions with bugfixes

v4.1.0
* Refactor XPath function call (context=None only as keyword argument)
* Add external function support
* Some fixes to string representation and source property of tokens
* Extend documentation and tests
* Clean XSD datatypes hierarchy