pywrat - Python Wrappers for Remote Access Tools
pywrat is a set of wrappers that can be used for accessing remote hosts. The wrappers are written in Python and use ssh and scp style programs for the remote shell and file system access.
pywrat supplies a number of scripts for remote access from a shell or shell script as well as a few modules for use in Python programs.
The most obvious use case is calling one or more of the scripts from administrative scripts, to simplify remote host access. I.e. to simplify remote command execution and transfers of files or directories. With the recent addition of rsync support it is also possible to only synchronize files or directories to avoid retransmission of big files and directories.
Another possible use is to import and use the modules directly in external Python programs. The 'remote' module and the 'config' module may be of particular interest in that case.
All configuration is done in a single file for simplicity. It is possible to configure everything from commands used to users and keys used for remote login. Thus it is easy to change things like keys and users for all remote commands by just making the change in a single location.
The installed 'examples' directory in /usr/local/share/doc/pywrat contains a few
scripts for testing the installation.
A configuration file template is installed in /usr/local/etc.
Please note that these directories may be installed in different locations if
'configure' was executed with the '--prefix' option.
