parslepy 0.1
pip install parslepy==0.1
Released:
Parsley extraction library using lxml
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (UNKNOWN)
- Author: Paul Tremberth
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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 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 CSS 3 and XPath 1
Documentation & examples
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (UNKNOWN)
- Author: Paul Tremberth
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file parslepy-0.1.tar.gz
.
File metadata
- Download URL: parslepy-0.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e06e52bdb72f60151f2d0224a708eb12970d2422d3b1716e16499820d579eb31
|
|
MD5 |
1cce8e4059c59a7e294f5706024f1852
|
|
BLAKE2b-256 |
7a681a0d55012757993cbd9768773f0657c9e2e826cf2585a2df26da34598006
|