django-q
Poe the Poet
django-q | Poe the Poet | |
---|---|---|
8 | 8 | |
1,791 | 1,282 | |
- | - | |
0.0 | 8.0 | |
about 2 months ago | 9 days ago | |
Python | Python | |
MIT License | MIT 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.
django-q
-
Background jobs with Django
Other options are DjangoQ and Huey, which tend to work ok. Of the two I prefer DjangoQ. Database backed, don't require the Redis/Celery rigmarole.
-
Why are Notifications so much work to do in Django?
If you want a "simple" solution for sending email, the simplest that will likely last you the longest is using DjangoQ to create a background task that looks for model records that have not been emailed. Then use Sendgrid with an email backend to send them. You can use a library that already provides a Sendgrid email backend as well.
- Simple Task Queue system that works with Django 4 / Python 3.9?
-
celery and call_command
Take a look at Django-Q I was using it before moving to celery. Seems great just wanted experience with celery. Much simpler to get setup. Even use Django admin to schedule your tasks. Other option is a management command thats called using the full path of the python virtual env from a cron entry.
-
New DigitalOcean Pricing
App Platform is a great concept, but we hit a dealbreaking road block when trying to migrate some Python apps with job queues. Their runtime (gVisor) doesn't support semaphore locks, which is used by Pythons multiprocessing and in turn used by most job runners (we discovered it with django-q, but I think most, if not all of them including Celery, rely on this, see link below).
The build times for Dockerfiles are also atricious… our build failed after 40 minutes by running out of memory and the multi-stage Dockerfile really wasn't anything special. We would have just used the images hosted on Github Container Registry, but App Platform only supports a limited range of Docker registries too. Note: the images build in 3 minutes on Github Actions.
As far as I can see it is also not possible to add any block storage too. While I mostly work on projects that use object storage anyway, SOME things just need persistent block storage. Which is annoying, since DigitalOcean HAS block storage… just not for App Platform.
I really wanted to use it, but man they make it hard.
https://github.com/Koed00/django-q/issues/522#issuecomment-1...
-
Database backed task queue recommendations?
I use Django Q with ORM broker. Store tasks in db and retry if failed. You can also view/manage your queue in Django admin if you use ORM as broker (https://django-q.readthedocs.io/en/latest/brokers.html#django-orm).
-
what are 3 django packages everyone should know about?
django-q - Light weight task queue. When celery is too much over head.
-
Whats the best Task Queue/Scheduler that could run my API calls in the background?
Check out https://github.com/Koed00/django-q
Poe the Poet
-
Template repository for Python projects
Compatible with the new pyproject.toml standard, and working well with poetry, there's poethepoet. It's a good alternative, it keeps in the python environment, it's installable through pip(x), and it's cross platform for the windows pythonistas (and there are some, not everyone has more than 1 computer at home...)
- Alternatives to Makefile for Python
-
Which not so well known Python packages do you like to use on a regular basis and why?
I use Poe The Poet https://github.com/nat-n/poethepoet.
-
Python toolkits
So the Poetry maintainer has explained here about why they don’t have the better scripts support you mentioned. However, someone has already built this plugin for Poetry to achieve it.
-
Who’s the Poet Working at Reddit?
Poe the Poet, probably.
-
Poe the Poet is a task runner that works well with poetry.
I've been working on this tool for a while now, which I'm starting to feel is ready for a bit more exposure, it's called Poe the Poet.
-
Building a Micro Business: What Services I Pay For
nat-n: developer of poethepoet
-
what are 3 django packages everyone should know about?
poe: Not Django-specific, but nice task-runner that uses pyproject.toml
What are some alternatives?
django-db-queue - Simple database-backed job queue
warehouse - The Python Package Index
django-rq - A simple app that provides django integration for RQ (Redis Queue)
Python Packages Project Generator - 🚀 Your next Python package needs a bleeding-edge project structure.
django-jazzmin - Jazzy theme for Django
devpi
django-post_office - A Django app that allows you to send email asynchronously in Django. Supports HTML email, database backed templates and logging.
Poetry - Python packaging and dependency management made easy
whitenoise - Radically simplified static file serving for Python web apps
localshop - local pypi server (custom packages and auto-mirroring of pypi)
dramatiq - A fast and reliable background task processing library for Python 3.
bandersnatch