Metadata-Version: 2.1
Name: zyte-spider-templates
Version: 0.2.0
Summary: Spider templates for automatic crawlers.
Home-page: https://github.com/zytedata/zyte-spider-templates
Author: Zyte Group Ltd
Author-email: info@zyte.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: pydantic>=2
Requires-Dist: scrapy>=2.11.0
Requires-Dist: scrapy-poet>=0.16.0
Requires-Dist: scrapy-spider-metadata>=0.1.2
Requires-Dist: scrapy-zyte-api[provider]>=0.12.2
Requires-Dist: zyte-common-items>=0.12.0

=====================
zyte-spider-templates
=====================

.. image:: https://img.shields.io/pypi/v/zyte-spider-templates.svg
   :target: https://pypi.python.org/pypi/zyte-spider-templates
   :alt: PyPI Version

.. image:: https://img.shields.io/pypi/pyversions/zyte-spider-templates.svg
   :target: https://pypi.python.org/pypi/zyte-spider-templates
   :alt: Supported Python Versions

.. image:: https://github.com/zytedata/zyte-spider-templates/actions/workflows/test.yml/badge.svg
   :target: https://github.com/zytedata/zyte-spider-templates/actions/workflows/test.yml
   :alt: Automated tests

.. image:: https://codecov.io/github/zytedata/zyte-spider-templates/coverage.svg?branch=main
   :target: https://codecov.io/gh/zytedata/zyte-spider-templates
   :alt: Coverage report


Spider templates for automatic crawlers.

This library contains Scrapy_ spider templates. They can be used out of the box
with the Zyte features such as `Zyte API`_ or modified to be used standalone.
There is a `sample Scrapy project`_ for this library that you can use as a
starting point for your own projects.

.. _Scrapy: https://docs.scrapy.org/
.. _Zyte API: https://docs.zyte.com/zyte-api/get-started.html
.. _sample Scrapy project: https://github.com/zytedata/zyte-spider-templates-project


Requirements
============

* Python 3.8+
* Scrapy 2.11+


Installation
============

.. code-block::

    pip install zyte-spider-templates


Spiders
=======

* ``EcommerceSpider``: a spider that can scrape products from any e-commerce
  website.
