A library to filter SQLAlchemy queries.
Project description
Scrapyq is designed to replace the SQLite backend by a Redis backend. In other words, all the queue management will be done using Redis.
Scrapyq is a fork of the original https://github.com/speakol-ads/scrapyd-redis implementation.
Install
pip install scrapyq
Config
To start using this library you just need to override the spiderqueue option in your scrapyd.conf file:
[scrapyd]
spiderqueue = scrapyq.spiderqueue.RedisSpiderQueue
...
If you want to customize the access to the database, you can add into your scrapyd.conf file:
[scrapyq]
queue_prefix = scrapyq.queue.
redis_db = 0
redis_host = localhost
redis_port = 6379
redis_username = 'admin' # (Optional)
redis_password = 'password' # (Optional)
...
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
scrapyq-1.0.0.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file scrapyq-1.0.0.tar.gz
.
File metadata
- Download URL: scrapyq-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26194a3fdbd362d7ad80dff41467a5e725d567d0dfb8e727844f5299fc056189 |
|
MD5 | c5b906ee799a31a288af4153ae51eada |
|
BLAKE2b-256 | 2602b527c606c6922577b41450b954ba659e6cf9324f8f4d173c77e054456787 |
File details
Details for the file scrapyq-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: scrapyq-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c6ca275d6062a66d8f51ebb8002933a0325b855e961912cf7541b51d53c66af |
|
MD5 | 59c5333aeccbc54375801e9f66780582 |
|
BLAKE2b-256 | f5ebd17ec06bb925579b713b648bbae942e6f34130e8b94f7b6c8e1966324e2b |