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

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.3
File Size Uploaded Provenance Actions
escrape_plan-0.0.3.tar.gz 14.8 kB Without provenance Details for escrape_plan-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 34.6 kB

Release files / escrape_plan-0.0.3.tar.gz

Download URL escrape_plan-0.0.3.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
366af8f47484117ed480d9c8dd9b75997ae31b8ed9a8b44a1f2b6e2876e5ab19
BLAKE2b-256 checksum
How to use checksums
7bba693c43fdc4ed7dc787f943dd45588c1059575831f4a8553dc4d52a8109a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

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

Download URL escrape_plan-0.0.3-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
665b8222a4122f7042f6d5eb942f92002b6566d29aba1a8b732e7d0f59744baf
BLAKE2b-256 checksum
How to use checksums
22f6b2289e5eebad6e37a2ce33459ccb8837b00f161e07536b758d6f78fccff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Security for escrape-plan 0.0.3

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