code: def type_from_name(name):
      """Return the GType for a name."""
  
      return gobject_lib.g_type_from_name(_to_bytes(name))
  
file_path: pyvips/pyvips/base.py
imports: from pyvips import ffi, glib_lib, vips_lib, gobject_lib, _to_string, _to_bytes, Error
label_desc: Use image node_id 8 for calling a global function with example usage: type_from_name(name) and returns: gobject_lib