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

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.1
File Size Uploaded Provenance Actions
escrape_plan-0.0.1.tar.gz 14.3 kB Without provenance Details for escrape_plan-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 33.5 kB

Release files / escrape_plan-0.0.1.tar.gz

Download URL escrape_plan-0.0.1.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
195e37754074d75beac6a6f3817524ee3d7171d16e9fa0d722c9f05c07b71628
BLAKE2b-256 checksum
How to use checksums
3abb1516a9801aa7a2e7c6c069ecc6de89404678189742c5e8efdb9a09016261
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.1-py3-none-any.whl

Download URL escrape_plan-0.0.1-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dd61952b7f8f6013dcddfdfaa0fe029ea68f1a6a2e95dde368be10e59fd07e3
BLAKE2b-256 checksum
How to use checksums
eb935348e3336a7355a43b4ecaabb63a68391fb1cc0248e065895da7b1af9100
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.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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