pysftp
A friendly face on SFTP
Decision gist · record as of 2026-08-14
No. The package is abandoned and has not been updated since 2016-07-06. While it has no known vulnerabilities today, it will not receive security patches or bug fixes going forward. For new projects, use a maintained SFTP library or paramiko directly. For existing code already using pysftp, evaluate migration to an actively maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a working SSH/SFTP server accessible from your network and valid credentials (password or private key).
- Installation has high friction due to compiled dependencies.
- More critically, the package is abandoned—last release was 2016-07-06.
License · maintenance · safety
BSD (permissive) — BSD permissive license places no restrictions on use, modification, or distribution in your own projects.
last release 2016-07-06 (3691 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,608,958 downloads/mo, #1,382 on PyPI
Alternatives
Verify before relying
import pysftp
with pysftp.Connection('hostname', username='me', password='secret') as sftp:
sftp.put('/my/local/filename')
sftp.get('remote_file')- Whether the package works reliably with modern Python versions beyond 3.5 (classifiers list 3.5 as the latest tested).
- Whether underlying paramiko dependency has received security updates that pysftp inherits or whether pysftp's pinned versions are now outdated.
- Active alternatives or maintained forks that may have addressed bugs or security issues since the last release.
What it is and what it does
pysftp is a wrapper around paramiko's SFTP client that provides a simpler, task-oriented API for common file transfer operations. It offers context managers for connections, directory navigation helpers, recursive directory operations, and file metadata handling—reducing boilerplate for typical SFTP workflows.
The package is in Beta status and has been abandoned since 2016-07-06. While it carries no known vulnerabilities as of the current scan, it has received no maintenance, bug fixes, or security updates. The classifiers indicate testing through Python 3.5, and the underlying paramiko dependency may have evolved significantly since then.
Use it for
- Uploading or downloading files to a remote SFTP server with minimal connection boilerplate using context managers.
- Recursively transferring directory trees between local and remote systems via put_r and get_r methods.
- Walking remote directory structures and filtering files for batch operations without manual path handling.
- Preserving file modification times during transfers to maintain metadata consistency across systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned and has not been updated since 2016-07-06. While it has no known vulnerabilities today, it will not receive security patches or bug fixes going forward. For new projects, use a maintained SFTP library or paramiko directly. For existing code already using pysftp, evaluate migration to an actively maintained alternative.
Install
pysftp on PyPI
Before you install
Installation has high friction due to compiled dependencies. More critically, the package is abandoned—last release was 2016-07-06. No maintenance or security updates are forthcoming.
Requires a working SSH/SFTP server accessible from your network and valid credentials (password or private key).
License in practice
BSD permissive license places no restrictions on use, modification, or distribution in your own projects.
Quickstart
import pysftp
with pysftp.Connection('hostname', username='me', password='secret') as sftp:
sftp.put('/my/local/filename')
sftp.get('remote_file')
Verify before relying
- Whether the package works reliably with modern Python versions beyond 3.5 (classifiers list 3.5 as the latest tested).
- Whether underlying paramiko dependency has received security updates that pysftp inherits or whether pysftp's pinned versions are now outdated.
- Active alternatives or maintained forks that may have addressed bugs or security issues since the last release.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,691 days since the last release |
| First released | |
| Downloads | 11,608,958 / month, #1,382 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: Implementation :: CPython |
Evidence: pysftp-0.2.9.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sftp client library python”
- pysftppysftp provides a high-level Python interface to SFTP operations,…
- sftprettyA Python3 wrapper around paramiko that simplifies SFTP file transfers…
- sftpserverProvides a simple single-threaded SFTP server built on Paramiko for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also files-com · sftpretty · fs.sshfs · ftputil · sftpserver · scp · mock-ssh-server · pytest-sftpserver · mocksftp · xmodem