{ "info": { "author": "James Pic", "author_email": "jpic@yourlabs.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-uwsgi-spooler\n~~~~~~~~~~~~~~~~~~~~\n\nA polyvalent Task model to get the most out of uWSGI's spooler with minimal effort.\n\nInstall\n=======\n\nInstall django-threadlocals if you want automatic provisioning of Task.user and\nTask.creation_ip.\n\nThis app works without uwsgi installed (ie. runserver), but you can test your\nwsgi app with a command like::\n\n uwsgi --env DEBUG=1 --spooler=/tmp/spool --spooler-processes 16 --http-socket=0.0.0.0:8000 --plugin=python --module=mrs.wsgi:application --honour-stdin\n\nAdd ``django_uwsgi_spooler`` to ``INSTALLED_APPS`` and execute migrations with\nthe ``./manage.py migrate`` command.\n\n``django_uwsgi_spooler.models`` will set uwsgi.spooler so you don't have any\nextra setup to do to enjoy uWSGI spooler, besides have it enabled if you want\ntasks to actually run in the background.\n\nIf you have CRUDLFA+ installed, it will register a CRUD for task, which will\ngain a lot of features as we move forward to 1.0 release as you can imagine:\ntowards full control of the spooler as permited by uWSGI's API.\n\nUsage\n=====\n\nYour callback is just a function that takes a task argument::\n\n def yourcallback(task):\n # do stuff ...\n\nYou can start a task as such::\n\n Task(callback_name='yourmodule.yourcallback').spool()\n\nSee a more elaborated example in django_uwsgi_spooler/example.py\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yourlabs/django-uwsgi-spooler", "keywords": "django uwsgi cache spooler", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-uwsgi-spooler", "package_url": "https://pypi.org/project/django-uwsgi-spooler/", "platform": "", "project_url": "https://pypi.org/project/django-uwsgi-spooler/", "project_urls": { "Homepage": "https://github.com/yourlabs/django-uwsgi-spooler" }, "release_url": "https://pypi.org/project/django-uwsgi-spooler/0.0.0/", "requires_dist": null, "requires_python": "", "summary": "Persist uWSGI spooled tasks in uWSGI cache", "version": "0.0.0" }, "last_serial": 4125824, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "3960a205c4f3346ea131ead93f373dee", "sha256": "eecb7533027dcb963cc7cca3566d9bc33218e431a755c05a9c89d88bd3d94152" }, "downloads": -1, "filename": "django-uwsgi-spooler-0.0.0.tar.gz", "has_sig": true, "md5_digest": "3960a205c4f3346ea131ead93f373dee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2135, "upload_time": "2018-08-01T18:58:03", "url": "https://files.pythonhosted.org/packages/7b/e3/cb959a3e8ee0018ac0ae0981ba08f8516b1e76ba36a0af77d23b21566104/django-uwsgi-spooler-0.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3960a205c4f3346ea131ead93f373dee", "sha256": "eecb7533027dcb963cc7cca3566d9bc33218e431a755c05a9c89d88bd3d94152" }, "downloads": -1, "filename": "django-uwsgi-spooler-0.0.0.tar.gz", "has_sig": true, "md5_digest": "3960a205c4f3346ea131ead93f373dee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2135, "upload_time": "2018-08-01T18:58:03", "url": "https://files.pythonhosted.org/packages/7b/e3/cb959a3e8ee0018ac0ae0981ba08f8516b1e76ba36a0af77d23b21566104/django-uwsgi-spooler-0.0.0.tar.gz" } ] }