Skip to main content

Pypi Installs Latest Version Supported Python Versions

Mathics3 Graph Module using NetworkX and Matplotlib

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

Metadata

Release files for pymathics-graph 8.0.1

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

Source distribution (sdist)

Source distribution for pymathics-graph 8.0.1
File Size Uploaded Provenance Actions
pymathics_graph-8.0.1.tar.gz 59.8 kB Without provenance Details for pymathics_graph-8.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymathics-graph 8.0.1
File Interpreter ABI Platform Actions
pymathics_graph-8.0.1-py3-none-any.whl Python 3 none any Details for pymathics_graph-8.0.1-py3-none-any.whl

Total release size: 113.6 kB

Release files / pymathics_graph-8.0.1.tar.gz

Download URL pymathics_graph-8.0.1.tar.gz
Size 59.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9b773cbe27dfb97c9767f8d182b573f65011002d40a98726cc8e5632d63f6413
BLAKE2b-256 checksum
How to use checksums
c7f635dd01c1ce39d228ec579c093b6dcea98cf835145ac7f944b3be7e9a3ab4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / pymathics_graph-8.0.1-py3-none-any.whl

Download URL pymathics_graph-8.0.1-py3-none-any.whl
Size 53.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c1c97a2df827eb6afa5550fba4fff2b806c0bce98ba6bb91097433d8a60ccb7
BLAKE2b-256 checksum
How to use checksums
f44d9873c74d4b5c8448b1eac3e6639bb084fb66c48cef97f561da4fdad4c86d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Security for pymathics-graph 8.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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