Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Command-line tool pretty-print XML with xpath

Project description

Command-line tool to validate and pretty-print XML.


# Install through pip
pip install ppxml

# Install through git
pip install git+

# or without cache
cd /tmp
git clone
cd ppxml
python install


Just prettify and colorize xml code:

curl | ppxml

Use xpath for get some elements:

curl | ppxml -x "//item"

Use xpath for get deeper elements:

curl | ppxml -x "//item/title"

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 ppxml, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size ppxml-0.1.0.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page