Skip to main content

Scrapy exporter for Big Data formats

Project description

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:

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:

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:

Source

The source is available at:

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

scrapy-contrib-bigexporters-0.4.0.tar.gz (23.1 kB view hashes)

Uploaded Source

Built Distribution

scrapy_contrib_bigexporters-0.4.0-py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 3

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