From eec18fd1e49d4800055a01bce3e6e7b664919f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sadam=C2=B7Sadik?= <1903249375@qq.com> Date: Wed, 20 Mar 2024 10:51:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E5=8C=85=E5=90=AB=E4=B8=AD?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E7=BC=96=E8=AF=91=E5=A5=BD=E7=9A=84?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=E6=96=87=E4=BB=B6(*.mo),=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E6=96=87=E6=A1=A3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sadam·Sadik <1903249375@qq.com> --- MANIFEST.in | 2 +- README.md | 25 +++++++++++++++---------- README.rst | 32 +++++++++++++++++++++++++++++++- README.zh.md | 29 +++++++++++++++++------------ pyproject.toml | 2 +- 5 files changed, 65 insertions(+), 25 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 971e1dc..91cbfdf 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,2 @@ recursive-include django_celery_stack *.py -recursive-include django_celery_stack/locale *.po \ No newline at end of file +recursive-include django_celery_stack/locale *.po *.mo \ No newline at end of file diff --git a/README.md b/README.md index fb0736c..2202fa6 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,20 @@ English | [中文](README.zh.md) -Django Celery Stack & Admin is a full-featured stack that integrates Django, Celery, and DjangoAsyncAdmin, designed to -provide web developers with a powerful and user-friendly asynchronous task and scheduling solution. The integration of -Django’s powerful web framework, Celery’s task queue and scheduling capabilities, and DjangoAsyncAdmin’s asynchronous -management interface allows developers to easily implement complex data processing, scheduled tasks, and interactive -management in their Django projects. +A comprehensive stack solution that ensures seamless compatibility between Celery and Django, integrating key components +such as django-celery-beat, django-celery-result, and django-celery-progress. This integration provides web developers +with a robust framework for handling asynchronous tasks, scheduling, and tracking task execution within their Django +projects. + +In addition, its interface and interaction are very friendly and modern, and it has overcome the traditional interaction +shortcomings of Django by referencing [DjangoAsyncAdmin](https://github.com/Haoke98/DjangoAsyncAdmin). + ![](assets/registeredTaskRunForm.png) ### Django Celery Stack & Admin offers the following key features: * **Asynchronous Task Queue** : - + Utilize Celery’s distributed message passing system to delegate CPU-bound tasks to the background, improving the responsiveness and performance of the application. * Scheduled Task Scheduler: @@ -36,12 +39,14 @@ management in their Django projects. The design of Django Celery Stack & Admin is flexible, allowing for easy integration with other Django applications and Celery components to meet various requirements. ![](assets/registeredTaskList.png) -Whether you are a traditional web developer who needs to process a large amount of data or a system administrator who -requires complex scheduling tasks, Django Celery Stack & Admin is the perfect choice for you. It provides an efficient -and scalable asynchronous task and scheduling solution that will make your Django project run smoother. Join us now and -start enjoying the convenience brought by Django Celery Stack & Admin! +For both traditional web developers handling substantial data processing needs and system administrators tasked with +intricate scheduling, this full stack solution for Celery and Django compatibility is the optimal selection. +It delivers a proficient and scalable framework for managing asynchronous tasks and scheduling, enhancing the +performance of your Django projects. Embrace this solution today and begin reaping the benefits of streamlined task +management and scheduling within your Django environment. ### Develop & Contribution + 1. Clone the project to your local. ```shell git clone https://github.com/Haoke98/django-celery-stack.git diff --git a/README.rst b/README.rst index c9e798f..e138e46 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,21 @@ -Django Celery Stack & Admin offers the following key features: +A comprehensive stack solution that ensures seamless compatibility between Celery and Django, integrating key components +such as django-celery-beat, django-celery-result, and django-celery-progress. This integration provides web developers +with a robust framework for handling asynchronous tasks, scheduling, and tracking task execution within their Django +projects. + +In addition, its interface and interaction are very friendly and modern, and it has overcome the traditional interaction +shortcomings of Django by referencing DjangoAsyncAdmin. + +🅶 GUI +------------------------------ + +.. image:: https://github.com/Haoke98/django-celery-stack/raw/main/assets/registeredTaskRunForm.png + :width: 600px + + + +🅺 key features +------------------------------ * Asynchronous Task Queue : @@ -24,3 +41,16 @@ Django Celery Stack & Admin offers the following key features: * Easy to Integrate and Extend: The design of Django Celery Stack & Admin is flexible, allowing for easy integration with other Django applications and Celery components to meet various requirements. + + + + +.. image:: https://github.com/Haoke98/django-celery-stack/raw/main/assets/registeredTaskList.png + :width: 600px + + +For both traditional web developers handling substantial data processing needs and system administrators tasked with +intricate scheduling, this full stack solution for Celery and Django compatibility is the optimal selection. +It delivers a proficient and scalable framework for managing asynchronous tasks and scheduling, enhancing the +performance of your Django projects. Embrace this solution today and begin reaping the benefits of streamlined task +management and scheduling within your Django environment. \ No newline at end of file diff --git a/README.zh.md b/README.zh.md index 5ceff97..582c88f 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,34 +1,39 @@ # Django Celery Stack -[English](README.md) | 中文 +[English](README.md) | 中文 -Django Celery Stack & Admin 是一个集成 Django、Celery 以及 DjangoAsyncAdmin 的全功能栈,旨在为 Web 开发者提供一个强大、易用的异步任务和定时任务解决方案。该项目将 Django 的强大 Web 框架、Celery 的任务队列和定时任务功能、以及 DjangoAsyncAdmin 的异步管理界面进行了深度整合,使得开发者能够轻松地在他们的 Django 项目中实现复杂的数据处理、定时任务以及交互式管理。 +一个全面的解决方案,确保 Celery 和 Django 之间的无缝兼容性,集成了 django-celery-beat、django-celery-result 和 +django-celery-progress 等关键组件。 这种集成为 Web 开发人员提供了一个强大的框架,用于在 Django 项目中处理异步任务、调度和跟踪任务执行。 + +另外,它的界面和交互非常友好和现代化,克服了传统的交互方式 +Django的缺点参考 [DjangoAsyncAdmin](https://github.com/Haoke98/DjangoAsyncAdmin). ### Django Celery Stack & Admin 提供了以下关键特性: -* **异步任务队列**: - +* **异步任务队列**: + 使用 Celery 的分布式消息传递系统,将繁重的数据处理任务分离到后台执行,提高应用程序的响应速度和性能。 -* **定时任务调度**: - +* **定时任务调度**: + 通过内置的 Celery Beat 调度器,可以轻松地安排周期性的任务,如数据同步、报告生成等。 -* 任务结果追踪: +* 任务结果追踪: 利用 Celery 的结果后端,可以持久化存储任务执行结果,便于调试和监控任务状态。 -* 进度更新: +* 进度更新: 通过集成 django-celery-progress 包,可以实时追踪任务进度,为用户提供交互式的反馈。 -* 优化管理界面: +* 优化管理界面: 在三个项目的基础上,利用 DjangoAsyncAdmin 对交互和管理页面进行优化和提升,使得管理任务和监控进度变得更加直观、便捷。 -* 易于集成和扩展: +* 易于集成和扩展: Django Celery Stack & Admin 设计灵活,可以轻松与其他 Django 应用程序和 Celery 组件集成,满足各种需求。 - -无论您是一个需要处理大量数据的传统 Web 开发者,还是需要实现复杂定时任务的系统管理员,Django Celery Stack & Admin 都是您的不二选择。它将为您提供一个高效、可扩展的异步任务和定时任务解决方案,让您的 Django 项目运行更加顺畅。立即加入我们,开始享受 Django Celery Stack & Admin 带来的便利吧! \ No newline at end of file +对于处理大量数据处理需求的传统 Web 开发人员和负责复杂调度的系统管理员来说,这种兼容 Celery 和 Django 的全栈解决方案是最佳选择。 +它提供了一个熟练且可扩展的框架,用于管理异步任务和调度,从而提高 Django 项目的性能。 立即采用此解决方案,并开始在 Django +环境中享受简化的任务管理和调度的好处。 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 08f02b4..cfece85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "django-celery-stack" -version = "1.0.1" +version = "1.0.2" dependencies = [ "django-crontab>=0.7.1", "DjangoAsyncAdmin>=6.11.2",