skip to navigation
skip to content

Not Logged In

telegraphy 0.1

Telegraphy - Real Time Events For Django.

Latest Version: 0.1.3a1


Project home: <>...

This projects facilitates the integration of real-time features into a
Django project.

Django is not prepeared for handling real time web features. There are a
lot of technologies like asynchronous servers, message queues, advanced
key-value stores that are not trivial to integrate with Django.
Telegraphy currently abstract messages as classes. In order to send some
event to the browser, you must define an event class.

You can easily extend you models to generate server-side, asynchronous,
events that can be received (and handled) in your frontend templates, in
real time.

The Django Telegraphy App

Includes the following features:

> -   Simple management management command to run an asynchronous-events
>     server.
> -   Generic model signal based *create*, *update*, *delete* events.
> -   Custom events definitions.
> -   Template tags and a JavaScript API for easy events management on
>     the frontend.


Provides an asynchronous-events management server, or **Gateway** with
the following features:

> -   Real Time Events
>     :   -   Authentication
>         -   Subscription handling
>             :   -   Public vs Authnticated Events
>                 -   Subscription management (client or event based)
>         -   Persistant Subscriptions
>         -   Event management
>             :   -   Class based event definition
>                 -   Event query language
>                     :   -   Performance
>                         -   Simplified client side subscription
>                             handling
>                         -   Easy channel emulation

Just get it:

~~~~ {.sourceCode .none}
pip install telegraphy

You will need to have pip installed on your system. On linux install the
python-pip package, on windows follow
Also, if you are on linux and not working with a virtualenv, remember to
use `sudo` for both commands (`sudo pip install telegraphy`).


The django\_telegraphy app allows you to easily extend your models so
that they generate events on creation, update or delete. Those events
will reach your front end in real time.

Simply install the django\_telegraphy app in your Django project. Then
run the following command in parallel to your web-server:

~~~~ {.sourceCode .none}
python run_telegraph

Extend your models so that they automatically generate events: create an
`` file next to your ``

~~~~ {.sourceCode .python}
from import DjangoEvent
from apps.myapp.models import MyModel

class MyModelEvents(DjangoEvent):

    class Meta:
        model = MyModel

And that's it! Now

You can find more [examples in the

More detailed documentation

You can read the docs online
[here]( Or for offline
access, you can clone the project code repository and read them from the
`docs` folder.

Help and discussion

Join us at the telegraphy [google


-   Many people you can find on the [contributors

\* Special acknowledgements to [Machinalis](
for the time provided to work on this project. Machinalis also works on
some other very interesting projects, like
[Quepy]( and
  • Downloads (All Versions):
  • 42 downloads in the last day
  • 386 downloads in the last week
  • 1461 downloads in the last month