This commit is contained in:
Iliyan Angelov
2025-09-19 11:58:53 +03:00
parent 306b20e24a
commit 6b247e5b9f
11423 changed files with 1500615 additions and 778 deletions

View File

@@ -0,0 +1,177 @@
Metadata-Version: 2.4
Name: django_celery_results
Version: 2.6.0
Summary: Celery result backends for Django.
Home-page: https://github.com/celery/django-celery-results
Author: Asif Saif Uddin
Author-email: auvipy@gmail.com
License: BSD
Project-URL: Documentation, https://django-celery-results.readthedocs.io/en/latest/
Project-URL: Changelog, https://django-celery-results.readthedocs.io/en/latest/changelog.html
Project-URL: Repository, https://github.com/celery/django-celery-results
Keywords: celery django database result backend
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.1
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Classifier: Operating System :: OS Independent
Classifier: Topic :: Communications
Classifier: Topic :: System :: Distributed Computing
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: celery<6.0,>=5.2.7
Requires-Dist: Django>=3.2.25
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: platform
Dynamic: project-url
Dynamic: requires-dist
Dynamic: summary
=====================================================================
Celery Result Backends using the Django ORM/Cache framework.
=====================================================================
|build-status| |coverage| |license| |wheel| |pyversion| |pyimp|
:Version: 2.6.0
:Web: https://django-celery-results.readthedocs.io/
:Download: https://pypi.python.org/pypi/django-celery-results
:Source: https://github.com/celery/django-celery-results
:Keywords: django, celery, database, results
About
=====
This extension enables you to store Celery task results using the Django ORM.
It defines a single model (``django_celery_results.models.TaskResult``)
used to store task results, and you can query this database table like
any other Django model.
Installing
==========
The installation instructions for this extension is available
from the `Celery documentation`_
.. _`Celery documentation`:
https://docs.celeryq.dev/en/latest/django/first-steps-with-django.html#django-celery-results-using-the-django-orm-cache-as-a-result-backend
.. _installation:
Installation
============
You can install django-celery-results either via the Python Package Index (PyPI)
or from source.
To install using `pip`,::
$ pip install -U django-celery-results
.. _installing-from-source:
Downloading and installing from source
--------------------------------------
Download the latest version of django-celery-results from
https://pypi.python.org/pypi/django-celery-results
You can install it by doing the following,::
$ tar xvfz django-celery-results-0.0.0.tar.gz
$ cd django-celery-results-0.0.0
$ python setup.py build
# python setup.py install
The last command must be executed as a privileged user if
you are not currently using a virtualenv.
.. _installing-from-git:
Using the development version
-----------------------------
With pip
~~~~~~~~
You can install the latest snapshot of django-celery-results using the following
pip command::
$ pip install https://github.com/celery/django-celery-results/zipball/master#egg=django-celery-results
Issues with mysql
-----------------
If you want to run ``django-celery-results`` with MySQL, you might run into some issues.
One such issue is when you try to run ``python manage.py migrate django_celery_results``, you might get the following error::
django.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 767 bytes')
To get around this issue, you can set::
DJANGO_CELERY_RESULTS_TASK_ID_MAX_LENGTH=191
(or any other value if any other db other than MySQL is causing similar issues.)
max_length of **191** seems to work for MySQL.
.. |build-status| image:: https://secure.travis-ci.org/celery/django-celery-results.svg?branch=master
:alt: Build status
:target: https://travis-ci.org/celery/django-celery-results
.. |coverage| image:: https://codecov.io/github/celery/django-celery-results/coverage.svg?branch=master
:target: https://codecov.io/github/celery/django-celery-results?branch=master
.. |license| image:: https://img.shields.io/pypi/l/django-celery-results.svg
:alt: BSD License
:target: https://opensource.org/licenses/BSD-3-Clause
.. |wheel| image:: https://img.shields.io/pypi/wheel/django-celery-results.svg
:alt: django-celery-results can be installed via wheel
:target: https://pypi.python.org/pypi/django-celery-results/
.. |pyversion| image:: https://img.shields.io/pypi/pyversions/django-celery-results.svg
:alt: Supported Python versions.
:target: https://pypi.python.org/pypi/django-celery-results/
.. |pyimp| image:: https://img.shields.io/pypi/implementation/django-celery-results.svg
:alt: Support Python implementations.
:target: https://pypi.python.org/pypi/django-celery-results/
django-celery-results for enterprise
------------------------------------
Available as part of the Tidelift Subscription.
The maintainer of django-celery-results and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainer of the exact packages you use. `Learn more. <https://tidelift.com/subscription/pkg/pypi-django-celery-results?utm_source=pypi-django-celery-results&utm_medium=referral&utm_campaign=readme>`_

View File

@@ -0,0 +1,65 @@
django_celery_results-2.6.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
django_celery_results-2.6.0.dist-info/METADATA,sha256=fpl8D7OXyljqft3HLjIM4SDo6aS94qisJNvKZC_aSFo,6480
django_celery_results-2.6.0.dist-info/RECORD,,
django_celery_results-2.6.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
django_celery_results-2.6.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
django_celery_results-2.6.0.dist-info/entry_points.txt,sha256=qMXj7zaUJS0vVDR6O7pLQGTxCYYsQvoWw1GBCKhp_30,143
django_celery_results-2.6.0.dist-info/licenses/AUTHORS,sha256=76xMxZHLjE1Oh_WrSawvvP-OsHfZ8lcnf8HxtAaCPzg,3190
django_celery_results-2.6.0.dist-info/licenses/LICENSE,sha256=Hl5VSZEcAysExfovSxLF9akg7mI5Q1_xdqR_8G3spyM,2693
django_celery_results-2.6.0.dist-info/top_level.txt,sha256=jGgO_NNWPKOquUSnX4N45E1DrB569qegND1ZHeD4_b8,22
django_celery_results/__init__.py,sha256=l_XQMZMOnCHHCt_2-fkrDtonuhQghtxY8I9v39Vrpzw,996
django_celery_results/__pycache__/__init__.cpython-312.pyc,,
django_celery_results/__pycache__/admin.cpython-312.pyc,,
django_celery_results/__pycache__/apps.cpython-312.pyc,,
django_celery_results/__pycache__/managers.cpython-312.pyc,,
django_celery_results/__pycache__/models.cpython-312.pyc,,
django_celery_results/__pycache__/urls.cpython-312.pyc,,
django_celery_results/__pycache__/utils.cpython-312.pyc,,
django_celery_results/__pycache__/views.cpython-312.pyc,,
django_celery_results/admin.py,sha256=xG1zqzuzCPjoUS7KI3LWryNOD8ctzdicRTNSrmWXNYs,2433
django_celery_results/apps.py,sha256=M-EArRi2YsQx8RrM7XeXqItBmnrbYwsjTW6vHhxm2fU,428
django_celery_results/backends/__init__.py,sha256=Nw2bR_8kiZ_krX8kKLSqJ_UuTTBqC-KRumuWtJUd1N8,117
django_celery_results/backends/__pycache__/__init__.cpython-312.pyc,,
django_celery_results/backends/__pycache__/cache.cpython-312.pyc,,
django_celery_results/backends/__pycache__/database.cpython-312.pyc,,
django_celery_results/backends/cache.py,sha256=_EACVZmhGtaMbS6v7SitWBFraieV7iYSkJRsmLHH3NU,1129
django_celery_results/backends/database.py,sha256=InXJ62kq5POucsRUVrxIekPL7XmhKoI-v8VAD0OKb2s,11349
django_celery_results/locale/es/LC_MESSAGES/django.po,sha256=UiRXNh2WWUJWT_evLj_JF6y-8tZMW6kno1jwkik4KK8,4381
django_celery_results/locale/pt_BR/LC_MESSAGES/django.po,sha256=0CEv0Snx_GnjpF11x3Tk5oeuLvgVW7gNOoW89a72RKU,5177
django_celery_results/locale/ru/LC_MESSAGES/django.po,sha256=5d6SdLPFkvSqBnIwZvNNJEkdA4bJeI0pc_EjeCjPpA4,6710
django_celery_results/locale/zh_Hans/LC_MESSAGES/django.po,sha256=rt82QuGbAN-KISSv1iIEcLZrTNWHgTijb7o32kHlYF0,5813
django_celery_results/managers.py,sha256=oFLUlcnZXTAzZFUThoIxiUvAYbeyPsqidcGMBCnJzrs,7906
django_celery_results/migrations/0001_initial.py,sha256=XAPjo3qvROZgp4zIT4IKaYlxGGk7p55ACywOPwSWE8Q,2585
django_celery_results/migrations/0002_add_task_name_args_kwargs.py,sha256=6JGhKQ-L-0DNQAxllMRnbYTiRjhQ1MCG6GS8xtjOA5g,872
django_celery_results/migrations/0003_auto_20181106_1101.py,sha256=VhECH8nXaDSioanV-LFi5uP6SSZ-1eAGjxP140v3DnE,506
django_celery_results/migrations/0004_auto_20190516_0412.py,sha256=PU7Fbu1I4enmpZuHqpQ48m4TBdlRjU3HEgBeXiYI1CE,4254
django_celery_results/migrations/0005_taskresult_worker.py,sha256=jsSFljk3GGPKmtoiwWHIAFLKfNHoK46lbLikJl12HWk,688
django_celery_results/migrations/0006_taskresult_date_created.py,sha256=CQyvmTdl3jna1q8H6Ipsw_P7sWdSH_sILeKki8YhitE,1399
django_celery_results/migrations/0007_remove_taskresult_hidden.py,sha256=FVSgtxdU03X9HK05-X8tFPS7yoTggIqnb0PuHp66SjA,423
django_celery_results/migrations/0008_chordcounter.py,sha256=ORN2yy9anyUczlPLCaQPGwSzNK1hLE346P4T8j-RItw,1403
django_celery_results/migrations/0009_groupresult.py,sha256=vXvyTICRMEV7_MJBsSghKOvWWnTqbmM-GWP-jusLceo,8003
django_celery_results/migrations/0010_remove_duplicate_indices.py,sha256=14RvoEgpVOZFfQTaomx0mjyr4j_1aSJc527-Ck8NxLI,1521
django_celery_results/migrations/0011_taskresult_periodic_task_name.py,sha256=QiUshPBoUtRoK9XVNyFPoBJ3ORjscljVsgnBexbdsHE,585
django_celery_results/migrations/0012_taskresult_date_started.py,sha256=YfSZKxfM9lGOltOy_rqXUU8Nmytx9yClrrSoC5Ra1uA,607
django_celery_results/migrations/0013_taskresult_django_cele_periodi_1993cf_idx.py,sha256=prpFmPIPnhiTfXsIcGKU23WMfhOjORXr-mKvzE0ujNQ,477
django_celery_results/migrations/0014_alter_taskresult_status.py,sha256=MuHONQQyL7DC6MHuwFGuU5YTI28vXlf7dq2l3e0VSFg,635
django_celery_results/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
django_celery_results/migrations/__pycache__/0001_initial.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0002_add_task_name_args_kwargs.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0003_auto_20181106_1101.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0004_auto_20190516_0412.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0005_taskresult_worker.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0006_taskresult_date_created.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0007_remove_taskresult_hidden.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0008_chordcounter.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0009_groupresult.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0010_remove_duplicate_indices.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0011_taskresult_periodic_task_name.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0012_taskresult_date_started.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0013_taskresult_django_cele_periodi_1993cf_idx.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/0014_alter_taskresult_status.cpython-312.pyc,,
django_celery_results/migrations/__pycache__/__init__.cpython-312.pyc,,
django_celery_results/models.py,sha256=GbibXosDgKavoEQ5O9SBcnlGgtPAn0ljFJQvGxO_XaY,8375
django_celery_results/urls.py,sha256=P9eowoD7Xmkc34eFbPCht4NDZP0ZlthVb5G_DHWuvT4,2141
django_celery_results/utils.py,sha256=OrJ8Y5JNnkl3yE1o2HjUbwKS5CeaC648pdFiPIQY64M,477
django_celery_results/views.py,sha256=PLIxO7qMj0_11A0WFk9Gz-TBZG3sIN_5ZuhD5jsMMIM,1789

View File

@@ -0,0 +1,5 @@
Wheel-Version: 1.0
Generator: setuptools (78.1.0)
Root-Is-Purelib: true
Tag: py3-none-any

View File

@@ -0,0 +1,3 @@
[celery.result_backends]
django-cache = django_celery_results.backends:CacheBackend
django-db = django_celery_results.backends:DatabaseBackend

View File

@@ -0,0 +1,95 @@
=========
AUTHORS
=========
:order: sorted
Aaron Ross <aaron@wawd.com>
Adam Endicott
Alex Stapleton <alex.stapleton@artfinder.com>
Alvaro Vega <avega@tid.es>
Andrew Frankel
Andrew Watts <andrewwatts@gmail.com>
Andrii Kostenko <andrey@kostenko.name>
Anton Novosyolov <anton.novosyolov@gmail.com>
Ask Solem <ask@celeryproject.org>
Asif Saif Uddin <auvipy@gmail.com>
Augusto Becciu <augusto@becciu.org>
Ben Firshman <ben@firshman.co.uk>
Brad Jasper <bjasper@gmail.com>
Brett Gibson <brett@swiftserve.com>
Brian Rosner <brosner@gmail.com>
Charlie DeTar <cfd@media.mit.edu>
Christopher Grebs <cg@webshox.org>
Dan LaMotte <lamotte85@gmail.com>
Darjus Loktevic <darjus@amazon.com>
David Fischer <david.fischer.ch@gmail.com>
David Ziegler <david.ziegler@gmail.com>
Diego Andres Sanabria Martin <diegueus9@gmail.com>
Dmitriy Krasilnikov <krasilnikov.d.o@gmail.com>
Donald Stufft <donald.stufft@gmail.com>
Eldon Stegall
Eugene Nagornyi <ideviantik@gmail.com>
Felix Berger <bflat1@gmx.net
Gabe Jackson <gabejackson@cxg.ch>
Glenn Washburn <M8R-hkaf6e@mailinator.com>
Gnrhxni <gnrhxni@outlook.com>
Greg Taylor <gtaylor@duointeractive.com>
Grégoire Cachet <gregoire@audacy.fr>
Hari <haridara@gmail.com>
Idan Zalzberg <idanzalz@gmail.com>
Ionel Maries Cristian <ionel.mc@gmail.com>
Jannis Leidel <jannis@leidel.info>
Jason Baker <amnorvend@gmail.com>
Jay States <jstates@based.ca>
Jeff Balogh <me@jeffbalogh.org>
Jeff Fischer <jeffrey.fischer@gmail.com>
Jeffrey Hu <zhiwehu@gmail.com>
Jens Alm <jens.alm@mac.com>
Jerzy Kozera <jerzy.kozera@gmail.com>
Jesper Noehr <jesper@noehr.org>
John Andrews <johna@stjit011.(none)>
John Watson <johnw@mahalo.com>
Jonas Haag <jonas@lophus.org>
Jonatan Heyman <jonatan@heyman.info>
Josh Drake <m0nikr@is-0338.(none)>
José Moreira <zemanel@zemanel.eu>
Jude Nagurney <jude@pwan.org>
Justin Quick <justquick@gmail.com>
Keith Perkins <keith@tasteoftheworld.us>
Kirill Panshin <kipanshi@gmail.com>
Mark Hellewell <mark.hellewell@gmail.com>
Mark Lavin <markdlavin@gmail.com>
Mark Stover <stovenator@gmail.com>
Maxim Bodyansky <bodyansky@gmail.com>
Michael Elsdoerfer <michael@elsdoerfer.com>
Michael van Tellingen <m.vantellingen@lukkien.com>
Mikhail Korobov <kmike84@gmail.com>
Mos Wenzy <acwzy@live.com>
Olivier Tabone <olivier.tabone@gmail.com>
Patrick Altman <paltman@gmail.com>
Piotr Bulinski <piotr@bulinski.pl>
Piotr Sikora <piotr.sikora@frickle.com>
Reza Lotun <rlotun@gmail.com>
Rockallite Wulf <rockallite.wulf@gmail.com>
Roger Barnes <roger@mindsocket.com.au>
Roman Imankulov <roman@netangels.ru>
Rune Halvorsen <runefh@gmail.com>
Sam Cooke <sam@mixcloud.com>
Scott Rubin <srubin@broadway.com>
Sean Creeley <sean.creeley@gmail.com>
Serj Zavadsky <fevral13@gmail.com>
Simon Charette <charette.s@gmail.com>
Spencer Ellinor <spencer.ellinor@gmail.com>
Theo Spears <github@theos.me.uk>
Timo Sugliani
Vincent Driessen <vincent@datafox.nl>
Vitaly Babiy <vbabiy86@gmail.com>
Vladislav Poluhin <nuklea@gmail.com>
Weipin Xia <weipin@me.com>
Wes Turner <wes.turner@gmail.com>
Wes Winham <winhamwr@gmail.com>
Williams Mendez <wmendez27@gmail.com>
WoLpH <Rick@Fawo.nl>
dongweiming <ciici123@hotmail.com>
zeez <zeezdev@gmail.com>
Eduardo Oliveira <eduardo_y05@outlook.com>

View File

@@ -0,0 +1,55 @@
Copyright (c) 2017-2032 Asif Saif Uddin. All Rights Reserved.
Copyright (c) 2015-2016 Ask Solem. All Rights Reserved.
Copyright (c) 2012-2014 GoPivotal, Inc. All Rights Reserved.
Copyright (c) 2009-2012 Ask Solem. All Rights Reserved.
django-celery-results is licensed under The BSD License (3 Clause, also known as
the new BSD license). The license is an OSI approved Open Source
license and is GPL-compatible(1).
The license text can also be found here:
https://opensource.org/license/bsd-3-clause/
License
=======
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Ask Solem nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Ask Solem OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
Documentation License
=====================
The documentation portion of django-celery-results (the rendered contents of the
"docs" directory of a software distribution or checkout) is supplied
under the "Creative Commons Attribution-ShareAlike 4.0
International" (CC BY-SA 4.0) License as described by
https://creativecommons.org/licenses/by-sa/4.0/
Footnotes
=========
(1) A GPL-compatible license makes it possible to
combine django-celery-results with other software that is released
under the GPL, it does not mean that we're distributing
django-celery-results under the GPL license. The BSD license, unlike the GPL,
let you distribute a modified version without making your
changes open source.

View File

@@ -0,0 +1 @@
django_celery_results