Make Sagelib a pip-installable Python source package, listed on PyPI (2016)
trac.sagemath.org
trac.sagemath.org
along with full LaTeX suite, Sage of course, X11 desktops, etc. It can be deployed trivially as a container to boot.
Throw in Jitsi for talking/videoing while doing that and we don't really need anything else 'enterprise'.
- complete the square
- factorise something out
- expand something out
- etc
Doing that stuff by hand can get tedious.
I find that Sympy's simplify() often doesn't do what I want. WolframAlpha often understands what I want better. It seems like it would need non-trivial work on the UI front.
I last used it in 2012 and have not heard much since then.
I would have likely made Sage pip-installable from day 1 if I had known that pip would turn out to be so popular. It was really unclear what was going on with Python packaging 15 years ago. I'm really glad that one package manager (pip) has become so good at this point.
OTOH we have done a ton of work making sagemath apt-get installable, and that works since about 2 years ago.
So it sounds like this wouldn't necessarily guarantee that what you import from sagelib will necessarily be available or configured to work with sagelib, unless that piece you've imported has all python dependencies. Is that right?
Really I'm just hoping to be able to use some of the algebra modules (specifically Clifford algebra) without installing all of sagemath.
It seems like for a lot of modules that should be possible, and then for a lot of other modules it wouldn't be. Am I understanding this right?
The idea of being able to write packages python packages that depend on sagelib (yet live on pypi.org) is very exciting, and I feel that it could push the quality and consistency of sagelib by drawing new contributors (e.g. from the greater scipy ecosystem).
For a long time, I've been sad that I couldn't write python packages that depend on sage stuff without limiting their working environment to a full-blown sage environment.
So the thought of this becoming a reality is pretty exciting to me!
P.S. could someone change the title to "Sagelib is slowly moving toward being pip-installable" ?
No, not really - what you can import will be working, whether via python bindings in sagelib, or external ones. The corresponding ongoing challenge of sagelib/sagemath development is to un-vendor a lot of components currently bundled in. Debian has managed this in their own not very portable way.