{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"A pytest plugin that provides a fixture for testing SFTP client code against an in-memory mock SFTP server without needing an external server.","skillfed_tags":["pytest-plugin","sftp-testing","mock-server"],"use_cases":["Unit test an SFTP client function by mocking server responses with in-memory file structures instead of real files.","Integration test a data pipeline that fetches files from SFTP without requiring a live SFTP server in CI/CD.","Test error handling in SFTP client code by simulating missing files or permission issues via the mock server.","Verify SFTP connection logic and authentication flows in isolation without external infrastructure.","Test directory traversal and recursive file operations against a controlled mock SFTP environment."],"what_it_does":"pytest-sftpserver is a pytest plugin that injects an SFTP server fixture into your tests. Rather than serving files from disk, it serves content directly from Python objects\u2014dictionaries representing directory structures and file contents. This lets you test SFTP client code (code that connects to and downloads from SFTP servers) without spinning up a real external server or managing temporary files.\n\nThe plugin depends on paramiko for SFTP protocol handling and six for Python 2/3 compatibility. It's designed for unit and integration testing of SFTP client functions. The package has been dormant since 2019 but remains functional; it targets Python 2.7 and 3.5\u20133.7 according to its classifiers.","worth_installing":"Yes, if you need to test SFTP client code and want to avoid external server setup. The low install friction, permissive license, and zero known vulnerabilities make it a straightforward choice. However, note that the package is dormant (last release 2019) and classifiers indicate support only through Python 3.7\u2014verify compatibility with your target Python version before adopting."},"id":"pytest-sftpserver","links":{"html":"https://skillfed.io/packages/pytest-sftpserver","md":"https://skillfed.io/packages/pytest-sftpserver.md","pypi":"https://pypi.org/project/pytest-sftpserver/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2019-09-16","license_spdx":null,"license_treatment":"permissive","name":"pytest-sftpserver","python_support":"unspecified","summary":"py.test plugin to locally test sftp server connections."},"popularity":{"monthly_downloads":1067149,"position":4411,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.3.0"}
