Metadata-Version: 1.0
Name: django-websocket
Version: 0.1.0
Summary: Websocket support for django.
Home-page: http://pypi.python.org/pypi/django-websocket
Author: Gregor Müllegger
Author-email: gregor@muellegger.de
License: BSD
Description: ================
        django-websocket
        ================
        
        Examples
        ========
        
        Receive one message from the client, send that message back to the client and
        close the connection (by returning from the view)::
        
        from django_websocket import require_websocket
        
        @require_websocket
        def echo_once(request):
        message = request.websocket.wait()
        request.websocket.send(message)
        
        Send websocket messages from the client as lowercase and provide same
        functionallity for normal GET requests::
        
        from django.http import HttpResponse
        from django_websocket import accept_websocket
        
        def modify_message(message):
        return message.lower()
        
        @accept_websocket
        def lower_case(request):
        if not request.is_websocket():
        message = request.GET['message']
        message = modify_message(message)
        return HttpResponse(message)
        else:
        for message in request.websocket:
        message = modify_message(message)
        request.websocket.send(message)
        
        Contribute
        ==========
        
        Get the code at github: http://github.com/gregor-muellegger/django-websocket
        
        Authors
        =======
        
        - Gregor Müllegger <gregor@muellegger.de> (http://gremu.net/)
        
        Credits
        -------
        
        Some low-level code for WebSocket implementation is borrowed from the `eventlet
        library`_.
        
        .. _`eventlet library`: http://eventlet.net/
        
        
        
        Changelog
        =========
        
        Release 0.1.0
        -------------
        
        - Initial release
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
