PyEZ: is a Python library to remotely manage/automate Junos devices.
Junos PyEZ requires ncclient version 0.5.2 or later.
pip3 install junos-eznc
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
...