Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Download files

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

Files for xpath-parser, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size xpath-parser-0.0.2.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page