Creating Override Library via script
finally i've found the solution...

  for w in bpy.context.window_manager.windows:
    if w.screen.name  == "Layout":
      for area in w.screen.areas:
        if area.type == 'VIEW_3D':
          for region in area.regions:
             if region.type == 'WINDOW':
                override = bpy.context.copy()
                override[ 'area'] = area
                override['region'] = region
                bpy.ops.object.make_override_library(override)
                break