Metadata-Version: 2.4
Name: parslepy
Version: 0.3.0
Summary: Parsley extraction library using lxml
Home-page: https://github.com/redapple/parslepy
Author: Paul Tremberth
Author-email: paul.tremberth@gmail.com
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup :: HTML
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Requires: lxml
Requires: cssselect
Requires-Dist: lxml>=2.3
Requires-Dist: cssselect
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: requires
Dynamic: requires-dist
Dynamic: summary


========
Parslepy
========

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 <https://github.com/fizx/parsley>`_,
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.

Documentation & examples
========================

See https://github.com/redapple/parslepy/wiki#usage
      
