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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crawlab_sdk-0.7.0.tar.gz | 7.5 kB | With provenance | Details for crawlab_sdk-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crawlab_sdk-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for crawlab_sdk-0.7.0-py3-none-any.whl |
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 logRelease 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 logSecurity for crawlab-sdk 0.7.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for crawlab_sdk-0.7.0.tar.gz
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 logA 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.