Nornir, Napalm, Ansible, Netmiko or Plain Python?
What library do you need to use? There are a handful of libraries out there that do network related stuff. Lets review them. Ansible maybe is the most famous one. Ansible started as an automated framework for configuring servers, like installing and configuring web servers, databases etc. The network modules were added later.