Installation ============ This page describes how to install Topolib for both users and developers. Basic installation (recommended): --------------------------------- .. code-block:: bash pip install topolib Development installation: ------------------------- Clone the repository and install in editable mode with development dependencies: .. code-block:: bash git clone https://gitlab.com/DaniloBorquez/topolib.git cd topolib python -m venv .venv source .venv/bin/activate pip install -U pip pip install -e . pip install -r dev-requirements.txt Requirements: ------------- - Python >= 3.10 - See `pyproject.toml` for all dependencies .. note:: **Optional: PNG Export** To export visualizations as PNG images, you need selenium and a webdriver (chromedriver or geckodriver): .. code-block:: bash pip install selenium Then install chromedriver or geckodriver for your system. This is only required for PNG export; HTML visualization works without it. For more details, see the README or the [examples](../../examples/) folder.