$npx skillfedfor your agent

pyftpdlib

Very fast asynchronous FTP server library

With conditionsPyPI Python ModulesReleased Feb 2026592.6K downloads / moSource build

Decision gist · record as of 2026-08-14

sdist only — pyftpdlib-2.2.0.tar.gz · builds from source
v2.2.0 · released 2026-02-07 · Python >=3.6 · 2 runtime deps: pyasynchat, pyasyncore

Yes, if you need to embed FTP capability in a Python application or run a lightweight FTP server. The library is actively maintained, has no known vulnerabilities, and is production-stable. However, install friction is high due to backport dependencies (pyasynchat, pyasyncore), and the license status is unclear—verify the license before use in proprietary contexts. Not recommended if you need a standalone, battle-tested FTP daemon; use vsftpd or proftpd instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later; runtime dependencies pyasynchat and pyasyncore must be installed and available.
  • High install friction due to two runtime dependencies (pyasynchat, pyasyncore) that are themselves maintained as backports of deprecated stdlib modules.
  • The package itself is actively maintained with recent commits, but the dependency chain adds complexity.

License · maintenance · safety

(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the metadata. Verify the actual license before use in proprietary or restricted-license contexts.

last release 2026-02-07 (188 days) · last repo commit 2026-04-23 · 1,816 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 592,649 downloads/mo, #5,852 on PyPI

Verify before relying

from pyftpdlib.authorizers import DummyAuthorizer
from pyftpdlib.handlers import FTPHandler
from pyftpdlib.servers import FTPServer

authorizer = DummyAuthorizer()
authorizer.add_user("user", "12345", "/home/user", perm="elradfmwMT")
handler = FTPHandler
handler.authorizer = authorizer
server = FTPServer(("127.0.0.1", 21), handler)
server.serve_forever()
  • Whether pyasynchat and pyasyncore are actively maintained or have known stability issues in current Python versions.
  • Actual license identifier and any restrictions on commercial or proprietary use.
  • Performance characteristics on modern Python versions and whether benchmarks cited are current.
Same gist for agents: .md · .json

What it is and what it does

pyftpdlib is a pure-Python library for building FTP servers that handle concurrency asynchronously using event-driven I/O (epoll, kqueue, or select). It implements RFC-959 FTP and supports modern extensions like FTPS encryption, IPv6, Unicode filenames, and the MLSD/MLST commands. The library can run as a standalone command-line server or be embedded in an application via its API, with pluggable authorizers for managing virtual and real users on both Unix and Windows.

The package depends on pyasynchat and pyasyncore, which are maintained backports of Python's deprecated stdlib async modules. It is actively maintained and positioned as a lightweight alternative to traditional FTP daemons like vsftpd or proftpd, trading some raw throughput for better concurrent-client scaling in single-process mode. It is suitable for scenarios where you need to embed FTP capability in a Python application or run a quick file-sharing server without external dependencies.

Use it for

  • Embed an FTP server directly in a Python application to serve files to remote clients without spawning a separate process.
  • Set up a quick file-sharing server with command-line flags (e.g., `python3 -m pyftpdlib --write`) for ad-hoc file distribution.
  • Build a custom FTP service with virtual users and per-user filesystem restrictions using the DummyAuthorizer or custom authorizer classes.
  • Handle many concurrent FTP clients efficiently in a single process using asynchronous I/O instead of forking or threading.
  • Implement FTPS (FTP over TLS) for encrypted file transfers in environments where traditional FTP is insufficient.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to embed FTP capability in a Python application or run a lightweight FTP server.

The library is actively maintained, has no known vulnerabilities, and is production-stable. However, install friction is high due to backport dependencies (pyasynchat, pyasyncore), and the license status is unclear—verify the license before use in proprietary contexts. Not recommended if you need a standalone, battle-tested FTP daemon; use vsftpd or proftpd instead.

Install

pyftpdlib on PyPI

Before you install

High install friction due to two runtime dependencies (pyasynchat, pyasyncore) that are themselves maintained as backports of deprecated stdlib modules. The package itself is actively maintained with recent commits, but the dependency chain adds complexity.

Requires Python 3.6 or later; runtime dependencies pyasynchat and pyasyncore must be installed and available.

License in practice

License status is unclear—no SPDX identifier or raw license text is available in the metadata. Verify the actual license before use in proprietary or restricted-license contexts.

Quickstart

from pyftpdlib.authorizers import DummyAuthorizer
from pyftpdlib.handlers import FTPHandler
from pyftpdlib.servers import FTPServer

authorizer = DummyAuthorizer()
authorizer.add_user("user", "12345", "/home/user", perm="elradfmwMT")
handler = FTPHandler
handler.authorizer = authorizer
server = FTPServer(("127.0.0.1", 21), handler)
server.serve_forever()

Verify before relying

  • Whether pyasynchat and pyasyncore are actively maintained or have known stability issues in current Python versions.
  • Actual license identifier and any restrictions on commercial or proprietary use.
  • Performance characteristics on modern Python versions and whether benchmarks cited are current.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.6
Install frictionHigh. Source build required
Runtime dependencies
2 packages
pyasynchatpyasyncore
MaintenanceActively maintained 188 days since the last release
Last repo commit
First released
Downloads592,649 / month, #5,852 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: System AdministratorsOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: File Transfer Protocol (FTP)Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Filesystems

Evidence: pyftpdlib-2.2.0.tar.gz

Tags

Capabilities
ftp server library pythonasynchronous ftp daemonftps server implementationpython ftp frameworkconcurrent ftp handlingevent-driven file transferrfc 959 ftp compliance
Topics
ftp-serverasync-ionetwork-protocol
PyPI keywords
asynchronousdaemoneventdrivenftpftpdftpsnonblockingpythonrfc1123rfc2228rfc2428rfc2640rfc3659rfc959sendfileserverssl

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 › “ftp server library python”

  • pyftpdlibBuilds asynchronous FTP servers in Python with RFC-959 compliance,…
  • aioftpaioftp provides an async FTP client and server implementation for…
  • pytest-localftpserverProvides pytest fixtures for running local FTP and TLS-FTP servers in…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also aioftp · ftputil · proxy.py · pyforked-daapd · jeedomdaemon · parfive · pysmb · pytest-localftpserver · aiosmtplib · apache-airflow-providers-ftp