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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d94f4984c8d391a8e141b1737c7691c2c102ab5f824dcfc2d9bd77b7b4dcd117
|
|
| MD5 |
cee583be09c79ee9df18855cb685b0c7
|
|
| BLAKE2b-256 |
8235e7943209d6d8bb6a3920a05af31587f68886f76aa0b1323bc0992f327a62
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0447cfaaa06222ad418f5356e896cd425743363a8879c76efb2957098bce9b3e
|
|
| MD5 |
f6cb5e1dd63df7cba4f512433c2f50b9
|
|
| BLAKE2b-256 |
d0e702ba46d366c0c3b29a41bbbff70d81d522ed2943dc6156727000276020c4
|