Skip to main content

Scrapinghub'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.6+.

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.1.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

web_poet-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: web-poet-0.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.0

File hashes

Hashes for web-poet-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f8d28c73d3a5dff778a97aa825321e31e74b9af088b8461229e482c6f5158b92
MD5 fe8a6dfe876ef38d24283c5541882c83
BLAKE2b-256 89abd2dbeefc08b86851ff37b2a05a31b2b69add8198ea8761abdb1ad52203d5

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: web_poet-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.0

File hashes

Hashes for web_poet-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62ae45eb3841c691765ce7d4ebb3ddc76b2d283b2047623d5954d29d6a41c64e
MD5 64246efca5d081a0f98bf304b4ea7c9b
BLAKE2b-256 8dd74ed6fcf988b42206a197b1d9885d9e2b575250eda07243be12b18c4029d7

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