adaptivity python wrappers