Concurrent threaded URL fetcher for data engineering workflows
Project description
threaded-fetcher
A small Python package that fetches many URLs concurrently using threads, records per-task timing, supports retries with exponential backoff, and optional rate limiting.
Features
- ThreadPoolExecutor-based concurrency
- Per-task start/end timestamps and elapsed time
- Retries with exponential backoff
- Token-bucket rate limiter
- Load URLs from
.txt,.csv,.xlsx,.json - Save results to
.csv,.json,.xlsx(multi-sheet summary),.parquet,.feather,.sqlite - Auto-detect URL column names (e.g.
url,link,Career Page Link) - Colored console output and summary metrics
Installation
Create and activate a virtualenv, then install:
python -m venv .venv
# Windows (PowerShell)
.\.venv\Scripts\Activate.ps1
# macOS / Linux
# source .venv/bin/activate
pip install -e .
pip install openpyxl pyarrow colorama tqdm
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
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 threaded_fetcher-0.2.1.tar.gz.
File metadata
- Download URL: threaded_fetcher-0.2.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1618543e846ea18437192023867a2875068e14f4452a14a67aecdd95d634e0d
|
|
| MD5 |
1dee290aaf8d0365d09b9371777d7a27
|
|
| BLAKE2b-256 |
8b672192646ae02508b114042add45b4e802203f0f4e49799f9c9382ee19cc5b
|
File details
Details for the file threaded_fetcher-0.2.1-py3-none-any.whl.
File metadata
- Download URL: threaded_fetcher-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cacdf39349b85cbe099710008f6e1b3a18510ecf172d78097e576ffedf48a7e
|
|
| MD5 |
c3f6dd0774514202369678495e0b0ec9
|
|
| BLAKE2b-256 |
2c0b8015ee77521b9b8797dc2ccc670221fe61eee53356ee70e6ff728f7a8f05
|