This does sound like Ansible does not make it easy to control it from pure Python. It looks an ingenious way to get around it.
I came across this Python wrapper around Ansible yesterday: http://suitable.readthedocs.io/en/latest/ Official docs declare themselves deprecated...
Anyway, I'll have to start testing this soon. Thank you so much for making it!