Fine-tuning API for python

I was wondering if there exist any python API for fine-tune task?
I looked into the files of the openai python package and looks like that it does not have all the functionality that is explained in the the API reference.