Skip to main content

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


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)

Uploaded Source

Built Distribution

laravel_queue-0.0.9-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page