.. .. Copyright (c) 2017, 2022 ZettaScale Technology .. .. This program and the accompanying materials are made available under the .. terms of the Eclipse Public License 2.0 which is available at .. http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 .. which is available at https://www.apache.org/licenses/LICENSE-2.0. .. .. SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 .. .. Contributors: .. ZettaScale Zenoh team, .. 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