Skip to main content

PyPI Installs Latest Version Supported Python Versions

Mathics3 Graph Module using NetworkX and Matplotlib

Example Session

$ mathicsscript
Mathicscript: 10.0.0, Mathics3 10.0.0
on CPython 3.14.3 (main, Mar 30 2026, 06:42:16) [GCC 13.3.0]

Using:
SymPy 1.13.3, mpmath 1.3.0, numpy 2.4.4
cython 3.2.4, matplotlib 3.10.8,
Asymptote version 2.95

Copyright (C) 2011-2026 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 evaluating Quit[] or 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 matplotlib graph for BinomialTree[3] in the session above.

See the screenshot directory the other graphs.

Installation

From pip:

$ pip install Mathics3-Module-networkx

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/.

Release files for Mathics3-Module-networkx 10.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Mathics3-Module-networkx 10.0.0
File Size Uploaded
mathics3_module_networkx-10.0.0.tar.gz 57.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Mathics3-Module-networkx 10.0.0
File Interpreter ABI Platform
mathics3_module_networkx-10.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 111.3 kB

Release files / mathics3_module_networkx-10.0.0.tar.gz

Download URL mathics3_module_networkx-10.0.0.tar.gz
Size 57.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c3aed60faa91aeed958286647aec2dc44b7fb0e1e103184ba9677dd771ac26d7
BLAKE2b-256 checksum
How to use checksums
acc18f57b573abe58c9cb6a1dbb415f43582e4799de842b40dd146e8e7f513a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / mathics3_module_networkx-10.0.0-py3-none-any.whl

Download URL mathics3_module_networkx-10.0.0-py3-none-any.whl
Size 54.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85a49ebd5170d64da7731726790cb226e644d5a99953888d98891a9406cf08f5
BLAKE2b-256 checksum
How to use checksums
7f818089d26dba20b61f7caa5f55b2d05afbefabfc1a68622459dd01e041a337
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

10.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page