This is a simple interface we wrote to interact with the DirectAdmin API using Python. It supports all current and future API endpoints in DirectAdmin.
https://github.com/sensson/python-directadmin
https://github.com/sensson/python-directadmin