![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
|CI status| |PyPI Installs| |Latest Version| |Supported Python Versions|
|Packaging status|
mathicsscript is a command-line interface to Mathics3 <https://mathics.org>
_.
|screenshot|
See the screenshot directory <https://github.com/Mathics3/mathicsscript/tree/master/screenshots>
_ for a description and another example.
prompt_toolkit <https://python-prompt-toolkit.readthedocs.io/en/stable>
_ and GNU Readline terminal interaction. This includes:
\\[Sigma]
p
esc is πmathics-pygments <https://pypi.org/project/mathics-pygments/>
_ which includes dynamically created variables and functions.terminal background color <https://pypi.org/project/term-background/>
_.matplotlib <https://matplotlib.org/>
_ for 2D graphics, and Asymptote <https://asymptote.sourceforge.io>
_ for 3D and 2D graphics.To install with the full dependencies, run: ::
$ make install[full]
To install from git sources so that you run from the git source tree:
::
$ make develop
Once install run using mathicsscript
:
::
$ mathicsscript Mathicscript: 7.0.0, Mathics 7.0.0 on CPython 3.11.9 (main, May 6 2024, 12:58:03) [GCC 13.2.0] Using: SymPy 1.12.1, mpmath 1.3.0, numpy 1.26.4 cython 3.0.10, matplotlib 3.8.4, Asymptote version 2.87
Copyright (C) 2011-2024 The Mathics Team. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the documentation for the full license.
Quit by evaluating Quit[] or by pressing CONTROL-D.
In[1]:=
For batch use: ::
$ mathicsscript -c "N[Pi, 30]" 3.14159265358979323846264338328
To read from a file
In file /tmp/test.m
:
::
sum=2+2 integral=Integrate[1,x] Print["Results: ",{sum,integral}]
Feeding this into mathicsscript
:
::
$ mathicsscript --no-prompt </tmp/test.m
4
x
Results: {4, x}
None
For a full list of options, type mathicsscript --help
.
In asymptote graphs keyboard bindings are (copied from the asymptote
doc under 8.29 three <https://asymptote.sourceforge.io/doc/three.html#index-keyboard-bindings_003a>
_::
h: home
f: toggle fitscreen
x: spin about the X axis
y: spin about the Y axis
z: spin about the Z axis
s: stop spinning
m: rendering mode (solid/patch/mesh)
e: export
c: show camera parameters
p: play animation
r: reverse animation
: step animation
+: expand
=: expand
>: expand
-: shrink
_: shrink
<: shrink
q: exit
Ctrl-q: exit
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
any of the features mentioned above, use mathics
which is distributed as part of
the core Mathic3 package.
.. |screenshot| image:: https://mathics.org/images/mathicsscript1.gif .. |Latest Version| image:: https://badge.fury.io/py/mathicsscript.svg :target: https://badge.fury.io/py/mathicsscript .. |PyPI Installs| image:: https://pepy.tech/badge/mathicsscript .. |Supported Python Versions| image:: https://img.shields.io/pypi/pyversions/mathicsscript.svg .. |CI status| image:: https://github.com/Mathics3/mathicsscript/workflows/mathicsscript%20(ubuntu)/badge.svg :target: https://github.com/Mathics3/mathicsscript/actions .. |Packaging status| image:: https://repology.org/badge/vertical-allrepos/mathicsscript.svg :target: https://repology.org/project/mathicsscript/versions
FAQs
Command-line interface to Mathics3
We found that mathicsscript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.