Colorband via python script

Hi to all, its my first post and i hope that this channel is the correct one to post this thread.

is there a way to recreate the colorband tab in the texture panel via script? I would like to utilize that kind slider as input for my script.

Thank you