Skip to main content

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, 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

Metadata

Release files for parslepy 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parslepy 0.3.0
File Size Uploaded Provenance Actions
parslepy-0.3.0.tar.gz 13.2 kB Without provenance Details for parslepy-0.3.0.tar.gz

Release files / parslepy-0.3.0.tar.gz

Download URL parslepy-0.3.0.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
15d8ecad85e4c07e9b4f2eaaa9c650e3ce240f7a91feeff2a39f661557906eaf
BLAKE2b-256 checksum
How to use checksums
c5248f01d3b0aaa70a75644734dd41fcbf3289cc0260ef883f55aaccada9d920
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for parslepy 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page