Skip to main content

A SQLModel based scheduler for Celery

Project description

Database backed Celery Beat Scheduler

Description

This is an sqlmodel based implementation of the celery beat scheduler. It persists periodic celery tasks in a SQLAlchemy-compatible database. I built this because celery-sqlalchemy-scheduler is not maintained and does not support ClockedSchedules.

Usage

You can install this package using pip. After installation, specify the database connection string in the Celery config, using the name beat_dburi.

You can run the beat instance using:

celery -A {{app_name}} beat --scheduler sqlmodel_celery_beat.schedulers:DatabaseScheduler -l INFO

Acknowledgements

During the development of this project I used the following projects as reference:

  • celery-sqlalchemy-scheduler
  • django-celery-beat
  • celerybeatredis
  • celery
  • sqlmodel

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

sqlmodel_celery_beat-0.1.3.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlmodel_celery_beat-0.1.3-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file sqlmodel_celery_beat-0.1.3.tar.gz.

File metadata

  • Download URL: sqlmodel_celery_beat-0.1.3.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-1012-azure

File hashes

Hashes for sqlmodel_celery_beat-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d94f4984c8d391a8e141b1737c7691c2c102ab5f824dcfc2d9bd77b7b4dcd117
MD5 cee583be09c79ee9df18855cb685b0c7
BLAKE2b-256 8235e7943209d6d8bb6a3920a05af31587f68886f76aa0b1323bc0992f327a62

See more details on using hashes here.

File details

Details for the file sqlmodel_celery_beat-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: sqlmodel_celery_beat-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-1012-azure

File hashes

Hashes for sqlmodel_celery_beat-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0447cfaaa06222ad418f5356e896cd425743363a8879c76efb2957098bce9b3e
MD5 f6cb5e1dd63df7cba4f512433c2f50b9
BLAKE2b-256 d0e702ba46d366c0c3b29a41bbbff70d81d522ed2943dc6156727000276020c4

See more details on using hashes here.

Supported by

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