Skip to content

Installation

Nicolas Couture edited this page Apr 19, 2026 · 1 revision

Installation

MockSSH is designed for modern Python environments and follows standard packaging conventions.

Requirements

  • Python: 3.12 or higher.
  • Operating System: Linux, macOS, or Windows (POSIX-compliant shell recommended for development).

Standard Installation

To install the latest version of MockSSH from the local source directory:

python3 -m venv .venv
source .venv/bin/activate
pip install .

Development Installation

If you plan on contributing to MockSSH or running the full test suite, install with the development dependencies:

pip install -e ".[dev]"

This will install additional tools including:

  • Ruff: For linting and formatting.
  • mypy: For static type checking.
  • pytest: For running the test suite.
  • pre-commit: For managing git hooks.

Clone this wiki locally