Skip to main content

A Django front end for Mathics.

Project description

CI status Latest Version Supported Python Versions

Packaging status

This is the Django front-end to Mathics.

Features:

  • Extensive online documentation
  • Integrated graphics, via three.js, and MathML mathematics output
  • Notebook-like sessions

Note: in the future we intend to also proved a Jupyter-like interface.

ScreenShot

mathicsserver: a Django-based Web interface

mathicssserver

Running

This is a Django project so Dango’s manage.py script used.

A simple way to start Mathics Django when GNU make is installed (which is the case on most POSIX systems):

make runserver

Underneath this runs the Python program manage.py in mathics_django directory.

To get a list of the available commands, type python mathics_django/manage.py help. To get help on a specific command give that command at the end. For example two commands that are useful are the runserver and testserver commands. python mathics_django/manage.py help runserver will show options in running the Django server.

Environment Variables

There are two special environment variables of note which controls where the Mathics database is located. This database is saves authentication and worksheet information.

By default the database used is DATADIR + mathics.sqlite where DATADIR is under AppData/Python/Mathics/ for MS-Windows and ~/.local/var/mathics/ for all others. If you want to specify your own database file set environment variable MATHICS_DJANGO_DB_PATH.

If you just want to set the mathics.sqlite portion, you can use the environment variable MATHICS_DJANGO_DB.

Contributing

Please feel encouraged to contribute to Mathics! Create your own fork, make the desired changes, commit, and make a pull request.

License

Mathics-Django is released under the GNU General Public License Version 3 (GPL3).

Download files

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

Files for Mathics-Django, version 4.0.1
Filename, size File type Python version Upload date Hashes
Filename, size Mathics_Django-4.0.1-py3.9.egg (23.0 MB) File type Egg Python version 4.0.1 Upload date Hashes View
Filename, size Mathics_Django-4.0.1-py3.8.egg (23.0 MB) File type Egg Python version 4.0.1 Upload date Hashes View
Filename, size Mathics_Django-4.0.1-py3.7.egg (23.0 MB) File type Egg Python version 4.0.1 Upload date Hashes View
Filename, size Mathics_Django-4.0.1-py3.6.egg (23.0 MB) File type Egg Python version 4.0.1 Upload date Hashes View
Filename, size Mathics_Django-4.0.1-py3-none-any.whl (23.0 MB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page