answered 7 years ago
For reference, see also the answers to later Ask Sage questions:
https://ask.sagemath.org/question/10121/importing-sage-functions-into-cython/
https://ask.sagemath.org/question/33954/can-i-create-a-sage-file-and-import-it-as-a-python-module/