Search code examples
pythonpython-3.xsftpparamikopysftp

pysftp vs. Paramiko


I have a simple requirement to drop a file on an SFTP server. I have found pysftp and Paramiko libraries that seem to allow me to this and developed a simple application using Paramiko but I can't find a proper source that compares the two so I can decide which one I can/should use. What are the pros and cons for each?


Solution

  • pysftp is a wrapper around Paramiko with a more Python-ish interface.

    pysftp interface does not expose all of the features of Paramiko. On the other hand, pysftp implements more high-level features on top of Paramiko, notably recursive file transfers.