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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file xpe-1.0.8.tar.gz.

File metadata

  • Download URL: xpe-1.0.8.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.27.1 rfc3986/1.5.0 tqdm/4.64.0 urllib3/1.26.9 CPython/3.10.4

File hashes

Hashes for xpe-1.0.8.tar.gz
Algorithm Hash digest
SHA256 b76f742060abb78290ff7e6f84b49b8935b0df4bb98a4a1b0f81341ae2a3b06e
MD5 f5070473d39599fae32f1bad17fd251e
BLAKE2b-256 02f2c25fa6b7748e02bae1974f3d783e33c07fff567124ca90ffb8a3764622df

See more details on using hashes here.

File details

Details for the file xpe-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: xpe-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.27.1 rfc3986/1.5.0 tqdm/4.64.0 urllib3/1.26.9 CPython/3.10.4

File hashes

Hashes for xpe-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fe91ef5df3388c223140af5f7bcc9d165be44efada010fd96539537128bee0a9
MD5 ea71d674934f01f6149ea7ddcb71b7c4
BLAKE2b-256 1ab20eca264b86b68cd38424c2cc3780c835e7d23d277ac37bb62b2b7f420a17

See more details on using hashes here.

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