Overview
spatula is a modern Python library for writing maintainable web scrapers.
Please note, the official repository has changed to Codeberg; GitHub will only be used as a mirror.
Source: https://codeberg.org/jpt/spatula/
Documentation: https://jamesturk.github.io/spatula/
Issues: https://codeberg.org/jpt/spatula/issues
Features
- Page-oriented design: Encourages writing understandable & maintainable scrapers.
- Not Just HTML: Provides built in handlers for common data formats including CSV, JSON, XML, PDF, and Excel. Or write your own.
- Fast HTML parsing: Uses
lxml.htmlfor fast, consistent, and reliable parsing of HTML. - Flexible Data Model Support: Compatible with
dataclasses,attrs,pydantic, or bring your own data model classes for storing & validating your scraped data. - CLI Tools: Offers several CLI utilities that can help streamline development & testing cycle.
- Fully Typed: Makes full use of Python 3 type annotations.
Metadata
Release files for spatula 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spatula-1.0.0.tar.gz | 38.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spatula-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.5 kB
Release files / spatula-1.0.0.tar.gz
| Download URL | spatula-1.0.0.tar.gz |
|---|---|
| Size | 38.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cec1a736a168e8e0876714be37183160e356a33715a9ddd87837c1303b37f3f
|
|
BLAKE2b-256 checksum How to use checksums |
bba129678c9dc9fa9f64372c7ebe33f602d2237cfcfb2eceb8bc44adc5bc91f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.22
|
Release files / spatula-1.0.0-py3-none-any.whl
| Download URL | spatula-1.0.0-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28c766de4e177ddc514070d2cd2a0235164aeb814abec007abc68c489ad16ca5
|
|
BLAKE2b-256 checksum How to use checksums |
64d61e77c4967470a7df768ab0298fca22bad105557c687077817caad4b2b826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.22
|