Skip to main content

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

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)

Uploaded Source

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

Hashes for xpath-parser-0.0.2.tar.gz
Algorithm Hash digest
SHA256 18f555358e99165a2503306f5b554460f8dd5b155e15ef36723c352bab934a99
MD5 62e2fb5cbba0a0a319112df62d8bf8bb
BLAKE2b-256 3112221c4128145f992caa0cf21135dffdaa963e7768bb450f0962ac137a5e20

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 file

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page