{"library":"spur","title":"spur","type":"library","description":"A Python library for running commands and manipulating files locally or over SSH using the same interface. Current version: 0.3.23. Release cadence: sporadic, last release 2020.","language":"python","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["pip install spur"],"cli":null},"imports":["import spur","from spur import SshShell"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/mwilliamson/spur.py","docs":null,"changelog":null,"pypi":"https://pypi.org/project/spur/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"import spur\n\nshell = spur.LocalShell()\nresult = shell.run([\"echo\", \"hello\"])\nprint(result.output)\n\nssh_shell = spur.SshShell(\n    hostname=\"localhost\",\n    username=\"user\",\n    password=os.environ.get('SSH_PASSWORD', ''),\n)\nwith ssh_shell:\n    result = ssh_shell.run([\"echo\", \"hello\"])\n    print(result.output)","lang":"python","description":"Minimal example showing local and SSH shell usage.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}