deb-python-autobahn/examples
2015-07-06 20:14:40 -04:00
..
asyncio asyncio overview example equivalent 2015-06-17 14:51:30 -06:00
router crossbar config with TLS 2015-06-17 16:28:33 -06:00
twisted Update calculator example to remove standalone wamp router 2015-07-06 20:14:40 -04:00
asciinema-autobahn-demo.py scripted asciinema demo 2015-06-17 16:28:14 -06:00
index.html correct paths for JS links 2015-06-17 14:37:14 -06:00
Makefile pyflakes .. not all, but most 2015-02-12 14:41:59 +01:00
README.md fix /basic/ links, add asciinema demo, put "help" section to end 2015-06-17 16:27:31 -06:00
run-all-examples.py better instructions in run-all-examples 2015-06-17 14:57:31 -06:00
running-the-examples.md fix /basic/ links, add asciinema demo, put "help" section to end 2015-06-17 16:27:31 -06:00

Autobahn|Python Examples

This folder contains complete working code examples that demonstrate various features of Autobahn|Python:

  1. Twisted-based Examples
  1. asyncio-based Examples

If you are new to Autobahn and WAMP, you should start with the following if you're going to use Twisted:

  • twisted/wamp/pubsub/basic/
  • twisted/wamp/rpc/arguments/

...whereas if you prefer asyncio:

  • asyncio/wamp/pubsub/basic/
  • asycnio/wamp/rpc/arguments/

Note that many of the examples use the same URIs for topics or RPC endpoints, so you can mix and match which backend or frontend script (whether Python or JavaScript) you use. For example, a Web browser tab could load a backend.html page that does publishes while you run a Python frontend.py that subscribes to those topics.

Set up locally to run the examples.