Skip to main content

A versatile commandline xpath parser

Project description

# xpe

Finally, a commandline xpath tool that is easy to use.

*What is this?*

xpe is a commandline xpath parser. Pipe in some textual data, supply it with an xpath expression, and it will dump the result to stdout. Perfect for shellscripting. For example:

curl -sL github.com | xpe “//meta[@name=’twitter:title’]”

GitHub: Where the world builds software

Alternatively, xpe can query a file for xpath expressions like so:

xpe ‘//a/@href’ somefile.htm

The order doesn’t matter, so the following is also valid:

xpe somefile.htm ‘//a/@href

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

xpe-1.0.8.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

xpe-1.0.8-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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