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.7.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file laravel_queue-0.0.7.tar.gz
.
File metadata
- Download URL: laravel_queue-0.0.7.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88281ddfcd3c4fbbc7c332216306551baeb14c84a2c75921a4d4cd85c3d3b524 |
|
MD5 | 22136efefe370cc1bb7d1ded6fd30558 |
|
BLAKE2b-256 | 7142b58a8f37f623a9c893cc0369ea99870064234c27505f98b806a5161b2578 |
File details
Details for the file laravel_queue-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: laravel_queue-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3dd9f5015b909a8cf0a8ff4818a1ece3d9f12fa7a28b5b31d72614cbfef5b20 |
|
MD5 | 90ffd30c2fca28eb43b422a0cd250eee |
|
BLAKE2b-256 | ad39e154bc838d9d5273683b6995eed3604752d9faf680af784c8fb579dfc8de |