Skip to main content

XPath for DOM trees

Project description

py-dom-xpath is a pure Python implementation of XPath 1.0. It
supports almost all XPath 1.0, with the main exception being the
namespace axis. It operates on DOM 2.0 nodes, and works well with
xml.dom.minidom, but also with other xml.dom implementations.

py-dom-xpath-six is a version of py-dom-xpath that is compatible with Python
3.6 and later. It is a fork of py-dom-xpath-redux, which in turn is a fork of
the original py-dom-xpath.

Changes in 0.2.4:
- Fix compatibility issue with Python 3
- Got rid of Python 2 support
- Minor changes to update to newer standards for pypi, etc.

Changes in 0.2.3:
- Optimized sorting of nodesets in document order: do only at end of expression.

Here is the original README file:

py-dom-xpath is a pure Python implementation of XPath 1.0. It
supports almost all XPath 1.0, with the main exception being the
namespace axis. It operates on DOM 2.0 nodes, and works well with
xml.dom.minidom.

py-dom-xpath requires Python 2.5 or greater.

py-dom-xpath uses the Yapps 2 parser generator by Amit J. Patel.
Portions of of Yapps 2 are included in this distribution, to avoid
introducing external dependencies.

py-dom-xpath was developed at Nominum. Nominum has graciously
permitted the author to release it under the MIT license.

For further details, visit the project home page at:

http://code.google.com/p/py-dom-xpath/


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-dom-xpath-six-0.2.4.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

py_dom_xpath_six-0.2.4-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file py-dom-xpath-six-0.2.4.tar.gz.

File metadata

  • Download URL: py-dom-xpath-six-0.2.4.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.7.3 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for py-dom-xpath-six-0.2.4.tar.gz
Algorithm Hash digest
SHA256 7b85ac43ae5aba75913517adf871f509c68a8d3fea1586ace92bc44b36cc68cf
MD5 14bf9b9d4a3f9cebd1e6c40bfb0265cf
BLAKE2b-256 fa279b190ecfeb517b10efbb4c8f215ba889a7966c6f5511d4793d9af6e9fd8d

See more details on using hashes here.

File details

Details for the file py_dom_xpath_six-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: py_dom_xpath_six-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.7.3 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for py_dom_xpath_six-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2b45da053eb1c17cdde12bcb2edcf72e8621fd3a159352f35972f384120e140d
MD5 b682d9f4f7d2bfdb6dd888fa29023d2c
BLAKE2b-256 00d94694e251288b7b268f11883bdbc43a63e3715014a7f47363ed314cc45cc3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page