tango.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_CONFIGPath to a
logging.configfile (defaulttango_pyaml_logging.confin the current directory). Loaded only if the file exists.TANGO_PYAML_LOG_LEVELLevel name (
DEBUG,INFO,WARNING,ERROR,CRITICAL) applied to thetango.pyamllogger.
Modules
Scalar Tango attribute access. |
|
Grouped Tango attribute access. |
|
Read-only list of Tango attributes handled through Tango groups. |
|
Read-only scalar Tango attribute. |
|
Configuration helpers for backend-provided catalogs. |
|
Tango implementation of the pyAML control system. |
|
Shared cache of Tango device proxies. |
|
Lazy initialization support for Tango-backed elements. |
|
Aggregated access to several scalar Tango attributes. |
|
Catalog backed by an explicit list of key-to-device mappings. |
|
Single entry of a |
|
Catalog resolving keys that are direct Tango attribute references. |
|
Small helpers shared by the Tango pyAML classes. |