django-celery-results


Namedjango-celery-results JSON
Version 2.5.1 PyPI version JSON
download
home_pagehttps://github.com/celery/django-celery-results
SummaryCelery result backends for Django.
upload_time2023-05-08 14:22:24
maintainer
docs_urlNone
authorAsif Saif Uddin, Ask Solem
requires_python
licenseBSD
keywords celery django database result backend
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            =====================================================================
 Celery Result Backends using the Django ORM/Cache framework.
=====================================================================

|build-status| |coverage| |license| |wheel| |pyversion| |pyimp|

:Version: 2.5.1
: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.celeryproject.org/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>`_




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/celery/django-celery-results",
    "name": "django-celery-results",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "celery django database result backend",
    "author": "Asif Saif Uddin, Ask Solem",
    "author_email": "auvipy@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/75/24/a13ad6a276f62385da6d83a1995ded452d173841b6e0a83a899c3b75062e/django_celery_results-2.5.1.tar.gz",
    "platform": "any",
    "description": "=====================================================================\n Celery Result Backends using the Django ORM/Cache framework.\n=====================================================================\n\n|build-status| |coverage| |license| |wheel| |pyversion| |pyimp|\n\n:Version: 2.5.1\n:Web: https://django-celery-results.readthedocs.io/\n:Download: https://pypi.python.org/pypi/django-celery-results\n:Source: https://github.com/celery/django-celery-results\n:Keywords: django, celery, database, results\n\nAbout\n=====\n\nThis extension enables you to store Celery task results using the Django ORM.\n\nIt defines a single model (``django_celery_results.models.TaskResult``)\nused to store task results, and you can query this database table like\nany other Django model.\n\nInstalling\n==========\n\nThe installation instructions for this extension is available\nfrom the `Celery documentation`_\n\n.. _`Celery documentation`:\n    https://docs.celeryproject.org/en/latest/django/first-steps-with-django.html#django-celery-results-using-the-django-orm-cache-as-a-result-backend\n\n.. _installation:\n\nInstallation\n============\n\nYou can install django-celery-results either via the Python Package Index (PyPI)\nor from source.\n\nTo install using `pip`,::\n\n    $ pip install -U django-celery-results\n\n.. _installing-from-source:\n\nDownloading and installing from source\n--------------------------------------\n\nDownload the latest version of django-celery-results from\nhttps://pypi.python.org/pypi/django-celery-results\n\nYou can install it by doing the following,::\n\n    $ tar xvfz django-celery-results-0.0.0.tar.gz\n    $ cd django-celery-results-0.0.0\n    $ python setup.py build\n    # python setup.py install\n\nThe last command must be executed as a privileged user if\nyou are not currently using a virtualenv.\n\n.. _installing-from-git:\n\nUsing the development version\n-----------------------------\n\nWith pip\n~~~~~~~~\n\nYou can install the latest snapshot of django-celery-results using the following\npip command::\n\n    $ pip install https://github.com/celery/django-celery-results/zipball/master#egg=django-celery-results\n\n\nIssues with mysql\n-----------------\n\nIf you want to run ``django-celery-results`` with MySQL, you might run into some issues.\n\nOne such issue is when you try to run ``python manage.py migrate django_celery_results``, you might get the following error::\n\n    django.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 767 bytes')\n\nTo get around this issue, you can set::\n\n    DJANGO_CELERY_RESULTS_TASK_ID_MAX_LENGTH=191\n\n(or any other value if any other db other than MySQL is causing similar issues.)\n\nmax_length of **191** seems to work for MySQL.\n\n\n.. |build-status| image:: https://secure.travis-ci.org/celery/django-celery-results.svg?branch=master\n    :alt: Build status\n    :target: https://travis-ci.org/celery/django-celery-results\n\n.. |coverage| image:: https://codecov.io/github/celery/django-celery-results/coverage.svg?branch=master\n    :target: https://codecov.io/github/celery/django-celery-results?branch=master\n\n.. |license| image:: https://img.shields.io/pypi/l/django-celery-results.svg\n    :alt: BSD License\n    :target: https://opensource.org/licenses/BSD-3-Clause\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/django-celery-results.svg\n    :alt: django-celery-results can be installed via wheel\n    :target: https://pypi.python.org/pypi/django-celery-results/\n\n.. |pyversion| image:: https://img.shields.io/pypi/pyversions/django-celery-results.svg\n    :alt: Supported Python versions.\n    :target: https://pypi.python.org/pypi/django-celery-results/\n\n.. |pyimp| image:: https://img.shields.io/pypi/implementation/django-celery-results.svg\n    :alt: Support Python implementations.\n    :target: https://pypi.python.org/pypi/django-celery-results/\n\ndjango-celery-results for enterprise\n------------------------------------\n\nAvailable as part of the Tidelift Subscription.\n\nThe 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>`_\n\n\n\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Celery result backends for Django.",
    "version": "2.5.1",
    "project_urls": {
        "Changelog": "https://django-celery-results.readthedocs.io/en/latest/changelog.html",
        "Documentation": "https://django-celery-results.readthedocs.io/en/latest/",
        "Homepage": "https://github.com/celery/django-celery-results",
        "Repository": "https://github.com/celery/django-celery-results"
    },
    "split_keywords": [
        "celery",
        "django",
        "database",
        "result",
        "backend"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "052eaa82857354d5227922c2ae6e83e5214537d8f108184bfeea6704d0b045d8",
                "md5": "aa7d9d2ffa31c9580525a7a0c107496a",
                "sha256": "0da4cd5ecc049333e4524a23fcfc3460dfae91aa0a60f1fae4b6b2889c254e01"
            },
            "downloads": -1,
            "filename": "django_celery_results-2.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "aa7d9d2ffa31c9580525a7a0c107496a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 36293,
            "upload_time": "2023-05-08T14:22:12",
            "upload_time_iso_8601": "2023-05-08T14:22:12.955463Z",
            "url": "https://files.pythonhosted.org/packages/05/2e/aa82857354d5227922c2ae6e83e5214537d8f108184bfeea6704d0b045d8/django_celery_results-2.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7524a13ad6a276f62385da6d83a1995ded452d173841b6e0a83a899c3b75062e",
                "md5": "14ed808d0590538959b34f735b54cfe5",
                "sha256": "3ecb7147f773f34d0381bac6246337ce4cf88a2ea7b82774ed48e518b67bb8fd"
            },
            "downloads": -1,
            "filename": "django_celery_results-2.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "14ed808d0590538959b34f735b54cfe5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 80944,
            "upload_time": "2023-05-08T14:22:24",
            "upload_time_iso_8601": "2023-05-08T14:22:24.486049Z",
            "url": "https://files.pythonhosted.org/packages/75/24/a13ad6a276f62385da6d83a1995ded452d173841b6e0a83a899c3b75062e/django_celery_results-2.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-08 14:22:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "celery",
    "github_project": "django-celery-results",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "django-celery-results"
}
        
Elapsed time: 0.06173s