A xpath expression parser
Project description
xpath-parser
a xpath expression parser
Examples
from xpath_parser import XpathExpression
xp1 = XpathExpression("//div[@id='list']/a")
xp2 = XpathExpression("./a/@href")
assert xp1.nodes[-1].name == xp2.nodes[0].name
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xpath-parser-0.0.2.tar.gz
(3.7 kB
view details)
File details
Details for the file xpath-parser-0.0.2.tar.gz
.
File metadata
- Download URL: xpath-parser-0.0.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18f555358e99165a2503306f5b554460f8dd5b155e15ef36723c352bab934a99 |
|
MD5 | 62e2fb5cbba0a0a319112df62d8bf8bb |
|
BLAKE2b-256 | 3112221c4128145f992caa0cf21135dffdaa963e7768bb450f0962ac137a5e20 |