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.5.tar.gz
(14.3 kB
view details)
Built Distribution
spatula-0.8.5-py3-none-any.whl
(15.5 kB
view details)
File details
Details for the file spatula-0.8.5.tar.gz
.
File metadata
- Download URL: spatula-0.8.5.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.9.1 Darwin/20.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 758ed8f88601050b12e83c27d2a7299152c151702343047d7609860baa3697c1 |
|
MD5 | 03fcfcfded4a7a24a87686e2e72dea63 |
|
BLAKE2b-256 | 12d00b0f150558938383ade6150df67762d43cbba58730f1e3a937212a24d903 |
File details
Details for the file spatula-0.8.5-py3-none-any.whl
.
File metadata
- Download URL: spatula-0.8.5-py3-none-any.whl
- Upload date:
- Size: 15.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f877170a7723b37c5b134c41bcd0f73d1c3872ff7059806484bd061cfe87b1dd |
|
MD5 | 555d419dbed8af458dcca4a4edfff3a4 |
|
BLAKE2b-256 | e31410f25b3cb71b2bca1d60d23c9535d2df793ce276866760e529433d9ceebc |