A small tool for testing XPath queries against lxml
Python HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
xpathtester
.gitignore
.hgignore
.project
.pydevproject
django.wsgi
manage.py
readme.md
xpath-tester.iml

readme.md

What is this?

lxml-xpath-tester is a simple django app that uses lxml to test your XPath queries.

It's designed to be rough, but robust, so don't expect it to be pretty.

Live usage

This can be seen live at http://xpath.courtlistener.com

Installation & dependencies

Make sure you have lxml and Django installed.

Then just clone this repository somewhere, and use Django's server to run it.

mkdir xpathtester
cd xpathtester
git clone https://github.com/mlissner/lxml-xpath-tester.git .
./manage.py runserver

That'll start Django's server. From there, just go to localhost:8000 in your browser, and you'll be off and running.

Contributions

Are welcome.

License

This is licensed under the permissive BSD license.

Screenshot

Here's a screenshot of what it looks like.