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.31.1.tar.gz (77.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shub_workflow-1.14.31.1-py3-none-any.whl (87.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shub_workflow-1.14.31.1.tar.gz
Algorithm Hash digest
SHA256 f6fac7c54b071b8c87defa6fe222a19d382f3b8f66d5334f4e6d836d88e53b12
MD5 e94b7582b9c7c070e8f0a4b0cb307ed4
BLAKE2b-256 8a2ba5f7afa3997a2c1b2e1684632cebedff8791ed2bdf6e6b98c202f29e02e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shub_workflow-1.14.31.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cbe8283360f68fcf2890869d7d4dc41228c00f7128c2698e610295aa993b3c5
MD5 b3354ae905c402a2188ee13b97d2698e
BLAKE2b-256 ddd71f61e33cbf0abfeb0e18722352a185c29c8ef1fa2c0c3802b843ce18ae5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page