Skip to content
/ vassal Public
forked from Shawn-Shan/vassal

Vassal is a python package provide terminal automation. Save developers unnecessary labor to type in tons of duplicated and similar commands.

License

Notifications You must be signed in to change notification settings

dev1145/vassal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vassal - automated terminal

license

Vassal is a python package provide terminal automation. Save developers unnecessary labor to type in tons of duplicated and similar commands.

Getting Started

  1. 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()
  1. upload/download files through scp
shell = Terminal(["scp username@host:/home/foo.txt foo_local.txt"])
shell.run()
  1. 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()

Installing

pip install vassal

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Vassal is a python package provide terminal automation. Save developers unnecessary labor to type in tons of duplicated and similar commands.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%