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 hashes)
Built Distribution
Close
Hashes for sqlmodel_celery_beat-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d94f4984c8d391a8e141b1737c7691c2c102ab5f824dcfc2d9bd77b7b4dcd117 |
|
MD5 | cee583be09c79ee9df18855cb685b0c7 |
|
BLAKE2b-256 | 8235e7943209d6d8bb6a3920a05af31587f68886f76aa0b1323bc0992f327a62 |
Close
Hashes for sqlmodel_celery_beat-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0447cfaaa06222ad418f5356e896cd425743363a8879c76efb2957098bce9b3e |
|
MD5 | f6cb5e1dd63df7cba4f512433c2f50b9 |
|
BLAKE2b-256 | d0e702ba46d366c0c3b29a41bbbff70d81d522ed2943dc6156727000276020c4 |