Skip to content

Installation

You can install ImportSpy directly from PyPI using pip.


Basic installation

pip install importspy

This installs both the core runtime and the command-line interface (CLI), allowing you to use ImportSpy in both Embedded Mode and CLI Mode.


Minimum requirements

  • Python 3.8 or higher
  • Supported operating systems:
  • Linux
  • macOS
  • Windows
  • Compatible with CPython and alternative interpreters (e.g. IronPython), if declared in the contract

Updating ImportSpy

To upgrade to the latest version:

pip install --upgrade importspy

Verify installation

To confirm that ImportSpy is correctly installed and the CLI is available:

importspy --help

You should see the full list of command-line options and usage instructions.