graphtools
Project Links
Meta
Author: Scott Gigante, Daniel Burkhardt, and Jay Stanley, Yale University
Classifiers
Development Status
- 4 - Beta
Environment
- Console
Framework
- Jupyter
Intended Audience
- Developers
- Science/Research
Natural Language
- English
Operating System
- MacOS :: MacOS X
- Microsoft :: Windows
- POSIX :: Linux
Programming Language
- Python :: 2
- Python :: 2.7
- Python :: 3
- Python :: 3.5
- Python :: 3.6
Topic
- Scientific/Engineering :: Mathematics
Tools for building and manipulating graphs in Python.
Installation
graphtools is available on pip. Install by running the following in a terminal:
pip install --user graphtools
Alternatively, graphtools can be installed using Conda (most easily obtained via the Miniconda Python distribution):
conda install -c conda-forge graphtools
Or, to install the latest version from github:
pip install --user git+git://github.com/KrishnaswamyLab/graphtools.git
For improved performance with large datasets, install with numba acceleration:
pip install --user graphtools[fast]
Usage example
The graphtools.Graph class provides an all-in-one interface for k-nearest neighbors, mutual nearest neighbors, exact (pairwise distances) and landmark graphs.
Use it as follows:
from sklearn import datasets import graphtools digits = datasets.load_digits() G = graphtools.Graph(digits['data']) K = G.kernel P = G.diff_op G = graphtools.Graph(digits['data'], n_landmark=300) L = G.landmark_op
Help
If you have any questions or require assistance using graphtools, please contact us at https://krishnaswamylab.org/get-help
Sep 04, 2025
2.0.0
Jan 03, 2023
1.5.3
Aug 10, 2020
1.5.2
Apr 20, 2020
1.5.1
Feb 25, 2020
1.5.0
Feb 04, 2020
1.4.2
Nov 19, 2019
1.4.1
Nov 11, 2019
1.4.0
Oct 15, 2019
1.3.1
Oct 12, 2019
1.3.0
Mar 02, 2019
1.1.0
Feb 06, 2019
1.0.0
Nov 30, 2018
0.2.1
Nov 23, 2018
0.2.0
Jul 31, 2018
0.1.10
Jul 11, 2018
0.1.9
Jul 11, 2018
0.1.8.1
Jun 28, 2018
0.1.8
Jun 21, 2018
0.1.7
Jun 21, 2018
0.1.6
Jun 19, 2018
0.1.5
Jun 12, 2018
0.1.4
Jun 02, 2018
0.1.3
Jun 01, 2018
0.1.2
Jun 01, 2018
0.1.1
May 31, 2018
0.1.0
Wheel compatibility matrix
Files in release
Extras:
Dependencies:
(>=1.14.0)
numpy
(>=1.1.0)
scipy
(>=0.5.1)
pygsp
(>=0.20.0)
scikit-learn
(>=1.0)
tasklogger