orphans_purge
bpy.data
Much more convinient than trying to use outliner operator...
BKE_library
BKE_lib