callback_example on cython/python/flask