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.9.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for laravel_queue-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2c355fff2fb124e67456b1b4c3a5152ede1b331b8eadb6bfe82eb8297492d3b |
|
MD5 | de821c100a35ecf60ad7bcf1cb8f34ee |
|
BLAKE2b-256 | 3a29b54a4c1a63d24d87c5aab932d0990adc6abc2642cb0769818b6732dc02d1 |