Skip to main content

eScrape Plan

A tool for extracting data from HTML pages in complex and extensible ways according to plans crafted to describe that data.

eScrape Plan starts at the top of an HTML document and compares every tag in a "flattened" sequence against a series of markers, which are HTML tags you expect to find. The content between those markers are stored internally as sections in a document. Each section can then be acted on by extractors, which pull data out of the HTML and store them. Further, after a document has been fully parsed and all of this data has been extracted, the data can be run through outputters to produce artifacts from the data.

Today, eScrape Plan can do things like:

  • Parse a long document into smaller sections
  • Categorize those sections internally by name/ID
  • Run find/replace operations on that content (to do things like normalize newline characters in the source)
  • Reorganize this content arbitrarily and produce new HTML files with any arrangement of that content
  • Export textual/HTML content into SQLite databases for later querying
  • Convert HTML <table> content into SQLite databases

Usage

I'll have better documentation on before too much longer. Until then...

pip install escrape-plan

Metadata

Release files for escrape-plan 0.0.4

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

Source distribution (sdist)

Source distribution for escrape-plan 0.0.4
File Size Uploaded Provenance Actions
escrape_plan-0.0.4.tar.gz 14.8 kB Without provenance Details for escrape_plan-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for escrape-plan 0.0.4
File Interpreter ABI Platform Actions
escrape_plan-0.0.4-py3-none-any.whl Python 3 none any Details for escrape_plan-0.0.4-py3-none-any.whl

Total release size: 34.7 kB

Release files / escrape_plan-0.0.4.tar.gz

Download URL escrape_plan-0.0.4.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b263b7bbe6de5b465829edc50c1281d9779ded3318091d06ff5465fe215c2da8
BLAKE2b-256 checksum
How to use checksums
42ddc9ad956c0fa367597b096d02f5c3e19597d30e5c6258ad62a2c1feb55aa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / escrape_plan-0.0.4-py3-none-any.whl

Download URL escrape_plan-0.0.4-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5baf961b71e7472a50c0aeacf75a12fea84bbabb1766203acf597b8ac42c0e8d
BLAKE2b-256 checksum
How to use checksums
59f99774ce7c4112e6f5d3c04b408550746ab35c77dbd728324c6cae0530bfc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for escrape-plan 0.0.4

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