Junos PyEZ is a Python library to remotely manage/automate Junos devices.