Skip to main content

A modern Python library for writing maintainable web scrapers.

Project description

Overview

spatula is a modern Python library for writing maintainable web scrapers.

Source: https://github.com/jamesturk/spatula

Documentation: https://jamesturk.github.io/spatula/

Issues: https://github.com/jamesturk/spatula/issues

PyPI badge Test 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.

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

spatula-0.8.4.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

spatula-0.8.4-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file spatula-0.8.4.tar.gz.

File metadata

  • Download URL: spatula-0.8.4.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.1 Darwin/20.3.0

File hashes

Hashes for spatula-0.8.4.tar.gz
Algorithm Hash digest
SHA256 e11276f21af0dd5aad21fa6417d8c62cf986e7a19797d92c69312c616c8a9242
MD5 a1285e59962cffad416fedf5dc7dc597
BLAKE2b-256 d371c006a7530db6d88aa68895f38d416fbddd586bc232d4bfffee178e0d5802

See more details on using hashes here.

File details

Details for the file spatula-0.8.4-py3-none-any.whl.

File metadata

  • Download URL: spatula-0.8.4-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.1 Darwin/20.3.0

File hashes

Hashes for spatula-0.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5ae2ba2898d701506e3472f993d6d5c59b5907af7dc4af710907cd2be04e9b03
MD5 05f52bce92e626bcb0e1b0bb7d44a71f
BLAKE2b-256 36ec08b7632340c3e575cfc7e96634aa5a312d9b5d7524d9285618d0ba798c0a

See more details on using hashes here.

Supported by

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