This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
fabric /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Nov 08 07:46:10 -0800 2009 | |
| |
AUTHORS | Sun Dec 13 14:27:32 -0800 2009 | |
| |
FAQ | Sun Oct 25 20:08:03 -0700 2009 | |
| |
INSTALL | Sun Oct 25 20:07:40 -0700 2009 | |
| |
LICENSE | Sat Apr 18 12:54:51 -0700 2009 | |
| |
MANIFEST.in | Sun Nov 08 07:46:00 -0800 2009 | |
| |
README | Wed Nov 04 15:09:48 -0800 2009 | |
| |
docs/ | Wed Dec 16 14:46:24 -0800 2009 | |
| |
fabfile.py | Tue Nov 10 13:59:34 -0800 2009 | |
| |
fabric/ | Fri Dec 18 15:12:31 -0800 2009 | |
| |
paramiko/ | Sun Oct 25 18:21:16 -0700 2009 | |
| |
requirements.txt | Sun Oct 25 18:21:16 -0700 2009 | |
| |
setup.py | Sun Dec 13 15:49:15 -0800 2009 | |
| |
tests/ | Tue Nov 10 13:59:34 -0800 2009 |
README
Fabric is a Python library and command-line tool for streamlining the use of
SSH for application deployment or systems administration tasks.
It provides a basic suite of operations for executing local or remote shell
commands (normally or via ``sudo``) and uploading/downloading files, as well as
auxiliary functionality such as prompting the running user for input, or
aborting execution.
Typical use involves creating a Python module containing one or more functions,
then executing them via the ``fab`` command-line tool. Below is a small but
complete "fabfile" containing a single task::
from fabric.api import run
def host_type():
run('uname -s')
Once a task is defined, it may be run on one or more servers, like so::
$ fab -H localhost,linuxbox host_type
[localhost] run: uname -s
[localhost] out: Darwin
[linuxbox] run: uname -s
[linuxbox] out: Linux
Done.
Disconnecting from localhost... done.
Disconnecting from linuxbox... done.
In addition to use via the ``fab`` fool, Fabric's components may be imported
into other Python code, providing a Pythonic interface to the SSH protocol
suite at a higher level than that provided by e.g. Paramiko (which
Fabric itself leverages.)







