Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display the SymPy version in the shell prompt #23

Open
agriyakhetarpal opened this issue Jan 2, 2025 · 2 comments
Open

Display the SymPy version in the shell prompt #23

agriyakhetarpal opened this issue Jan 2, 2025 · 2 comments

Comments

@agriyakhetarpal
Copy link
Collaborator

agriyakhetarpal commented Jan 2, 2025

Oh, that is one thing we should do: the version should be displayed automatically somehow. When you run isympy in the terminal it looks like this:

$ isympy
IPython console for SymPy 1.14.dev (Python 3.13.1-64-bit) (ground types: flint)

These commands were executed:
>> from sympy import *
>> x, y, z, t = symbols('x y z t')
>> k, m, n = symbols('k m n', integer=True)
>> f, g, h = symbols('f g h', cls=Function)
>> init_printing()

Documentation can be found at https://docs.sympy.org/dev


In [1]:

Originally posted by @oscarbenjamin in #20 and sympy/sympy#27183

@agriyakhetarpal
Copy link
Collaborator Author

From a cursory look, #7 might have some insight.

@agriyakhetarpal
Copy link
Collaborator Author

xref sympy/sympy#27183 (comment) for the information to be displayed (also needs python-flint to be available and imported before SymPy so that SymPy can recognise it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant