Skip to main content

ScrapyCloud HubStorage frontier backend for Frontera

Project description

HCF (HubStorage Crawl Frontier) Backend for Frontera

When used with scrapy, use it with Scrapy Scheduler provided by scrapy-frontera. Scrapy scheduler provided by Frontera is not supported. scrapy-frontera is a scrapy scheduler which allows to use frontera backends, like the present one, with scrapy projects.

See specific usage instructions at module and class docstrings at backend.py. Some examples of usage can be seen in the scrapy-frontera README.

A complete tutorial for using hcf-backend with ScrapyCloud workflows is available at shub-workflow Tutorial: Managing Hubstorage Crawl Frontiers. shub-workflow is a framework for defining workflows of spiders and scripts running over ScrapyCloud. This is a strongly recommended lecture, because it documents the integration of different tools which together provide the best benefit.

Package also provides a convenient command line tool for hubstorage frontier handling and manipulation: hcfpal.py. It supports dumping, count, deletion, moving, listing, etc. See command line help for usage.

Another provided tool is crawlmanager.py. It facilitates the scheduling of consumer spider jobs. Examples of usage are also available in the already mentioned shub-workflow Tutorial.

Installation

pip install hcf-backend

Development environment setup

For hcf-backend developers, Pipfile files are provided for a development environment.

Run:

$ pipenv install --dev
$ pipenv shell
$ cp .envtemplate .env

and edit .env accordingly

Project details


Download files

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

Source Distribution

hcf_backend-0.5.2.5.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

hcf_backend-0.5.2.5-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file hcf_backend-0.5.2.5.tar.gz.

File metadata

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

File hashes

Hashes for hcf_backend-0.5.2.5.tar.gz
Algorithm Hash digest
SHA256 4cb62822ffd049280d78165d5a006e17494b7ed67f6999b351e360be42a55f90
MD5 c07319cab2c472e4e1f3156531d5b88a
BLAKE2b-256 333c5aeeb8ad2736e54e119e676573735c1c7e450e19bcd028b167df03b5c0f9

See more details on using hashes here.

File details

Details for the file hcf_backend-0.5.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for hcf_backend-0.5.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7ae0e629e09fd6b7706e259d5300e67835574fe42dc19b6446b6166505230fae
MD5 3a3be6d5c77b4cba2fc290b83fa7b577
BLAKE2b-256 dc1ab6e89909b1f60c257906855d54625cc62df94943f603b1a2446279aaa497

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