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.5

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.5
File Size Uploaded Provenance Actions
escrape_plan-0.0.5.tar.gz 15.2 kB Without provenance Details for escrape_plan-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 35.6 kB

Release files / escrape_plan-0.0.5.tar.gz

Download URL escrape_plan-0.0.5.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f5d51548e751ea7fc1527279cea5fd38b55e07151048ea1f3870dcc046c896eb
BLAKE2b-256 checksum
How to use checksums
a6041784f9fa86061334ca5b3f7a2c036d5b67e7d6d1e6aa7c768c62c8a9b126
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.5-py3-none-any.whl

Download URL escrape_plan-0.0.5-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ecda2ea0a15e0043608b2b0027b513d9f1a0811a3ce15097f91d92dd4d82619
BLAKE2b-256 checksum
How to use checksums
aae2c86d301de23a048ab7d6dd9ccc85308f8780689809578adc5772d97b78e0
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.5

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