modal
Python client library for Modal
Install
modal on PyPI
pip
pip install modaluv
uv add modalpoetry
poetry add modalPackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<3.15,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 13 — aiohttp, cbor2, certifi, click, grpclib, protobuf, rich, synchronicity, toml, types-certifi, types-toml, watchfiles, typing_extensions |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: modal-1.5.4-py3-none-any.whl
Keywords: modal, client, cloud, serverless, infrastructure
About modal
from the package's own PyPI description — quoted content, verbatim
Modal Python SDK
PyPI Version (image) License (image) Slack (image)
The Modal Python SDK provides convenient, on-demand access to serverless cloud compute from Python scripts on your local computer.
Documentation
See the online documentation for many example applications, a user guide, and the detailed API reference.
Installation
This library requires Python 3.10 – 3.14.
Install the package with uv or pip:
uv pip install modal
You can create a Modal account (or link your existing one) directly on the command line:
python3 -m modal setup
Support
For usage questions and other support, please reach out on the Modal Slack.
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Modal is a Python SDK that lets you run serverless cloud compute jobs on-demand from your local scripts, handling infrastructure provisioning and execution without managing servers directly.
Installation is straightforward with low friction—a pure-wheel distribution with 13 well-established runtime dependencies. The project shows strong maintenance signals: released 1 day ago, active status, 501 GitHub stars, and continuous commits through August 2026.
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both commercial and open-source projects.
Usage
pip install modal
python3 -m modal setup
import modal
app = modal.App()
@app.function()
def hello():
return "Hello from Modal"
if __name__ == "__main__":
print(hello.remote())
Requires Python 3.10–3.14; you must run `python3 -m modal setup` to authenticate with a Modal account before executing remote functions.
Verdict: Modal is a well-maintained, actively developed serverless compute SDK with permissive licensing and low installation friction. It has no known vulnerabilities and sits in the top 1000 PyPI packages. The primary consideration is the Python version requirement (3.10–3.14) and the need for account setup before use.
Needs verification
- Whether the 13 runtime dependencies introduce any transitive vulnerabilities or compatibility issues in specific deployment environments
- Performance characteristics and cost implications of the serverless execution model for different workload types
Similar packages
permissive · top 1,000 on PyPI
coherepermissive · top 1,000 on PyPI
google-cloud-computepermissive · top 1,000 on PyPI
swebenchpermissive · top 1,000 on PyPI
nvidia-cusparselt-cu13unclear · top 1,000 on PyPI
azure-batchunclear · top 1,000 on PyPI
aws-sam-translatorpermissive · top 1,000 on PyPI
APSchedulerpermissive · top 1,000 on PyPI
numpypermissive · top 100 on PyPI
opentelemetry-apipermissive · top 100 on PyPI