Blender UV packing

I want to develop a blender UV packing plug-in, I hope some artists provide ideas, thank you very much!