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.8.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for laravel_queue-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 769e55350cf3e69d9824605409d1338d09734bf90fbb23eec5f77b4a2b6f6f1b |
|
MD5 | 6b8e4138d52cdd9cc9434cdf7edcc209 |
|
BLAKE2b-256 | 32ebcc87a3167ff0350135e325c633908ddbba1b8031d39817e6137760494760 |