new_contents: import click
  import yaml
  
  # Cuba keywords that are excludes from DataContainers
  CUBA_DATA_CONTAINER_EXLCUDE = ['Id', 'Position']
  
  
  @click.command()
  @click.argument('input', type=click.File('rb'))
  @click.argument('output', type=click.File('wb'))
  def python(input, output):
      """ Create the CUBA Enum for the DataContainer.
      """
      keywords = yaml.safe_load(input)
  
      lines = [
          '# code auto-generated by the cuba-generate.py script.\n',
          'from enum import IntEnum, unique\n',
          '\n',
          '\n',
          '@unique\n',
          'class CUBA(IntEnum):\n'
          '\n']
      template = "    {} = {}\n"
      for keyword in keywords:
          if keyword['name'] in CUBA_DATA_CONTAINER_EXLCUDE:
              continue
          lines.append(template.format(keyword['key'], keyword['number']))
      output.writelines(lines)
  
  def table(
  
  if __name__ == '__main__':
      python()
  
subject: add a script to autogenerate the cuba python Enum from a yaml description file