tango_simlib.tango_yaml_tools modules

tango_simlib.tango_yaml_tools.base module

Module that contains the TangoToYAML class that parses a Tango device specification file (xmi, fgo) or a running Tango device into YAML

class tango_simlib.tango_yaml_tools.base.TangoToYAML(parser_class)[source]

Class that translates a Tango specification file or a running Tango device to YAML.

build_yaml_from_device(device_name)[source]
Interrogates a running Tango device and builds the YAML from its attributes,
properties and commands.
device_name : str
Tango device name in the domain/family/member format or the FQDN tango://<TANGO_HOST>:<TANGO_PORT>/domain/family/member
build_yaml_from_file(file_loc)[source]

Builds YAML from a Tango specification file

file_loc : str
The path to the specification file
str
A YAML representation of the specification file

tango_simlib.tango_yaml_tools.main module

Entrypoint for the script to parse a Tango file representation or a running device into YAML

tango_simlib.tango_yaml_tools.main.main()[source]

Entrypoint for the script