Napalm is a powerful python libary that can get information sucnh as interface status, arp table and configuration from network equipment. It can also be used for pulling configuration files and merge configuration to devices, and even compare old and new configuration before saving it. Napalm is multivendor, but these examples are only for Cisco. With small changes you can change it tom other vendors.