Python System Operations Common Library
1. Psutil is a cross-platform library (http://code.google.com/p/psutil/)
It is able to achieve the process and system utilization (memory, CPU, disk, network, etc.) of system running, which is mainly used for system monitoring, analysis and management of system resources and processes.
2, IPy (http://github.com/haypo/python-ipy), auxiliary IP planning.
3, a DNS toolkit implemented by Dnspython (http://dnspython.org) python.
4, difflib:difflib as a standard Python module, no installation, the role is to compare the differences between text.
5, FILECMP: System comes with, can realize file, directory, traverse Sub-directory difference, contrast function.
6. Smtplib: Send e-mail module
7, Pycurl (Http://pycurl.sourceforge.net) is a C language written Libcurl Python implementation, powerful, supporting the protocol is: Ftp,http,https,telnet, etc., Python encapsulation that can be understood as a Linux under the Curl command function.
8, Xlsxwriter: The operation of Excel worksheet text, numbers, formulas, charts and so on.
9, RRDtool: Used to track changes in the object, to generate these changes in the walk chart
10. Scapy (http://www.wecdev.org/projects/scapy/) is a powerful interactive packet processing program that can spoof or unpack packets, including sending packets, packet sniffing, answering and feedback functions.
11, Clam Antivirus free open source anti-virus software, Pyclamad, you can let the Python module directly using the ClamAV virus scanning daemon CALMD.
12, Pexpect: Can be understood as Linux under the expect Python package, through pexpect we can achieve the Ssh,ftp,passwd,telnet and other command line automatic interaction, without the need for manual intervention to achieve the purpose of automation.
13, Paramiko is based on python implementation of SSH2 Remote installation connection, support authentication and key mode. Can implement remote command execution, file transfer, intermediate SSH proxy and other functions. Relative to Pexpect, the package of higher level, more close to the function of SSH protocol, official website address: http://paramiko.org (dependent: Crypto,ecdsa,python Development package Python-devel)
14. Fabric is a python-based SSH command-line tool that simplifies the application deployment and system management tasks of SSH, which provides a system-based operational component that enables local or remote shell commands, including command execution, file upload, download, and full execution log output. The fabric is packaged in a higher level of paramiko, making it easier to operate. Official address: http://www.fabfile.org (dependent on Setuptools,crypto,paramiko package support)
15, Cgihttprequesthandler to achieve the support of CGI.
16. Ansible (http://www.ansibleworks.com/) an open source platform for integrated IT system configuration management, application deployment, and execution of specific tasks. Based on Python implementations, the Paramiko and Pyyaml two key modules are built. The biggest difference between ANSIBL and Saltstack is that ansible does not need to deploy any clients on the host, by default, the remote command executes or sends the function directly through the SSH channel.
17. YAML: A programming language used to express data sequences.
18, Playbook: A very simple configuration management and multi-host deployment system.
19, Saltstack (http://saltstack.com) is a centralized server infrastructure management platform, can generally be understood as a simplified version of the puppet and the enhanced version of Func. Saltstack is based on the Python language implementation, combined with a lightweight Message Queuing zeromq, built with Python every three-party module (Pyzmq,pycrypto,pyjinja2,python-msgpack and Pyyaml, etc.).
20, Func, in order to solve the cluster management, monitoring problems need to design and development of the system Management infrastructure framework.
Python System Operations Common Library