CompleX Group Interactions (XGI) is a Python package for the representation, manipulation, and study of the structure, dynamics, and functions of complex systems with group (higher-order) interactions.
- Installation
- Getting Started
- Documentation
- Contributing
- How to Cite
- Code of Conduct
- License
- Funding
- Other Resources
XGI runs on Python 3.7 or higher.
To install the latest version of XGI, run the following command:
pip install xgi
To install this package locally:
- Clone this repository
- Navigate to the folder on your local machine
- Run the following command:
pip install -e .["all"]
- If that command does not work, you may try the following instead
pip install -e .\[all\]
To get started, take a look at the tutorials illustrating the library's basic functionality.
For more documentation, see our Read The Docs page.
Contributions are always welcome. Please report any bugs that you find here. Or, even better, fork the repository on GitHub and create a pull request (PR). We welcome all changes, big or small, and we will help you make the PR if you are new to git
(just ask on the issue and/or see our contributing guidelines).
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 XGI in your work. Currently, the best way to cite XGI is to go to our repository page (if you haven't already) and click the "cite this repository" button on the right sidebar. This will generate a citation in your preferred format, and will also integrate well with citation managers.
Our full code of conduct, and how we enforce it, can be read in our repository.
Released under the 3-Clause BSD license (see LICENSE.md
)
Copyright (C) 2021 XGI Developers
Nicholas Landry [email protected]
Leo Torres [email protected]
Iacopo Iacopini [email protected]
Maxime Lucas [email protected]
Giovanni Petri [email protected]
Alice Patania [email protected]
Alice Schwarze [email protected]
Martina Contisciani [email protected]
The XGI library has copied or modified code from the HyperNetX and NetworkX libraries, the licenses of which can be found in our license file
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 these other resources:
- HyperNetX: A package in Python for representing, analyzing, and visualizing hypergraphs.
- Reticula: A package with a Python wrapper of C++ functions for representing, analyzing, and visualizing temporal and static graphs and hypergraphs.
- SimpleHypergraphs.jl: A package in Julia for representing, analyzing, and generating hypergraphs.
- HyperGraphs.jl: A package in Julia for representing, analyzing, and generating hypergraphs which may be oriented and weighted.
- hyperG: A package in R for storing and analyzing hypergraphs
- NetworkX: A package in Python for representing, analyzing, and visualizing networks.