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
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
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
spatula-0.8.7.tar.gz
(14.9 kB
view details)
Built Distribution
spatula-0.8.7-py3-none-any.whl
(15.9 kB
view details)
File details
Details for the file spatula-0.8.7.tar.gz
.
File metadata
- Download URL: spatula-0.8.7.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7ddd3bd51818839e40a425ebea6c2da415d56a09f4adc62837946268d545a2 |
|
MD5 | be325d18742c7687268797c5aa7eecdc |
|
BLAKE2b-256 | 6cab128588526ae51536dc85a822ee0e6a18dcc04b880b927d67e2202261e717 |
File details
Details for the file spatula-0.8.7-py3-none-any.whl
.
File metadata
- Download URL: spatula-0.8.7-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b726c92f86ee6850d7acbaae86979c98bd65d8cbbde0f963ec2d57ebae53503 |
|
MD5 | 405b8629361e0458ec57d5ec311cb983 |
|
BLAKE2b-256 | c4702e3c8a3024dcb4658ee58b0dfadbcb86adb88bbd186f3bf2fbb793cc0ffa |