Metadata-Version: 2.1
Name: scrapy-contrib-bigexporters
Version: 0.4.0
Summary: Scrapy exporter for Big Data formats
Author-email: Jörn Franke <zuinnote@gmail.com>
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries
Classifier: Operating System :: OS Independent
Requires-Dist: Scrapy>=2.4.0
Requires-Dist: fastavro>=1.1.0 ; extra == "avro"
Requires-Dist: black>=22.3.0 ; extra == "dev"
Requires-Dist: prospector>=1.7.0 ; extra == "dev"
Requires-Dist: pylint>=2.11.1 ; extra == "dev"
Requires-Dist: bandit>=1.7.1 ; extra == "dev"
Requires-Dist: pycodestyle>=2.8.0 ; extra == "dev"
Requires-Dist: mccabe>=0.6.1 ; extra == "dev"
Requires-Dist: mypy>=0.950 ; extra == "dev"
Requires-Dist: sphinx>=4.4.0 ; extra == "doc"
Requires-Dist: pyorc>=0.4.0 ; extra == "orc"
Requires-Dist: fastparquet>=0.4.1 ; extra == "parquet"
Requires-Dist: pandas>=1.1.0 ; extra == "parquet"
Requires-Dist: coverage>=6.3 ; extra == "test"
Requires-Dist: tox>=3.25.0 ; extra == "test"
Requires-Dist: pytest>=7.1.0 ; extra == "test"
Project-URL: documentation, https://codeberg.org/ZuInnoTe/scrapy-contrib-bigexporters
Project-URL: download, https://codeberg.org/ZuInnoTe/scrapy-contrib-bigexporters
Project-URL: homepage, https://codeberg.org/ZuInnoTe/scrapy-contrib-bigexporters
Project-URL: source, https://codeberg.org/ZuInnoTe/scrapy-contrib-bigexporters
Project-URL: tracker, https://github.com/ZuInnoTe/scrapy-contrib-bigexporters/issues
Provides-Extra: avro
Provides-Extra: dev
Provides-Extra: doc
Provides-Extra: orc
Provides-Extra: parquet
Provides-Extra: test

===========================
scrapy-contrib-bigexporters
===========================


Overview
========

scrapy-contrib-bigexporters provides additional exporters for the web crawling and scraping framework Scrapy (https://scrapy.org).

The following big data formats are supported:

* Avro: https://avro.apache.org/
* Parquet: https://parquet.apache.org/
* Orc: https://orc.apache.org


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

* Python 3.6+
* Scrapy 2.4+
* Works on Linux, Windows, macOS, BSD
* Parquet export requires fastparquet 0.4.1+
* Avro export requires fastavro 1.1.0
* ORC export requires pyorc 0.4.0+


Install
=======

The quick way (pip)::

    pip install scrapy-contrib-bigexporters

Alternatively, you can install it from `conda-forge <https://anaconda.org/conda-forge/scrapy-contrib-bigexporters>`_::

    conda install -c conda-forge scrapy-contrib-bigexporters

Depending on which format you want to use you need to install one or more of the following libraries.

Avro::

    pip install fastavro

ORC::

    pip install pyorc

Parquet::

    pip install fastparquet

Additional libraries may be needed for specific compression algorithms. See "Use".

Use
====

Use of the library is simple. Install it with your Scrapy project as described above.You only need to configure the exporter in the Scrapy settings, run your scraper and the data will be exported into your desired format. There is no development needed.

See here for configuring the exporter in settings:

* `Avro <https://github.com/ZuInnoTe/scrapy-contrib-bigexporters/blob/master/docs/avro.rst>`_
* `Parquet <https://github.com/ZuInnoTe/scrapy-contrib-bigexporters/blob/master/docs/parquet.rst>`_
* `ORC <https://github.com/ZuInnoTe/scrapy-contrib-bigexporters/blob/master/docs/orc.rst>`_

Source
======

The source is available at:

* Codeberg (a non-commercial European hosted Git for Open Source): https://codeberg.org/ZuInnoTe/scrapy-contrib-bigexporters
* Github (an US hosted commercial Git platform): https://github.com/ZuInnoTe/scrapy-contrib-bigexporters

