PyEZ: is a Python library to remotely manage/automate Junos devices.
Junos PyEZ Developer Guide
GETTING STARTED WITH JUNOS PYEZ
https://stebe.info/2016/11/introduction-junos-pyez/
junos-eznc module documentation:
http://pydoc.net/junos-eznc/2.1.4/jnpr.junos.device/
https://github.com/Juniper/py-junos-eznc