{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"},{"label":"Mocking","url":"https://skillfed.io/packages/category/software-development-testing-mocking"}],"enrichment":{"capability":"Provides pytest fixtures for running local FTP and TLS-FTP servers in tests, enabling you to test FTP client functionality without external dependencies.","skillfed_tags":["ftp-testing","pytest-plugin","test-fixtures"],"use_cases":["Test FTP client libraries or custom upload/download code without a live FTP server.","Verify authentication and permission handling in FTP-based workflows.","Test TLS/SSL FTP connections with a local certificate in CI/CD pipelines.","Validate error handling when FTP operations fail (connection refused, auth denied).","Integration test file transfer workflows in isolation from external services."],"what_it_does":"pytest-localftpserver is a pytest plugin that injects ftpserver and ftpserver_TLS fixtures into your test suite, each providing a threaded, in-process FTP server instance. This lets you write tests that exercise FTP client code\u2014uploads, downloads, authentication, directory operations\u2014without needing an external FTP server or network access. The plugin depends on pyftpdlib for the server implementation and PyOpenSSL for TLS support.\n\nYou configure the server's behavior (username, password, port, home directory, certificate path) via environment variables or pytest configuration files. The fixture scope can be set per-function, per-module, or per-session, making it flexible for different test strategies. Since the server runs in a thread within your test process, it starts and stops with each test or test session, keeping your test environment isolated and reproducible.","worth_installing":"Yes. This is a stable, actively maintained pytest plugin (released 3 days ago, in production since 2016) with no known vulnerabilities, low install friction, and a clear use case: testing FTP client code locally. The MIT license is permissive. Install it if you need to test FTP functionality in your test suite."},"id":"pytest-localftpserver","links":{"html":"https://skillfed.io/packages/pytest-localftpserver","md":"https://skillfed.io/packages/pytest-localftpserver.md","pypi":"https://pypi.org/project/pytest-localftpserver/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-11","license_spdx":null,"license_treatment":"permissive","name":"pytest-localftpserver","python_support":"unspecified","summary":"A PyTest plugin which provides an FTP fixture for your tests"},"popularity":{"monthly_downloads":74863,"position":14781,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.6.0"}
