Skip to main content

scrapy-dynamodb

scrapy-dynamodb allows you to export your items to a DynamoDB database.

Installation

You can install scrapy-dynamodb either via the Python Package Index (PyPI) or from source.

To install using pip,:

$ pip install scrapy-dynamodb

To install using easy_install,:

$ easy_install scrapy-dynamodb

Downloading and installing from source

Download the latest version of scrapy-dynamodb from http://pypi.python.org/pypi/scrapy-dynamodb/

You can install it by doing the following,:

$ tar xvfz scrapy-dynamodb-0.0.0.tar.gz
$ cd scrapy-dynamodb-0.0.0
# python setup.py install # as root

Using the development version

You can clone the git repository by doing the following:

$ git clone git://github.com/acordiner/scrapy-dynamodb.git

Setup

In pipelines.py add import statement:

from scrapy_dynamodb import DynamoDbPipeline

Using scrapy-dynamodb

To use scrapy-dynamodb in your Scrapy project, add the following line to your settings.py:

ITEM_PIPELINES = {
    'scraper.pipelines.DynamoDbPipeline': 1,
    # replace scraper with your scrapy project name
}

AWS_ACCESS_KEY_ID = '<aws access key id>'
AWS_SECRET_ACCESS_KEY = '<aws secret access key>'
DYNAMODB_PIPELINE_REGION_NAME = 'us-east-1'
DYNAMODB_PIPELINE_TABLE_NAME = 'my_table'
DYNAMODB_ENDPOINT_URL = '<dynamodb endpoint url>' # optional  (e.g.: http://localhost:8000)

That’s it!

Metadata

Release files for scrapy-dynamodb 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scrapy-dynamodb 0.2.3
File Size Uploaded Provenance Actions
scrapy-dynamodb-0.2.3.tar.gz 2.6 kB Without provenance Details for scrapy-dynamodb-0.2.3.tar.gz

Release files / scrapy-dynamodb-0.2.3.tar.gz

Download URL scrapy-dynamodb-0.2.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6a8a818639c195dc62db339f526067be6344c56510be535d006a971f764a55b2
BLAKE2b-256 checksum
How to use checksums
28897b0dca97aabea1ff2772d7c1133e9e40e9a70ff2bbe9bfae80723852a0d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.7

Security for scrapy-dynamodb 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page