Skip to main content

Zyte's Page Object pattern for web scraping

Project description

PyPI Version Supported Python Versions Build Status Coverage report Documentation Status

web-poet implements Page Object pattern for web scraping. It defines a standard for writing web data extraction code, which allows the code to be portable & reusable.

License is BSD 3-clause.

Installation

pip install web-poet

It requires Python 3.7+.

Overview

web-poet is a library which defines a standard on how to write and organize web data extraction code.

If web scraping code is written as web-poet Page Objects, it can be reused in different contexts. For example, such code can be developed in an IPython notebook, then tested in isolation, and then plugged into a Scrapy spider, or used as a part of some custom aiohttp-based web scraping framework.

Currently, the following integrations are available:

See Documentation for more.

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

web-poet-0.2.0.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

web_poet-0.2.0-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file web-poet-0.2.0.tar.gz.

File metadata

  • Download URL: web-poet-0.2.0.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for web-poet-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7be53303f2ae4b131c9e39cc182773d1c87beaa5344b8b2776323f39241c7e21
MD5 1a912356a04503ccbde91871ebcf5e4f
BLAKE2b-256 dfcf11df39fccdb29dbe2bdeea2f0e8718750647062b4456a2d02fd6a3f71cbd

See more details on using hashes here.

Provenance

File details

Details for the file web_poet-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: web_poet-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for web_poet-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 677310cc22c965328da273f0f2e425df436e7e9eb1497932c993be7cadcae284
MD5 d79549830f36476f81632bbe0df24d92
BLAKE2b-256 d5c5c4be62f51b65ae63bcf0d26139fdbfac8df2c083e0691a0c270c47e5aca4

See more details on using hashes here.

Provenance

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