text: # coding: utf-8
  import sys as __sys
  
  try:
      import rumbapy
  
      __sys.modules[__name__] = __sys.modules["rumba"]
      import yurlungur
  
      for obj in [obj for obj in dir(yurlungur) if obj[0] != "_" and obj != "Qt"]:
          setattr(__sys.modules[__name__], obj, getattr(yurlungur, obj))
  except (ImportError, KeyError):
      from yurlungur.core.env import App as __App
  
      run, shell, quit, connect = __App("rumba")._actions
  
      __all__ = ["run", "shell", "quit", "connect"]
  
  
  class Layer(object):
      def __init__(self, layer):
          self.layer = layer
  
      def add(self):
          rumbapy.add_animation_layer()
  
      def delete(self):
          rumbapy.remove_layer()
  
      @property
      def keyframes(self):
          return Keyframe(self.layer)
  
  
  class Keyframe(object):
      def __init__(self, layer):
          from yurlungur.tool.meta import meta
          self.layer = layer
          self.meta = meta
  
      def add(self):
          self.meta.key_layer(self.layer, self.meta.current_frame())
  
      def delete(self):
          self.meta.remove_keys(self.layer)
  
      def transform(self):
          self.meta.transform_keys
  
      def time_warp(self):
          self.meta.time_warp_keys
  