Skip to main content

A general-purpose computer algebra system.

Project description

CI status Pypi Installs Latest Version Supported Python Versions

mathicsscript is a command-line interface to Mathics.

screenshot

See the screenshot directory for a description and another example.

Features

  • GNU Readline terminal interaction. This includes
    • saving command history between sessions.
    • variable completion, even for symbol names like \[Sigma]
    • limited ESC keyboard input; for example esc p esc is π
  • Syntax highlighting using pygments.
  • Automatic detection of light or dark terminal background color.
  • Entering and displaying Unicode symbols such as used for Pi or Rule arrows

Installing

To install, run

$ make install

To install from git sources so that you run from the git source tree:

$ make develop

Why not IPython via Jupyter?

There will always be a need for simple terminal-like interaction. Although there is IPython support via Jupyter all of this is pretty heavy-weight. To code to this protocol, a developer needs to write a kernel, and use a wire protocol. This adds complexity not only for the person developing this package, but also for the user who needs to load the extra layers that aren’t used. And when something goes wrong, it is harder to track down problems.

At the other end of the spectrum, if the dependencies of this package are too onerous and you want even simpler, lighter-weight terminal interaction _without_ and of the features mentioend above, use mathics which is distributed as part of the core Mathic3 package.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mathicsscript, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size mathicsscript-2.0.1-py2.py3-none-any.whl (28.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mathicsscript-2.0.1-py3.6.egg (48.4 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size mathicsscript-2.0.1-py3.7.egg (48.3 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size mathicsscript-2.0.1-py3.8.egg (48.5 kB) File type Egg Python version 3.8 Upload date Hashes View
Filename, size mathicsscript-2.0.1-py3.9.egg (48.5 kB) File type Egg Python version 3.9 Upload date Hashes View
Filename, size mathicsscript-2.0.1-py3-none-any.whl (28.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mathicsscript-2.0.1.tar.gz (24.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page