API Reference#

tango.pyaml

Tango backend for pyAML.

Tango backend for pyAML.

This package bridges Tango Controls and the pyAML abstraction layer. It exposes Tango attributes and attribute groups as pyAML DeviceAccess objects, provides a TangoControlSystem implementation and catalogs that resolve pyAML device keys into Tango attribute references.

The package registers its configuration schemas with pyAML through the pyaml.schemas entry point, so the classes below can be used directly in pyAML YAML configuration files.

Logging is configured at import time from two optional environment variables:

TANGO_PYAML_LOG_CONFIG

Path to a logging.config file (default tango_pyaml_logging.conf in the current directory). Loaded only if the file exists.

TANGO_PYAML_LOG_LEVEL

Level name (DEBUG, INFO, WARNING, ERROR, CRITICAL) applied to the tango.pyaml logger.

Modules

catalog

Configuration helpers for backend-provided catalogs.

device_factory

Shared cache of Tango device proxies.

initializable_element

Lazy initialization support for Tango-backed elements.

tango_pyaml_utils

Small helpers shared by the Tango pyAML classes.