Skip to main content
Choose your preferred language and follow the installation instructions below.

Python SDK

The Modal Python SDK requires Python 3.10 – 3.14.

Install with uv or pip

Install the modal package using your preferred package manager:
uv pip install modal

Verify installation

Verify that Modal is installed correctly:
python -c "import modal; print(modal.__version__)"

Package information

Key dependencies

The Python SDK includes the following key dependencies:
  • aiohttp - Async HTTP client
  • grpclib - gRPC support
  • rich - Terminal formatting
  • typer - CLI framework
  • click - Command-line interface
The Python SDK is the only SDK that supports defining and deploying Modal Functions. The TypeScript and Go SDKs are for calling existing Functions and managing resources.

Next steps

After installing the SDK, you need to authenticate with Modal:

Authentication setup

Configure your Modal credentials to start using the SDK

Build docs developers (and LLMs) love