{ "info": { "author": "Patrick Paul", "author_email": "pztrick44@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "### What is django-socketio-events?\n\nSimply adds socket.io functionality to Django applications by proxying Django behind a Nodejs/SocketIO server.\n\nAny callback function defined in an `app_folder` is exposed to Socket.IO as the target `my_app.callback_fn`. See examples below.\n\n### Usage\n\n```\n python manage.py runserverjs \n```\n\nIn any Django template that you want a Socket IO connection, add this templatetag to your HEAD:\n\n```\n{% load nodjango %}\n\n\n\n \n {% socketio_head_scripts %}\n\n\n \n \n\n\n```\n\n```\n# my_app/socketio.py\n\ndef change_color(color):\n # change color\n # ...\n # profit\n return {'result': 42}\n```\n\n### Installation\n\n```\n pip install django-socketio-events\n```\n\nAnd then add `nodjango` to your `INSTALLED_APPS`.\n\n### Under the hood\n\n* [virtual-node](https://github.com/elbaschid/virtual-node) for installing [node.js](http://nodejs.org/) in a Python virtualenv.\n* [Django](https://www.djangoproject.com/) web framework", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pztrick/django-socketio-events/", "keywords": null, "license": "MIT-LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "django-socketio-events", "package_url": "https://pypi.org/project/django-socketio-events/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-socketio-events/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/pztrick/django-socketio-events/" }, "release_url": "https://pypi.org/project/django-socketio-events/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Django package for socket.io via nodejs", "version": "0.1.2" }, "last_serial": 1503863, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "7c3df70a78638ba33137f7b672f27d9d", "sha256": "788a33b8e8e319f79f00d1bd06d5ca864c8c51393fcb4dcbad43fb460a48f3a5" }, "downloads": -1, "filename": "django-socketio-events-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7c3df70a78638ba33137f7b672f27d9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30431127, "upload_time": "2015-04-13T21:18:00", "url": "https://files.pythonhosted.org/packages/08/e9/add0b37aaf3910d22ff799db0131238f8a2f1140a2f2194117ad2a79e5cc/django-socketio-events-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7c3df70a78638ba33137f7b672f27d9d", "sha256": "788a33b8e8e319f79f00d1bd06d5ca864c8c51393fcb4dcbad43fb460a48f3a5" }, "downloads": -1, "filename": "django-socketio-events-0.1.2.tar.gz", "has_sig": false, "md5_digest": "7c3df70a78638ba33137f7b672f27d9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30431127, "upload_time": "2015-04-13T21:18:00", "url": "https://files.pythonhosted.org/packages/08/e9/add0b37aaf3910d22ff799db0131238f8a2f1140a2f2194117ad2a79e5cc/django-socketio-events-0.1.2.tar.gz" } ] }