|4 days ago||5 days ago|
|GNU General Public License v3.0 or later||BSD 3-clause "New" or "Revised" License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Is it possible to link a model's field to a specific function?
1 project | reddit.com/r/django | 11 May 2022
Something similar is presented in django-celery-beat where you’re able to create schedule for running repeated task. So, there is choice field in admin, and choices are literally names of registered celery tasks.
1 project | reddit.com/r/django | 8 Jan 2022
I would recommend using celery in combination with celery beat scheduling and this package https://github.com/celery/django-celery-beat . What this means is if you have a task that you want to dynamically schedule for different times for different users all you have to do as add a new row to a database table and celery will handle the rest for executing.
How do you subscribe to a feed in Django?
1 project | reddit.com/r/django | 27 Dec 2021
If you want more control and/or visibility into your periodic tasks, I'd go with something like Celery Beat, that's easily integrated with Django: https://github.com/celery/django-celery-beat
Django 4.0 released
1 project | reddit.com/r/Python | 7 Dec 2021
For me it was django-celery-beat
[Task] Python/Django $20 Overriding a model of a Django App to add a field
1 project | reddit.com/r/slavelabour | 27 Aug 2021
I use a Django extension called django-celery-beat. It creates several models & one of those models is called crontab. It has a few fields & I would like to add one more field so that I can name these crontabs for easy reference. So I need to override the model & add the field.
Variables pool system
1 project | reddit.com/r/learnpython | 4 May 2022
It is feasible and there are a number of ways to do it. There are a few issues, though, mainly how to make sure that you are accessing the latest data and not getting part of the data mid write. A database handles these issues pretty well, since generally they are meant to be an intermediary between different processes. Another solution, that is often more flexible, is a message queue, like this one: https://github.com/celery/kombu
Messaging and Madness: Sending Messages with AMQP and Amazon MQ
1 project | dev.to | 30 Oct 2021
Above I use the library Kombu to create some connections and send some stuff. I started by setting up our environment variables. Then created exchange and queue objects. Finally, I made our connection object and the producer object, and then we sent a simple “Hello” message.
What are some alternatives?
celery - Distributed Task Queue (development branch)
django-celery-docker-example - Example Docker setup for a Django app behind an Nginx proxy with Celery workers
rq - Simple job queues for Python
huey - a little task queue for python
gevent - Coroutine-based concurrency library for Python
rele - Easy to use Google Pub/Sub
pika - Pure Python RabbitMQ/AMQP 0-9-1 client library
mrq - Mr. Queue - A distributed worker task queue in Python using Redis & gevent
KQ - Kafka-based Job Queue for Python
Streamz - Real-time stream processing for python
celery-progress - Drop in, configurable, dependency-free progress bars for your Django/Celery applications.
django-celery - Old Celery integration project for Django