Python interface to web-socket based interface to ALICE Grid Services
alien.py
Python interface to web-socket based interface to ALICE Grid Services.
Basic usage
Can be used as command mode and interactive mode :
-
Command mode :
alien.py
e.g :alien.py pwd
N.B. command/arguments must be quoted to avoid being interpreted by the shell:alien.py 'rm my_alien_dir/*' -
Interactive/shell mode e.g :
alien.py
Welcome to the ALICE GRID
support mail: [email protected]
AliEn[asevcenc]:/alice/cern.ch/user/a/asevcenc/ >pwd
/alice/cern.ch/user/a/asevcenc/
AliEn[asevcenc]:/alice/cern.ch/user/a/asevcenc/ >whoami
asevcenc
AliEn[asevcenc]:/alice/cern.ch/user/a/asevcenc/ >
- For both command and shell mode multiple commands can be issued separated by
; - The interactive mode save the command history in
${HOME}/.alienpy_historyand it can be navigated with Up/Down keys !is understood as running into shell whatever command follows|pipe whatever output of AliEn command to a shell command (that