Skip to main content

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

PyPI badge

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.html for 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)

Source distribution for spatula 1.0.0
File Size Uploaded
spatula-1.0.0.tar.gz 38.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spatula 1.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.10

2 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page