I am developing a dashboard application with Pubnub and EON Charts. Since my raw data lives in openstack I have to use python ceilometer API to get the data and then I am publishing the data via python and I think I will have to subscribe via Javascript since EON library is in Javascript. My question is: Is that possible to publish via one framework and subscribe via another. Is there any example documentation regarding this?
Yes, it is very much possible. In fact, that is the advantage of using PubNub. You can take advantage of the fact that we support so many different platforms - 70+ SDKs including iOS, Android, JavaScript, .NET, Java, Ruby, Python, PHP and many more. We have had so many examples of this. For instance, a Raspberry Pi(python) publishing sensor readings to a browser(Javascript) to visualize it using Eon.
Some examples you can look at are :
The basic idea is that you publish on a channel, and subscribe to that channel. As long as you send a message, irrespective of the language/platform you use, you will be able to receive it. It doesn't matter whether you are publishing/subscribing to/from a device, mobile or PC, as long as you use PubNub.
So in your example specifically, as you mentioned, you will be publishing the data using our python SDK and be using Eon to subscribe, which is a Javascript library. Eon provides a very simple way to subscribe and create great realtime charts.
You can find a lot more examples on our blog.