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

Uploaded Source

Built Distribution

web_poet-0.1.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: web-poet-0.1.1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for web-poet-0.1.1.tar.gz
Algorithm Hash digest
SHA256 87465c4b876a85bb9ab4e2ae29cc77783ca8156d60d0bb6d48e7a437825d2468
MD5 5ee0a1fe103bf12e996f00442b0ef84a
BLAKE2b-256 cf2a5d4438ac74282503abb5db7e76d3d5149da9f6c3537865fd56139665b43e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: web_poet-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for web_poet-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dd9bbc1a24fe6d98d7e42b0375f56b52480cd57dc7192f80ed77ff030eef249
MD5 7126d419c38dcfe89e2064c152d0d3e0
BLAKE2b-256 a2536a88e83d75a5ad647df7774589639c9dd7c504899719f07bb279e8a9ab0c

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