Metadata-Version: 2.4
Name: pymathics-graph
Version: 8.0.1
Maintainer: Mathics3 Group
Maintainer-email: rb@dustyfeet.com
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Software Development :: Interpreters
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: Mathics3>=8.0.0
Requires-Dist: networkx>=3.0.0
Requires-Dist: pydot
Requires-Dist: matplotlib
Requires-Dist: scipy>=1.10.0
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license-file
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: requires-dist

|Pypi Installs| |Latest Version| |Supported Python Versions|

`Mathics3 <https://mathics.org>`_ Graph Module using `NetworkX <https://networkx.org/>`_ and `Matplotlib <https://matplotlib.org>`_

Example Session
---------------

::

   $ mathicsscript
   Mathicscript: 5.0.0, Mathics 6.0.0
   on CPython 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
   using SymPy 1.9, mpmath 1.2.1, numpy 1.21.5
   matplotlib 3.5.2,
   Asymptote version 2.81

   Copyright (C) 2011-2023 The Mathics3 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 pressing CONTROL-D

   In[1]:= LoadModule["pymathics.graph"]
   Out[1]= pymathics.graph
   In[2]:= BinomialTree[3]
   In[3]:= BinomialTree[6]
   In[4]:= CompleteKaryTree[3, VertexLabels->True]

Screenshots
-----------

|screenshot|

The above is the is the matplotlib graph for ``BinomialTree[3]`` in the session above.

See the `screenshot directory <https://github.com/Mathics3/pymathics-graph/tree/master/screenshots>`_ the other graphs.

Installation
-------------

From pip:

::

   $ pip install pymathics-graph

From git:

::

   $ make develop  # or make install

Note:
-----

Currently this works well in `mathicsscript` but not in the Django interface, although graphs are created in a temporary directory, e.g. ``/tmp/``.


.. |screenshot| image:: https://github.com/Mathics3/pymathics-graph/blob/master/screenshots/BinomialTree-3.png
.. |Latest Version| image:: https://badge.fury.io/py/pymathics-graph.svg
		 :target: https://badge.fury.io/py/pymathics-graph
.. |Pypi Installs| image:: https://pepy.tech/badge/pymathics-graph
.. |Supported Python Versions| image:: https://img.shields.io/pypi/pyversions/pymathics-graph.svg
.. |Packaging status| image:: https://repology.org/badge/vertical-allrepos/pymathics-graph.svg
			    :target: https://repology.org/project/pymathics-graph/versions

