How can we write our own network management system tool in python ? Does python provide any package to monitor the Network?

How can we write our own network management system tool in python? Does python provide any package to monitor the Network?
I need the Python NMS for the following scenario.

  • If the new network device/asset/node/ip detected then will get the notification.
  • If the existing network asset /node/ip status change then also we want the notification.
    Currently, in the market few NMS tools such as Nagios, OpenNMS, Zabbix, etc are available but I don’t want to use that.