PyGraphNet is an intuitive and straightforward Python library tailored for graph theory experimentation. This project originated from a personal need to explore and understand graph theory concepts during a graph theory course. It's perfect for anyone interested in delving into graph theory, whether for academic, professional, or personal learning purposes.
To install PyGraphNet from source, follow these steps:
- Clone the repository:
git clone https://github.com/smomara/pygraphnet.git
- Navigate to the
pygraphnet
directory:
cd pygraphnet
- Install the package using pip:
sudo python3 -m pip install -e .
For a quicker intsallation, use the following command:
python3 -m pip install git+https://github.com/smomara/pygraphnet.git
PyGraphNet is an open-source project under rapid active development, and contributions are highly encouraged and appreciated. Whether it's adding new features, fixing bugs, or improving documentation, your input is valuable.
Before submitting a pull request, please ensure all test pass. Here's how you can run the tests locally:
For running the entire test suite:
pytest
For running a specific module's test suite:
pytest operations/
For running a specific test suite:
pytest operations/test_complement.py