Need help with graspologic?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

224 Stars 83 Forks MIT License 585 Commits 147 Opened issues


Python package for graph statistics

Services available


Need anything else?

Contributors list


Paper shield PyPI version Downloads shield Docs shield graspologic CI codecov DOI License: MIT

is a package for graph statistical algorithms.


A graph, or network, provides a mathematically intuitive representation of data with some sort of relationship between items. For example, a social network can be represented as a graph by considering all participants in the social network as nodes, with connections representing whether each pair of individuals in the network are friends with one another. Naively, one might apply traditional statistical techniques to a graph, which neglects the spatial arrangement of nodes within the network and is not utilizing all of the information present in the graph. In this package, we provide utilities and algorithms designed for the processing and analysis of graphs with specialized graph statistical algorithms.


The official documentation with usage is at

Please visit the tutorial section in the official website for more in depth usage.

System Requirements

Hardware requirements

package requires only a standard computer with enough RAM to support the in-memory operations.

Software requirements

OS Requirements

is tested on the following OSes: - Linux x64 - macOS x64 - Windows 10 x64

And across the following versions of Python: - 3.6 (x64) - 3.7 (x64) - 3.8 (x64)

If you try to use

for a different platform than the ones listed and notice any unexpected behavior, please feel free to raise an issue. It's better for ourselves and our users if we have concrete examples of things not working!

Installation Guide

Install from pip

pip install graspologic

Install from Github

git clone
cd graspologic
python3 -m venv venv
source venv/bin/activate
python3 install


We welcome contributions from anyone. Please see our contribution guidelines before making a pull request. Our issues page is full of places we could use help! If you have an idea for an improvement not listed there, please make an issue first so you can discuss with the developers.


This project is covered under the MIT License.


We appreciate detailed bug reports and feature requests (though we appreciate pull requests even more!). Please visit our issues page if you have questions or ideas.


If you find

useful in your work, please cite the package via the GraSPy paper

Chung, J., Pedigo, B. D., Bridgeford, E. W., Varjavand, B. K., Helm, H. S., & Vogelstein, J. T. (2019). GraSPy: Graph Statistics in Python. Journal of Machine Learning Research, 20(158), 1-7.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.