I googled a lot to find any python module to access TimesTen (in memory database).
I am writing a automated testing framework (more like for System Test and not Unit Test).
The best way to access TimesTen via a Python module is using cx_Oracle.
cx_Oracle uses an OCI based driver.
TimesTen supports OCI and you can connect via tnsnames.ora or the Easy Connect naming method like you would for an Oracle DB.