deb-python-autobahn/examples
2015-08-19 11:13:45 +03:00
..
asyncio Remove unnecessary semicolons 2015-08-19 11:13:45 +03:00
router crossbar config with TLS 2015-06-17 16:28:33 -06:00
twisted Remove unnecessary semicolons 2015-08-19 11:13:45 +03: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 small fixes in preparation for release 2015-08-06 15:58:01 +02: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 only run asyncio examples under python3 2015-08-06 15:35:21 -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.