Or<div><br></div><div><a href="https://pypi.python.org/pypi/plumbum">https://pypi.python.org/pypi/plumbum</a></div><div><br></div><div>That is similar to fabric (imho it's better); may work for u...<span></span><br><br>On Saturday, October 31, 2015, David Berthelot <<a href="mailto:david.berthelot@gmail.com">david.berthelot@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You can use python 2.7.x for fabfile.py since it's just a single file independent of the rest of your project.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 31, 2015 at 4:38 PM, Tiejun Li via Baypiggies <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','baypiggies@python.org');" target="_blank">baypiggies@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top"><div>There is none. Fabric is the best.</div><div><p><a href="https://overview.mail.yahoo.com/mobile/?.src=Android" target="_blank">Sent from Yahoo Mail on Android</a></p> <hr><table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td valign="top"> <div style="font-family:Roboto,sans-serif;color:#7e7d80"><b>From</b>:"Craig Rodrigues" <rodrigc@FreeBSD.org><br><b>Date</b>:Sat, Oct 31, 2015 at 4:25 PM<br><b>Subject</b>:[Baypiggies] Alternatives to Python Fabric for SSH remote execution for Python 3?<br><br></div><div><div> <div dir="ltr"><div><div><div>Hi,<br><br></div>I was recently doing QA work at a startup, and extensively used<br></div>Fabric ( <a rel="nofollow" href="http://fabfile.org" target="_blank">http://fabfile.org</a> ) for execute commands remotely over SSH.<br><br></div><div>I
 used only a few functions from this library, such as<br></div><div>fabric.api.run() , <a rel="nofollow" href="http://fabric.api.cd" target="_blank">fabric.api.cd</a>(), fabric.api.put(), fabric.api.get().<br></div><div>This allowed me to run a remote command, change to a remote directory,<br></div><div>put a file, and get a file, all over SSH.<br><br></div><div>For my uses, this worked out quite well.  I really liked this library a lot.<br><br></div><div>The only downside is the library does not work with Python 3.<br></div><div>I've tried this patch to add Python 3 support: <a rel="nofollow" href="https://github.com/fabric/fabric/issues/1378" target="_blank">https://github.com/fabric/fabric/issues/1378</a><br></div><div>and it works.  However, the author of Fabric is not accepting this patch<br></div><div>because he does not want to drop support for Python 2.5.<br></div><div>The author is working on a rewrite called Pyinvoke ( <a rel="nofollow" href="http://www.pyinvoke.org/" target="_blank">http://www.pyinvoke.org/</a> )<br></div><div>which will support Python 3, but that is very early pre-alpha stuff.<br><br></div><div>Can anyone recommend an alternate library for doing SSH remote<br></div><div>execution, which works on Python 2 and Python 3, and is simple to use?<br><br></div><div>Since Fabric layers on top of the Paramiko ( <a rel="nofollow" href="http://paramiko.org" target="_blank">http://paramiko.org</a> ) SSH library,<br></div><div>is using that directly the best way to go?<br></div><div><br>--<br></div><div>Craig<br></div></div></div></div><div style="padding:1.5em 0.5em 0.5em 1.2em;word-wrap:break-word">_______________________________________________<br>Baypiggies mailing list<br><a>Baypiggies@python.org</a><br>To change your subscription options or
 unsubscribe:<br><a href="https://mail.python.org/mailman/listinfo/baypiggies" target="_blank">https://mail.python.org/mailman/listinfo/baypiggies</a></div></td>  </tr>   </tbody>   </table></div></td></tr></tbody></table><br>_______________________________________________<br>
Baypiggies mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','Baypiggies@python.org');" target="_blank">Baypiggies@python.org</a><br>
To change your subscription options or unsubscribe:<br>
<a href="https://mail.python.org/mailman/listinfo/baypiggies" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/baypiggies</a><br></blockquote></div><br></div>
</blockquote></div><br><br>-- <br><div dir="ltr"><span style="line-height:22px"><font face="arial, helvetica, sans-serif">--</font></span><br style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="line-height:22px"></span><div><span style="line-height:22px"><font face="arial, helvetica, sans-serif"><a href="http://www.facebook.com/jshharlow" target="_blank">facebook.com/jshharlow</a></font></span></div><div><span style="line-height:22px"><a href="http://flickr.com/jshharlow" target="_blank"><font face="arial, helvetica, sans-serif">flickr.com/jshharlow</font></a></span></div><div><font face="arial, helvetica, sans-serif">YIM: <a>jshharlow</a></font></div></div><br>