Installation¶
Note
It is advisable to create a separate virtual environment (venv) for your network automation framework!
Creating venv¶
python -m venv nornir-venv
Activating the new venv:
rem Windows:
w:\nornir-venv\Scripts\activate
# Linux:
$ . nornir-venv/bin/activate
Installing nornir-sql¶
Install from pypi
pip install nornir-sql
Install from GitHUB
pip install git+https://github.com/realvitya/nornir_sql.git
Installing SQL dependencies¶
Different SQL connectors need different drivers to have. As nornir-sql uses SQLAlchemy for database operation, please check the relevant documentation for specifying your connection URL and installing your dependecies as per SQLAlchemy / Engine Configuration