Installation
Prerequisites
- Python 3.12 or higher
- uv package manager (recommended)
- Graphviz (for diagram rendering)
Install with uv (Recommended)
-
Clone the repository:
-
Install system dependencies:
-
Install Python dependencies:
Install with pip
If you prefer using pip and virtualenv:
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -e .
pip install -e ".[dev]"
Install Graphviz
Ubuntu/Debian
macOS
Windows
Download and install from graphviz.org
Verify Installation
from IsomorphismChecker_python_serial.node import Node
# Create a simple node
node = Node(index=0, label="test")
print(f"Node created: {node.label}")
Development Setup
For development with pre-commit hooks:
This will: - Install all dependencies - Set up pre-commit hooks - Configure the development environment
Running Tests
Or with coverage: