{"id":18402198,"url":"https://github.com/gerapy/gerapyrabbitmq","last_synced_at":"2025-04-07T07:32:04.153Z","repository":{"id":57433899,"uuid":"282440431","full_name":"Gerapy/GerapyRabbitMQ","owner":"Gerapy","description":"Distribution Support for Scrapy \u0026 Gerapy using RabbitMQ","archived":false,"fork":false,"pushed_at":"2023-11-27T15:58:16.000Z","size":16,"stargazers_count":9,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T14:34:48.641Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gerapy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-25T12:33:59.000Z","updated_at":"2024-08-12T15:49:05.000Z","dependencies_parsed_at":"2024-11-06T03:08:02.858Z","dependency_job_id":"5bc47195-7d88-454e-8371-3d9484c07f15","html_url":"https://github.com/Gerapy/GerapyRabbitMQ","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"5b74fee6990b2b9fcb590b3cf12e0c668be65130"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gerapy%2FGerapyRabbitMQ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gerapy%2FGerapyRabbitMQ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gerapy%2FGerapyRabbitMQ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gerapy%2FGerapyRabbitMQ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gerapy","download_url":"https://codeload.github.com/Gerapy/GerapyRabbitMQ/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247612259,"owners_count":20966702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T02:41:34.627Z","updated_at":"2025-04-07T07:32:04.147Z","avatar_url":"https://github.com/Gerapy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gerapy RabbitMQ\n\nThis is a package for supporting distribution in Scrapy using RabbitMQ, also this\npackage is a module in [Gerapy](https://github.com/Gerapy/Gerapy).\n\n## Installation\n\nYou can install with this command:\n\n```shell script\npip3 install gerapy-rabbitmq\n```\n\n## Usage\n\nRequired configuration:\n\n```python\n# Use RabbitMQ for queue\nSCHEDULER = \"gerapy_rabbitmq.scheduler.Scheduler\"\nSCHEDULER_QUEUE_KEY = '%(spider)s_requests'\n\n# RabbitMQ Connection Parameters, see https://pika.readthedocs.io/en/stable/modules/parameters.html\nRABBITMQ_CONNECTION_PARAMETERS = {\n    'host': 'localhost'\n}\n\n# Use Redis for dupefilter\nDUPEFILTER_CLASS = \"gerapy_redis.dupefilter.RFPDupeFilter\"\nSCHEDULER_DUPEFILTER_KEY = '%(spider)s:dupefilter'\n```\n\nOptional configuration:\n\n```python\n# RabbitMQ Queue Configuration\nSCHEDULER_QUEUE_DURABLE = True\nSCHEDULER_QUEUE_MAX_PRIORITY = 100\nSCHEDULER_QUEUE_PRIORITY_OFFSET = 30\nSCHEDULER_QUEUE_FORCE_FLUSH = True\nSCHEDULER_PERSIST = False\nSCHEDULER_IDLE_BEFORE_CLOSE = 0\nSCHEDULER_FLUSH_ON_START = False\nSCHEDULER_PRE_ENQUEUE_ALL_START_REQUESTS = True\n```\n\n## More\n\nFor more detail, you can refer to [example](./example).\n\n## RabbitMQ Preview\n\n![](https://qiniu.cuiqingcai.com/zjc82.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerapy%2Fgerapyrabbitmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgerapy%2Fgerapyrabbitmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerapy%2Fgerapyrabbitmq/lists"}