Metadata-Version: 2.1
Name: xpe
Version: 1.0.6
Summary: A versatile commandline xpath parser
Home-page: https://github.com/charmparticle/xp
Author: github.com/charmparticle
Author-email: UNKNOWN
License: BSD 3-Clause License
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Dist: lxml
Requires-Dist: chardet

# xpe

*Finally, a commandline xpath tool for linux 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'


