deb-python-autobahn/examples
Tobias Oberstein ecfe1e8b9c new Api 2015-09-21 00:17:47 +02:00
..
asyncio fix pep8 2015-09-05 12:30:52 +02:00
router crossbar config with TLS 2015-06-17 16:28:33 -06:00
twisted new Api 2015-09-21 00:17:47 +02:00
Makefile fix pep8 2015-09-05 12:30:52 +02:00
README.md fix /basic/ links, add asciinema demo, put "help" section to end 2015-06-17 16:27:31 -06:00
asciinema-autobahn-demo.py fix pep8 2015-09-05 12:30:52 +02:00
index.html correct paths for JS links 2015-06-17 14:37:14 -06:00
run-all-examples.py fix pep8 2015-09-05 12:30:52 +02:00
running-the-examples.md fix /basic/ links, add asciinema demo, put "help" section to end 2015-06-17 16:27:31 -06:00

README.md

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.