A simple library for extracting common data types from web pages
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quickscrape-0.1.1.tar.gz
(10.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quickscrape-0.1.1.tar.gz.
File metadata
- Download URL: quickscrape-0.1.1.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3fc1c3fced65584ad79e8c25680e3a8b979c8ce0945ce86ae9f5f6dcf8cac44
|
|
| MD5 |
a95272641c859a4f030efe7ca63f0370
|
|
| BLAKE2b-256 |
fff67d4ab4be205decf1bb435141857c35e42fa019398f49b0781093debc1f4b
|
File details
Details for the file quickscrape-0.1.1-py3-none-any.whl.
File metadata
- Download URL: quickscrape-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f37dd1893df23971ba79020d907fd4f78bddae4af9828e685924b524ba59b991
|
|
| MD5 |
9f82c923a9ae54255a0d4a845f8d7c4e
|
|
| BLAKE2b-256 |
15a2852ace3f8562a91958db1ee3b98e484e0d79ff81ecee44a4cab4e1b78607
|