Sign up for our mailing list and follow XGI on Twitter or Mastodon!
CompleX Group Interactions (XGI) is a Python package for higher-order networks (If you want more information on what higher-order networks are, see our brief introduction).
XGI is a software designed to streamline working with higher-order networks from start to finish. XGI can
XGI runs on Python 3.9 or higher.
To install the latest version of XGI, run the following command:
pip install xgi
To install this package locally:
pip install -e .["all"]
pip install -e ."[all]"
For more installation options, see the guide.
To get started, take a look at the user guides illustrating the library's basic functionality.
A number of higher-order datasets are available in the XGI-DATA repository and can be easily accessed with the load_xgi_data()
function.
If you want to contribute to this project, please make sure to read the contributing guidelines. We expect respectful and kind interactions by all contributors and users as laid out in our code of conduct.
The XGI community always welcomes contributions, no matter how small. We're happy to help troubleshoot XGI issues you run into, assist you if you would like to add functionality or fixes to the codebase, or answer any questions you may have.
Some concrete ways that you can get involved:
We acknowledge the importance of good software to support research, and we note that research becomes more valuable when it is communicated effectively. To demonstrate the value of XGI, we ask that you cite the XGI paper in your work. You can cite XGI either by going to our repository page repository page (if you haven't already) and clicking the "cite this repository" button on the right sidebar (which will generate a citation in your preferred format) or by copying the following BibTeX entry:
@article{Landry_XGI_2023,
author = {Landry, Nicholas W. and Lucas, Maxime and Iacopini, Iacopo and Petri, Giovanni and Schwarze, Alice and Patania, Alice and Torres, Leo},
title = {{XGI: A Python package for higher-order interaction networks}},
doi = {10.21105/joss.05162},
journal = {Journal of Open Source Software},
publisher = {The Open Journal},
year = {2023},
month = may,
volume = {8},
number = {85},
pages = {5162},
url = {https://doi.org/10.21105/joss.05162},
}
Released under the 3-Clause BSD license (see LICENSE.md
)
Copyright (C) 2021-2024 XGI Developers
The XGI package has been supported by NSF Grant 2121905, "HNDS-I: Using Hypergraphs to Study Spreading Processes in Complex Social Networks".
This library may not meet your needs and if this is this case, consider checking out our list of other resources.