Skip to main content

Workflow manager for Zyte ScrapyCloud tasks.

Project description

A set of tools for controlling processing workflow with spiders and script running in scrapinghub ScrapyCloud.

Installation

pip install shub-workflow

If you want to support s3 tools:

pip install shub-workflow[with-s3-tools]

For google cloud storage tools support:

pip install shub-workflow[with-gcs-tools]

Usage

Check Project Wiki for documentation. You can also see code tests for lots of examples of usage.

Note

The requirements for this library are defined in setup.py as usual. The Pipfile files in the repository don't define dependencies. It is only used for setting up a development environment for shub-workflow library development and testing.

For developers

For installing a development environment for shub-workflow, the package comes with Pipfile and Pipfile.lock files. So, clone or fork the repository and do:

> pipenv install --dev
> cp pre-commit .git/hooks/

for installing the environment, and:

> pipenv shell

for initiating it.

There is a script, lint.sh, that you can run everytime you need from the repo root folder, but it is also executed each time you do git commit (provided you installed the pre-commit hook during the installation step described above). It checks code pep8 and typing integrity, via flake8 and mypy.

> ./lint.sh

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shub_workflow-1.14.11.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

shub_workflow-1.14.11-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

Details for the file shub_workflow-1.14.11.tar.gz.

File metadata

  • Download URL: shub_workflow-1.14.11.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for shub_workflow-1.14.11.tar.gz
Algorithm Hash digest
SHA256 7da77e1db1e9424755a620c6d3816c3c88d2e9149dee749a516ae8c4f882a773
MD5 d48270a22c0528fa59fb166c755e4f37
BLAKE2b-256 2193ce66275734a7f4641160b7fda2587039209b77f8c16cbe5e1fc081f3d6b6

See more details on using hashes here.

File details

Details for the file shub_workflow-1.14.11-py3-none-any.whl.

File metadata

File hashes

Hashes for shub_workflow-1.14.11-py3-none-any.whl
Algorithm Hash digest
SHA256 0556b06e3cda01172c6f16ebef85f1b5dab32fa6ad0f1976b5849a7fc7ed8f99
MD5 255527aaa5132e6881c175e751edf816
BLAKE2b-256 736d2bd170d60aa0781772983b641a1435e444e16a6835d6b1eb26e7d70a1a8d

See more details on using hashes here.

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