Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.28 KB

File metadata and controls

43 lines (35 loc) · 1.28 KB

Quick Start Examples

Below are some examples that highlight these key concepts and show how easy it is to get started with. The more detailed documentation is available in the other sections.

Publish a key/value pair onto Zenoh

.. literalinclude:: examples/quickstart_put.py
   :language: python
   :start-after: # DOC_EXAMPLE_START
   :end-before: # DOC_EXAMPLE_END

Subscribe to a set of keys with Zenoh

.. literalinclude:: examples/quickstart_sub.py
   :language: python
   :start-after: # DOC_EXAMPLE_START
   :end-before: # DOC_EXAMPLE_END

Get keys/values from zenoh

.. literalinclude:: examples/quickstart_get.py
   :language: python
   :start-after: # DOC_EXAMPLE_START
   :end-before: # DOC_EXAMPLE_END