Skip to main content

Crawlab Python SDK

Python SDK for Crawlab

Installation

pip install crawlab-sdk

Usage

CLI

crawlab-cli

Scrapy Integration

In settings.py, add the following:

ITEM_PIPELINES = {
    'crawlab.CrawlabPipeline': 300
}

Save Scraped Items

from crawlab import save_item

scraped_items = [
    {
        'name': 'item1',
        'value': 'value1'
    },
    {
        'name': 'item2',
        'value': 'value2'
    }
]

for item in scraped_items:
    save_item(item) 

Development

Pre-requisites

pip install poetry

Install dependencies

poetry install

Metadata

Release files for crawlab-sdk 0.7.0

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

Source distribution (sdist)

Source distribution for crawlab-sdk 0.7.0
File Size Uploaded
crawlab_sdk-0.7.0.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crawlab-sdk 0.7.0
File Interpreter ABI Platform
crawlab_sdk-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.1 kB

Release files / crawlab_sdk-0.7.0.tar.gz

Download URL crawlab_sdk-0.7.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
973c559311d5ed7ed40e48de55540cd69ff38c43c21737039fb0295bbfbe1e37
BLAKE2b-256 checksum
How to use checksums
38b8eef82a08ab193017626f24aa7c965a7dc17b64727ad1e5bc3a2d2d208d1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.

Transparency log

Release files / crawlab_sdk-0.7.0-py3-none-any.whl

Download URL crawlab_sdk-0.7.0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ff4a31cec73bfa38f98953c9166df950e3c80ae9212c4cca2116517d81a4bcf
BLAKE2b-256 checksum
How to use checksums
e1a528016336f2a696996a7d0738c218d89e85206bafda6328c699e28a3a74c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 14, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.2

2 release files

0.6.0

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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