types-pysftp
Typing stubs for pysftp
Decision gist · record as of 2026-08-14
Yes, if you use pysftp and run static type checking with mypy or pyright. Install it alongside pysftp to enable type validation. Be aware that the package is unmaintained and targets only pysftp 0.2.*; if you use a different version or need updated stubs, contribute fixes to typeshed directly rather than expecting updates here.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; pysftp itself must be installed separately for runtime use.
- Low friction installation as a pure Python stub package.
- Actively maintained within the typeshed project, though the description notes types-pysftp itself is unmaintained and won't receive updates beyond what typeshed provides.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), imposing no significant restrictions on use or redistribution.
last release 2026-06-13 (62 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 126,046 downloads/mo, #11,791 on PyPI
Alternatives
Verify before relying
pip install types-pysftp
# In your code using pysftp:
import pysftp
with pysftp.Connection('host', username='user', password='pass') as sftp:
sftp.get('remote.txt', 'local.txt')- Whether the stub package remains synchronized with pysftp 0.2.* releases after the stated unmaintained status.
- Compatibility with type checkers other than mypy 2.1.0 and pyright 1.1.410.
What it is and what it does
types-pysftp is a type stub package that provides static type annotations for the pysftp SFTP client library. It allows type checkers like mypy and pyright to understand and validate the types of pysftp's API, catching type errors in code that uses pysftp before runtime. The package is generated from and maintained as part of the typeshed project, the standard repository of type stubs for the Python ecosystem.
The package targets pysftp version 0.2.* and has been tested with mypy 2.1.0 and pyright 1.1.410. It depends on types-paramiko for type information about paramiko, which pysftp itself uses. Installation is straightforward and adds no runtime overhead—it only affects static analysis. However, the description explicitly notes that types-pysftp is unmaintained and will not receive updates; fixes should be contributed to typeshed directly.
Use it for
- Enable mypy or pyright to type-check code that calls pysftp methods, catching parameter and return type mismatches.
- Provide IDE autocompletion and inline type hints when writing code that uses pysftp.
- Validate SFTP connection and file transfer operations in a CI/CD pipeline using static type checking.
- Document the expected types of pysftp's public API for developers unfamiliar with the library.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use pysftp and run static type checking with mypy or pyright.
Install it alongside pysftp to enable type validation. Be aware that the package is unmaintained and targets only pysftp 0.2.*; if you use a different version or need updated stubs, contribute fixes to typeshed directly rather than expecting updates here.
Install
types-pysftp on PyPI
Before you install
Low friction installation as a pure Python stub package. Actively maintained within the typeshed project, though the description notes types-pysftp itself is unmaintained and won't receive updates beyond what typeshed provides.
Requires Python 3.10 or later; pysftp itself must be installed separately for runtime use.
License in practice
Licensed under Apache-2.0 (permissive), imposing no significant restrictions on use or redistribution.
Quickstart
pip install types-pysftp
# In your code using pysftp:
import pysftp
with pysftp.Connection('host', username='user', password='pass') as sftp:
sftp.get('remote.txt', 'local.txt')
Verify before relying
- Whether the stub package remains synchronized with pysftp 0.2.* releases after the stated unmaintained status.
- Compatibility with type checkers other than mypy 2.1.0 and pyright 1.1.410.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetypes-paramiko |
| Maintenance | Actively maintained 62 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 126,046 / month, #11,791 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_pysftp-0.2.17.20260613-py3-none-any.whl
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 › “pysftp type stubs”
- types-pysftpProvides type hints for the pysftp package, enabling static type…
- pysftppysftp provides a high-level Python interface to SFTP operations,…
- types-assertpyProvides type stubs enabling static type checkers like mypy and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-toml · types-html5lib · types-jsonschema · types-requests-oauthlib · types-pyaudio · types-cffi · types-PySocks · types-uWSGI · types-polib · types-tabulate