QuickScrape
A simple Python library for extracting common data types from web pages.
Installation
pip install quickscrape
Usage
import quickscrape
# Extract emails from a webpage
emails = quickscrape.extract("email", "https://example.com/contact")
# Extract tables
tables = quickscrape.extract("table", "https://example.com/data")
# Get tables as pandas DataFrames
tables_df = quickscrape.extract("table", "https://example.com/data", output_format="dataframe")
# Extract multiple data types at once
results = quickscrape.extract(["email", "table"], "https://example.com")email", "https://example.com/contact")
# Extract tables
tables = quickscrape.extract("table", "https://example.com/data")
License
MIT
Development Workflow
-
Local Development: Install your package in development mode:
pip install -e .
-
Testing : Use pytest for writing and running tests.
pip install pytest pytest
Release files for quickscrape 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quickscrape-0.1.1.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quickscrape-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.8 kB
Release files / quickscrape-0.1.1.tar.gz
| Download URL | quickscrape-0.1.1.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3fc1c3fced65584ad79e8c25680e3a8b979c8ce0945ce86ae9f5f6dcf8cac44
|
|
BLAKE2b-256 checksum How to use checksums |
fff67d4ab4be205decf1bb435141857c35e42fa019398f49b0781093debc1f4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / quickscrape-0.1.1-py3-none-any.whl
| Download URL | quickscrape-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f37dd1893df23971ba79020d907fd4f78bddae4af9828e685924b524ba59b991
|
|
BLAKE2b-256 checksum How to use checksums |
15a2852ace3f8562a91958db1ee3b98e484e0d79ff81ecee44a4cab4e1b78607
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|