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
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
xpe-1.0.8.tar.gz
(3.2 kB
view hashes)
Built Distribution
xpe-1.0.8-py3-none-any.whl
(3.5 kB
view hashes)