Playground for PRable stuff into networkx. Do not use this repo unless you are working with the pywhy team on networkx-implementations.
Base classes for graphs that extend networkx to be used in other PyWhy libraries.
Please refer to the networkx code to see how things should be structured. The intention is to PR functionality in this repo directly by:
- copy-pasting relevant files into networkx
- find+replace "graphs" with "networkx" and
- then submitting PR
See the development version documentation.
Installation is best done via pip
installing directly from the github API.
pip install -U https://github.com/pywhy/graphs/archive/main.zip
Minimally, graphs requires:
* Python (>=3.8)
* NumPy
* SciPy
* Networkx
To install the package from github, clone the repository and then cd
into the directory:
pip install -e .