Reads from a Laravel queue
Project description
Laravel Queue for Python
Currently:
- only supports reading
- only supports queues in postgres
Read Jobs from Queue
from laravel-queue import Queue
connection_string = "postgresql://user:password@host:5432/db"
queue = Queue(connection_string)
queue.read()
Queue Args:
connection: str or sqlalchemy.engine.base.Engine
queue: str, default 'python', the queue name in the database
jobs_table: str, default 'jobs.jobs', the table name for the jobs
failed_jobs_table: str, default 'jobs.failed_jobs', the table name for the failed jobs
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
laravel_queue-0.0.6.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for laravel_queue-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cd1c3f27f2dd889af78f34aeeb9be43d190c14b8de9bf6cfebdbc28ee9e3eff |
|
MD5 | 9d3abd762a443755700d250bc38d41a7 |
|
BLAKE2b-256 | 885f3a7db3dcd3eb9423a9d0d9cd41f4cb24750295c9991910d7ef1aaf73af9d |