Get the code
============

ws4py is hosted on `github <https://github.com/Lawouach/WebSocket-for-Python>`_ and can be retrieved from there:

.. code-block:: guess
    
    $ git clone git@github.com:Lawouach/WebSocket-for-Python.git


Install the code
================

Installing the ws4py package is performed as usual:

.. code-block:: guess
    
    $ python setup.py install

However, since ws4py is referenced in `PyPI <http://pypi.python.org/pypi/ws4py>`_, it can also be installed through easy_install, distribute or pip:

.. code-block:: guess
    
    $ pip install ws4py
    $ easy_install ws4py
   

