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.4.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for laravel_queue-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0419f90493dacd736c3037e05518538ebb673e9de9a91f23be28187045afc0c2 |
|
MD5 | ad5c19512e1c4d9d830bc1db8fb28741 |
|
BLAKE2b-256 | a300324244f91712c24afcc568ab85b36f18c22b11b08727d06d50b049a6ace2 |