Vassal is a python package provide terminal automation. Save developers unnecessary labor to type in tons of duplicated and similar commands.
- Run a list of commands on a ssh server
from vassal.terminal import Terminal
shell = Terminal(["ssh username@host", "cd scripts", "python foo1.py", "python foo2.py"])
shell.run()
- upload/download files through scp
shell = Terminal(["scp username@host:/home/foo.txt foo_local.txt"])
shell.run()
- run commands every 1 sec
from vassal.terminal import Terminal
from vassal.scheduler import Scheduler
shell = Terminal(["ssh username@host", "cd scripts", "python foo1.py", "python foo2.py"])
shell = Scheduler(shell, sec=1)
shell.run()
pip install vassal
- paramiko - SSHv2 protocol
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Shawn Shan - Initial work - https://www.shawnshan.com/
This project is licensed under the MIT License - see the LICENSE file for details