{"id":19081715,"url":"https://github.com/shawn-shan/vassal","last_synced_at":"2025-10-22T10:48:12.016Z","repository":{"id":37493228,"uuid":"157803987","full_name":"Shawn-Shan/vassal","owner":"Shawn-Shan","description":"Vassal is a python package provide terminal automation. Save developers unnecessary labor to type in tons of duplicated and similar commands. ","archived":false,"fork":false,"pushed_at":"2018-11-17T01:44:55.000Z","size":39,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-18T23:59:30.719Z","etag":null,"topics":["automation","python","shell","ssh","terminal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shawn-Shan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-16T02:53:33.000Z","updated_at":"2023-01-11T14:55:38.000Z","dependencies_parsed_at":"2022-09-07T09:51:32.226Z","dependency_job_id":null,"html_url":"https://github.com/Shawn-Shan/vassal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shawn-Shan%2Fvassal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shawn-Shan%2Fvassal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shawn-Shan%2Fvassal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shawn-Shan%2Fvassal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shawn-Shan","download_url":"https://codeload.github.com/Shawn-Shan/vassal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251663264,"owners_count":21623870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","python","shell","ssh","terminal"],"created_at":"2024-11-09T02:38:50.954Z","updated_at":"2025-10-22T10:48:06.985Z","avatar_url":"https://github.com/Shawn-Shan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vassal - automated terminal\n\n\u003cimg title=\"vassal_logo\" src=\"https://s3.amazonaws.com/aws-website-shawnshancom-tm5f7/styles/logo.png\" data-canonical-src=\"https://s3.amazonaws.com/aws-website-shawnshancom-tm5f7/styles/logo.png\" width=\"250\" height=\"250\"/\u003e\n\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/Shawn-Shan/vassal/blob/master/LICENSE)\n\nVassal is a python package provide terminal automation. Save developers unnecessary labor to type in tons of duplicated and similar commands. \n\n## Getting Started\n\n1. Run a list of commands on a ssh server\n\n```\nfrom vassal.terminal import Terminal\nshell = Terminal([\"ssh username@host\", \"cd scripts\", \"python foo1.py\", \"python foo2.py\"])\nshell.run()\n```\n\n2. upload/download files through scp\n\n```\nshell = Terminal([\"scp username@host:/home/foo.txt foo_local.txt\"])\nshell.run()\n```\n\n3. run commands every 1 sec\n\n```\nfrom vassal.terminal import Terminal\nfrom vassal.scheduler import Scheduler\nshell = Terminal([\"ssh username@host\", \"cd scripts\", \"python foo1.py\", \"python foo2.py\"])\nshell = Scheduler(shell, sec=1)\nshell.run()\n```\n\n### Installing\n\n```\npip install vassal\n```\n\n## Built With\n\n* [paramiko](http://www.paramiko.org/) - SSHv2 protocol\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://github.com/Shawn-Shan/vassal/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Authors\n\n* **Shawn Shan** - *Initial work* - [https://www.shawnshan.com/](https://www.shawnshan.com/)\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/Shawn-Shan/vassal/blob/master/LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshawn-shan%2Fvassal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshawn-shan%2Fvassal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshawn-shan%2Fvassal/lists"}