========
web-poet
========
.. image:: https://img.shields.io/pypi/v/web-poet.svg
:target: https://pypi.python.org/pypi/web-poet
:alt: PyPI Version
.. image:: https://img.shields.io/pypi/pyversions/web-poet.svg
:target: https://pypi.python.org/pypi/web-poet
:alt: Supported Python Versions
.. image:: https://github.com/scrapinghub/web-poet/actions/workflows/tests-ubuntu.yml/badge.svg
:target: https://github.com/scrapinghub/web-poet/actions/workflows/tests-ubuntu.yml
:alt: Tox Ubuntu
.. image:: https://github.com/scrapinghub/web-poet/actions/workflows/tests-windows.yml/badge.svg
:target: https://github.com/scrapinghub/web-poet/actions/workflows/tests-windows.yml
:alt: Tox Windows
.. image:: https://codecov.io/github/scrapinghub/web-poet/coverage.svg?branch=master
:target: https://codecov.io/gh/scrapinghub/web-poet
:alt: Coverage report
.. image:: https://readthedocs.org/projects/web-poet/badge/?version=stable
:target: https://web-poet.readthedocs.io/en/stable/?badge=stable
:alt: Documentation Status
.. intro starts
``web-poet`` is a Python 3.8+ implementation of the `page object pattern`_ for
web scraping. It enables writing portable, reusable web parsing code.
.. _page object pattern: https://martinfowler.com/bliki/PageObject.html
.. intro ends
See the documentation_.
.. _documentation: https://web-poet.readthedocs.io
Developing
==========
Setup your local Python environment via:
1. `pip install -r requirements-dev.txt`
2. `pre-commit install`
Now everytime you perform a `git commit`, these tools will run against the
staged files:
* `black`
* `isort`
* `flake8`
You can also directly invoke `pre-commit run --all-files` or `tox -e linters`
to run them without performing a commit.
Raw data
{
"_id": null,
"home_page": "https://github.com/scrapinghub/web-poet",
"name": "web-poet",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Zyte Group Ltd",
"author_email": "opensource@zyte.com",
"download_url": "https://files.pythonhosted.org/packages/d0/e7/67f82db7319e292b6d5156c43baa0296a82d7fc992db70e86f2a842ab5b8/web-poet-0.17.0.tar.gz",
"platform": null,
"description": "========\nweb-poet\n========\n\n.. image:: https://img.shields.io/pypi/v/web-poet.svg\n :target: https://pypi.python.org/pypi/web-poet\n :alt: PyPI Version\n\n.. image:: https://img.shields.io/pypi/pyversions/web-poet.svg\n :target: https://pypi.python.org/pypi/web-poet\n :alt: Supported Python Versions\n\n.. image:: https://github.com/scrapinghub/web-poet/actions/workflows/tests-ubuntu.yml/badge.svg\n :target: https://github.com/scrapinghub/web-poet/actions/workflows/tests-ubuntu.yml\n :alt: Tox Ubuntu\n \n.. image:: https://github.com/scrapinghub/web-poet/actions/workflows/tests-windows.yml/badge.svg\n :target: https://github.com/scrapinghub/web-poet/actions/workflows/tests-windows.yml\n :alt: Tox Windows\n\n.. image:: https://codecov.io/github/scrapinghub/web-poet/coverage.svg?branch=master\n :target: https://codecov.io/gh/scrapinghub/web-poet\n :alt: Coverage report\n\n.. image:: https://readthedocs.org/projects/web-poet/badge/?version=stable\n :target: https://web-poet.readthedocs.io/en/stable/?badge=stable\n :alt: Documentation Status\n\n.. intro starts\n\n``web-poet`` is a Python 3.8+ implementation of the `page object pattern`_ for\nweb scraping. It enables writing portable, reusable web parsing code.\n\n.. _page object pattern: https://martinfowler.com/bliki/PageObject.html\n\n.. intro ends\n\nSee the documentation_.\n\n.. _documentation: https://web-poet.readthedocs.io\n\nDeveloping\n==========\n\nSetup your local Python environment via:\n\n1. `pip install -r requirements-dev.txt`\n2. `pre-commit install`\n\nNow everytime you perform a `git commit`, these tools will run against the\nstaged files:\n\n* `black`\n* `isort`\n* `flake8`\n\nYou can also directly invoke `pre-commit run --all-files` or `tox -e linters`\nto run them without performing a commit.\n",
"bugtrack_url": null,
"license": "",
"summary": "Zyte's Page Object pattern for web scraping",
"version": "0.17.0",
"project_urls": {
"Homepage": "https://github.com/scrapinghub/web-poet"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fb1df52365e3b01bdd533a0ea31323e3e41a4f5ddbe97cf6ca8f29c91dd3006b",
"md5": "a99e336cfc7d2b7c6be2fa3c5079e16f",
"sha256": "66fbf17934b07160ca5843b4bb331a43bd7e9907fbdc5207e2ee76d98fc2c09a"
},
"downloads": -1,
"filename": "web_poet-0.17.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a99e336cfc7d2b7c6be2fa3c5079e16f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 46754,
"upload_time": "2024-03-04T12:31:58",
"upload_time_iso_8601": "2024-03-04T12:31:58.129572Z",
"url": "https://files.pythonhosted.org/packages/fb/1d/f52365e3b01bdd533a0ea31323e3e41a4f5ddbe97cf6ca8f29c91dd3006b/web_poet-0.17.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d0e767f82db7319e292b6d5156c43baa0296a82d7fc992db70e86f2a842ab5b8",
"md5": "48cfdf2759ce6828a8dc5d51da71c34b",
"sha256": "a32f459010bef17c36fa7f60bf3b5eb481b30b699d6d521e458ed896c58cc94a"
},
"downloads": -1,
"filename": "web-poet-0.17.0.tar.gz",
"has_sig": false,
"md5_digest": "48cfdf2759ce6828a8dc5d51da71c34b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 68563,
"upload_time": "2024-03-04T12:31:59",
"upload_time_iso_8601": "2024-03-04T12:31:59.532493Z",
"url": "https://files.pythonhosted.org/packages/d0/e7/67f82db7319e292b6d5156c43baa0296a82d7fc992db70e86f2a842ab5b8/web-poet-0.17.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-04 12:31:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "scrapinghub",
"github_project": "web-poet",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "web-poet"
}