ctypes utilities for faster and easier simulation programming in C and Python