Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Parsley extraction library using lxml

Project Description

Parslepy lets you extract content from HTML and XML documents where extraction rules are defined using a JSON object or equivalent Python dict, where keys are names you want to assign to extracted content, and values are CSS selectors or XPath expressions.

Parslepy is an implementation of the Parsley extraction language defined here, using lxml and cssselect.

You can nest objects, generate list of objects, and (to a certain extent) mix CSS and XPath.

Parslepy uderstands what lxml and cssselect understand, which is roughly CSS3 selectors and XPath 1.0 expressions.

Release history Release notifications

This version
History Node

0.3.0

History Node

0.2.0

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
parslepy-0.3.0.tar.gz (13.2 kB) Copy SHA256 hash SHA256 Source None Mar 5, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page