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.2.7.tar.gz (10.7 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.2.7-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sqlmodel_celery_beat-0.2.7.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.5.0-1021-azure

File hashes

Hashes for sqlmodel_celery_beat-0.2.7.tar.gz
Algorithm Hash digest
SHA256 830ae11592a487e07fd31b09ed011407dc7e1a38c4f57c4665540f190a9dc95d
MD5 88f0673353052b6f88384fcf2094aaef
BLAKE2b-256 052d2fc3ab946e5830d82793e305898f10a32de9b8c6a7b05713e5fca46b014e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sqlmodel_celery_beat-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8995edcc1989fa81c94c77738694f218ba3c9ad5578f5802a7eb84b1019e87f6
MD5 39a225f7f001e5c050abab15c59dc6fe
BLAKE2b-256 b5d76adad635d94190fc52dd9ce305fc0ad859b4e3db72194bccc615da68abf2

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