I have installed Client Challenge using pip, but I can’t figure out how to import into a python module.
from WHAT_DO_I_PUT_HERE import Zmod
If my question reflects a failure to understand how this is to be used, I would appreciate some guidance.
Irrelevant background
First of all, I really want to thank everyone involved in this effort to have pip installable modules for components of Sage. It really is exactly what I need.
In my particular case, I found that one of my methods (expecting a Python int was failing when the argument I passed to it was an instance of <class 'sage.rings.finite_rings.integer_mod.IntegerMod_gmp'>. The package I am developing doesn’t use SageMath, but I had called my thing from a Jupyter notebook that uses Sage.
I believe that I have fixed my code to behave correctly when passed a member of such a group, but I want to write a test for that. I really do not wish to make all of SageMath a dependency for my tests just for one little test function. All I need is Zmod().
And this has led me to the difficulty I have described above.