Skip to main content

A general-purpose computer algebra system.

Project description

CI status Pypi Installs Latest Version Supported Python Versions

Packaging status

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.

Project details


Download files

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

Source Distribution

mathicsscript-2.1.2.tar.gz (35.2 kB view hashes)

Uploaded Source

Built Distributions

mathicsscript-2.1.2-py3.9.egg (49.7 kB view hashes)

Uploaded Source

mathicsscript-2.1.2-py3.8.egg (49.7 kB view hashes)

Uploaded Source

mathicsscript-2.1.2-py3.7.egg (49.6 kB view hashes)

Uploaded Source

mathicsscript-2.1.2-py3.6.egg (49.6 kB view hashes)

Uploaded Source

mathicsscript-2.1.2-py3-none-any.whl (29.3 kB view hashes)

Uploaded Python 3

mathicsscript-2.1.2-py2.py3-none-any.whl (29.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page