.. Copyright (c) 2022, 2023, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. The Basics ========== `NamedMap `_ and `NamedCache `_ are `dict`-like structures allowing users to store data within a remote `Coherence `_ cluster. The following is an example of using a `NamedMap` to `store`, `get`, and `remove` simple keys and values: .. literalinclude:: ../examples/basics.py :language: python :emphasize-lines: 17, 19, 21-34 :linenos: * Line 17 - Create a new `Session` that will connect to `localhost:1408`. See the :doc:`Sessions ` documentation for more details. * Line 50 - Obtain a `NamedMap` identified by `my-map` from the Session * Lines 21-34 - Various CRUD operations against the NamedMap such as `get() `_, `put() `_, and `remove() `_