code: def cube_pkg_mod_cls(cube):
      '''
      Used to dynamically importing cube classes
      based on string slug name.
  
      Converts 'pkg_mod' -> pkg, mod, Cls
  
      eg: tw_tweet -> tw, tweet, Tweet
  
      Assumes `Metrique Cube Naming Convention` is used
  
      :param cube: cube name to use when searching for cube pkg.mod.class to load
      '''
      _cube = cube.split('_')
      pkg = _cube[0]
      mod = '_'.join(_cube[1:])
      _cls = ''.join([s[0].upper() + s[1:] for s in _cube[1:]])
      return pkg, mod, _clf cube_pkg_mod_cls(cube):
      '''
      Used to dynamically importing cube classes
      based on string slug name.
  
      Converts 'pkg_mod' -> pkg, mod, Cls
  
      eg: tw_tweet -> tw, tweet, Tweet
  
      Assumes `Metrique Cube Naming Convention` is used
  
      :param cube: cube name to use when searching for cube pkg.mod.class to load
      '''
      _cube = cube.split('_')
      pkg = _cube[0]
      mod = '_'.join(_cube[1:])
      _cls = ''.join([s[0].upper() + s[1:] for s in _cube[1:]])
      return pkg, mod, _cls
docs: Used to dynamically importing cube classes
      based on string slug name.
  
      Converts 'pkg_mod' -> pkg, mod, Cls
  
      eg: tw_tweet -> tw, tweet, Tweet
  
      Assumes `Metrique Cube Naming Convention` is used
  
      :param cube: cube name to use when searching for cube pkg.mod.class to load