Skip to main content

A reusable Python scraping toolkit — Scrapling + Playwright + LLM extraction via Ollama

Project description

Raspal

A reusable Python scraping toolkit combining Scrapling, Playwright, and LLM extraction via Ollama.

Install

pip install raspal

Quickstart

# Fetch and extract text from a URL
raspal fetch https://example.com

# Run a scraping pipeline from a YAML config
raspal run config.yaml

Features

  • Adaptive engine: auto-detects between Scrapling (fast) and Playwright (JS-heavy)
  • SQLite-based request cache with TTL
  • Layered text extraction (trafilatura-style)
  • LLM-powered structured extraction via Ollama
  • YAML-configured pipelines

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raspal-0.2.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raspal-0.2.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file raspal-0.2.0.tar.gz.

File metadata

  • Download URL: raspal-0.2.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.9

File hashes

Hashes for raspal-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a2ba657e04cdf897cd983a9991cd95e946673377304c0cdf8c7bb42a682456ef
MD5 e400a27fbc61c0a4c34c0d76998c7f74
BLAKE2b-256 7969c722d5ff06483806be76aa616e322a7e23636367e34801a78bdddca00a3c

See more details on using hashes here.

File details

Details for the file raspal-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: raspal-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.9

File hashes

Hashes for raspal-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dae671ebb20416fec80cc47e7db2008e633cbd0f958b88f79cb430dad5b38146
MD5 c4fb265c43daa90beb6fee4238eba8cc
BLAKE2b-256 b69a0cb1b8942a170e88e1948cb67f094eb4f988281c0d5b881a67acf5c62dff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page