[Python] Using SageMath as a python library

Discussão em 'Python' iniciado por Stack, Abril 6, 2025.

  1. Stack

    Stack Membro Participativo

    Is it possible to import the SageMath functions inside a python session?

    What I wish to do, from a user perspective is something like this:

    >>> import sage
    >>> sage.kronecker_symbol(3,5) # ...or any other sage root functions


    instead of accessing kronecker_symbol(3,5) from a sagemath session. If possible, it would be very handy, as would allow embedding all the functionalities of SageMath within the python world.

    Continue reading...

Compartilhe esta Página