- Python
- TypeScript
- Go
Python SDK
The Modal Python SDK requires Python 3.10 – 3.14.Install with uv or pip
Install themodal package using your preferred package manager:Verify installation
Verify that Modal is installed correctly:Package information
- Package name:
modal - PyPI: https://pypi.org/project/modal/
- License: Apache 2.0
- Python versions: 3.10, 3.11, 3.12, 3.13, 3.14
Key dependencies
The Python SDK includes the following key dependencies:aiohttp- Async HTTP clientgrpclib- gRPC supportrich- Terminal formattingtyper- CLI frameworkclick- 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