{ "info": { "author": "Jacob Rief", "author_email": "jacob.rief@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-websocket-redis\n======================\n\nProject home: https://github.com/jrief/django-websocket-redis\n\nDetailed documentation on [ReadTheDocs](http://django-websocket-redis.readthedocs.org/en/latest/).\n\nOnline demo: http://django-websocket-redis.awesto.com/\n\nWebsockets for Django using Redis as message queue\n--------------------------------------------------\nThis module implements websockets on top of Django without requiring any additional framework. For\nmessaging it uses the [Redis](http://redis.io/) datastore and in a production environment, it is\nintended to work under [uWSGI](http://projects.unbit.it/uwsgi/) and behind [NGiNX](http://nginx.com/)\nor [Apache](http://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html) version 2.4.5 or later.\n\n\nFeatures\n--------\n* Largely scalable for Django applications with many hundreds of open websocket connections.\n* Runs a separate Django main loop in a cooperative concurrency model using [gevent](http://www.gevent.org/),\n thus only one thread/process is required to control *all* open websockets simultaneously.\n* Full control over this separate main loop during development, so **Django** can be started as usual with\n ``./manage.py runserver``.\n* No dependency to any other asynchronous event driven framework, such as Tornado, Twisted or\n Socket.io/Node.js.\n* Normal Django requests communicate with this separate main loop through **Redis** which, by the way is a good\n replacement for memcached.\n* Optionally persisting messages, allowing server reboots and client reconnections.\n\nIf unsure, if this proposed architecture is the correct approach on how to integrate Websockets with Django, then\nplease read Roberto De Ioris (BDFL of uWSGI) article about\n[Offloading Websockets and Server-Sent Events AKA \u201cCombine them with Django safely\u201d](http://uwsgi-docs.readthedocs.org/en/latest/articles/OffloadingWebsocketsAndSSE.html).\n\nPlease also consider, that whichever alternative technology you use, you always need a message queue,\nso that the Django application can \u201ctalk\u201d to the browser. This is because the only link between the browser and\nthe server is through the Websocket and thus, by definition a long living connection. For scalability reasons you\ncan't start a Django server thread for each of these connections.\n\nRelease History\n---------------\nRefer to [changelog.rst](docs/changelog.rst)\n\nBuild status\n------------\n[![Build Status](https://travis-ci.org/jrief/django-websocket-redis.png?branch=master)](https://travis-ci.org/jrief/django-websocket-redis)\n[![Downloads](http://img.shields.io/pypi/dm/django-websocket-redis.svg?style=flat-square)](https://pypi.python.org/pypi/django-websocket-redis/)\n\nQuestions\n---------\nPlease use the issue tracker to ask questions.\n\nLicense\n-------\nCopyright © 2015 Jacob Rief.\n\nMIT licensed.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jrief/django-websocket-redis", "keywords": "django,websocket,redis", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-websocket-redis-plus", "package_url": "https://pypi.org/project/django-websocket-redis-plus/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-websocket-redis-plus/", "project_urls": { "Homepage": "https://github.com/jrief/django-websocket-redis" }, "release_url": "https://pypi.org/project/django-websocket-redis-plus/0.5.2.1/", "requires_dist": [ "setuptools", "redis", "gevent", "greenlet", "six", "django-redis-sessions (>=0.4.0) ; extra == 'django-redis-sessions'", "uWSGI (>=1.9.20) ; extra == 'uwsgi'", "wsaccel (>=0.6.2) ; extra == 'wsaccel'" ], "requires_python": "", "summary": "Websocket support for Django using Redis as datastore", "version": "0.5.2.1" }, "last_serial": 5781633, "releases": { "0.5.2.1": [ { "comment_text": "", "digests": { "md5": "68c8d6f9588efbc1ecce8408adda4e25", "sha256": "24e85b792aa864e2224363844fa31741c2bf6b670b7b2520a0bc5f2ec65619cd" }, "downloads": -1, "filename": "django_websocket_redis_plus-0.5.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "68c8d6f9588efbc1ecce8408adda4e25", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24421, "upload_time": "2019-09-04T14:32:19", "url": "https://files.pythonhosted.org/packages/ac/55/b0f1313d659fd97193be4443a8a6f72f04a584fa4521d748f0558638bea1/django_websocket_redis_plus-0.5.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e52a66aae2c8a114b74d068cdf49589", "sha256": "3b083f3dfaa42d6e9bf059f86548b2134998b167df731493c54a8d3650ea2cf0" }, "downloads": -1, "filename": "django-websocket-redis-plus-0.5.2.1.tar.gz", "has_sig": false, "md5_digest": "6e52a66aae2c8a114b74d068cdf49589", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19530, "upload_time": "2019-09-04T14:32:21", "url": "https://files.pythonhosted.org/packages/66/b0/06cf3b6c410b07ffaaff1cbe915c4a238f827e9da352ffe2433ab9c8f66e/django-websocket-redis-plus-0.5.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "68c8d6f9588efbc1ecce8408adda4e25", "sha256": "24e85b792aa864e2224363844fa31741c2bf6b670b7b2520a0bc5f2ec65619cd" }, "downloads": -1, "filename": "django_websocket_redis_plus-0.5.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "68c8d6f9588efbc1ecce8408adda4e25", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24421, "upload_time": "2019-09-04T14:32:19", "url": "https://files.pythonhosted.org/packages/ac/55/b0f1313d659fd97193be4443a8a6f72f04a584fa4521d748f0558638bea1/django_websocket_redis_plus-0.5.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e52a66aae2c8a114b74d068cdf49589", "sha256": "3b083f3dfaa42d6e9bf059f86548b2134998b167df731493c54a8d3650ea2cf0" }, "downloads": -1, "filename": "django-websocket-redis-plus-0.5.2.1.tar.gz", "has_sig": false, "md5_digest": "6e52a66aae2c8a114b74d068cdf49589", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19530, "upload_time": "2019-09-04T14:32:21", "url": "https://files.pythonhosted.org/packages/66/b0/06cf3b6c410b07ffaaff1cbe915c4a238f827e9da352ffe2433ab9c8f66e/django-websocket-redis-plus-0.5.2.1.tar.gz" } ] }