network tools based on python