What is the python script for the Rip tool
Run the below script
Select an edge 
Hit the spacebar and write "Rip Edge" as shown below




import bpy
bl_info = {
    "name": "Rip Edge",
    "category": "Edit",
}

class EdgeRip(bpy.types.Operator):
    """Rip Edge"""
    bl_idname = "edit.ripedge"
    bl_label = "Rip Edge"
    bl_options = {'REGISTER', 'UNDO'}

    def execute(self, context):
        bpy.ops.mesh.rip('INVOKE_DEFAULT')
        return {'FINISHED'}

def register():
    bpy.utils.register_class(EdgeRip)


def unregister():
    bpy.utils.unregister_class(EdgeRip)


if __name__ == "__main__":
    register()