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:
Avro: https://avro.apache.org/
Parquet: https://parquet.apache.org/
Requirements
Python 3.11+
Scrapy 2.11+
Works on Linux, Windows, macOS, BSD
Parquet export requires fastparquet 2024.02+
Avro export requires fastavro 1.9+
ORC export requires pyorc 0.9+
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:
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
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
Built Distribution
File details
Details for the file scrapy_contrib_bigexporters-0.5.0.tar.gz
.
File metadata
- Download URL: scrapy_contrib_bigexporters-0.5.0.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e39bf629058dc41d97fc7af786cd79044c98f9aa964fb307e301354c1c117c14 |
|
MD5 | 4db3cd04c5fedb2c0f787d03b351ca11 |
|
BLAKE2b-256 | 6ac234631c676f713c280aaf5545f9ca342fe3188be594d0ba9bdd2d7e6347fe |
Provenance
The following attestation bundles were made for scrapy_contrib_bigexporters-0.5.0.tar.gz
:
Publisher:
publish_pypi.yml
on ZuInnoTe/scrapy-contrib-bigexporters
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
scrapy_contrib_bigexporters-0.5.0.tar.gz
- Subject digest:
e39bf629058dc41d97fc7af786cd79044c98f9aa964fb307e301354c1c117c14
- Sigstore transparency entry: 149280023
- Sigstore integration time:
- Permalink:
ZuInnoTe/scrapy-contrib-bigexporters@b1294fc6824e4649a66c49d8369a7bf5267aa34d
- Branch / Tag:
refs/tags/scb-0.5.0
- Owner: https://github.com/ZuInnoTe
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish_pypi.yml@b1294fc6824e4649a66c49d8369a7bf5267aa34d
- Trigger Event:
push
- Statement type:
File details
Details for the file scrapy_contrib_bigexporters-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: scrapy_contrib_bigexporters-0.5.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e60a92af869b61df098226bf285f49ebd634d262ba9db3d28751f39b79651d3 |
|
MD5 | 8e0475c1af39a24048b90e368aef7c9c |
|
BLAKE2b-256 | cb8849c02694f1fd55283fcaf37fff0836c02b3bca3db05c57cc444748eb42da |
Provenance
The following attestation bundles were made for scrapy_contrib_bigexporters-0.5.0-py3-none-any.whl
:
Publisher:
publish_pypi.yml
on ZuInnoTe/scrapy-contrib-bigexporters
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
scrapy_contrib_bigexporters-0.5.0-py3-none-any.whl
- Subject digest:
1e60a92af869b61df098226bf285f49ebd634d262ba9db3d28751f39b79651d3
- Sigstore transparency entry: 149280024
- Sigstore integration time:
- Permalink:
ZuInnoTe/scrapy-contrib-bigexporters@b1294fc6824e4649a66c49d8369a7bf5267aa34d
- Branch / Tag:
refs/tags/scb-0.5.0
- Owner: https://github.com/ZuInnoTe
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish_pypi.yml@b1294fc6824e4649a66c49d8369a7bf5267aa34d
- Trigger Event:
push
- Statement type: