Auto-unwrap model via Python?

Is there a modifier that i can apply via Python on my objects to auto unwrap my models? I’m doing a rock generator and i wanted to auto-unwrap them after generating.

There is not a UV unwrap modifier
Look at the code for the Smart UV Project unwrap option

Is there anything similar, like the 3DS Max modifier “Unwrap UVW”? http://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/3DSMax/files/GUID-EA10E59F-DE7F-497E-B399-6CF213A02C8D-htm.html