$npx skillfedfor your agent

modal

Python client library for Modal

With conditionsPyPI Distributed ComputingReleased Aug 202658.7M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — modal-1.5.4-py3-none-any.whl
v1.5.4 · released 2026-08-12 · Python <3.15,>=3.10 · 13 runtime deps: aiohttp, cbor2, certifi, click, grpclib, protobuf, rich, synchronicity

Yes, if you need serverless Python execution and are willing to adopt Modal's platform. The package is actively maintained, has low install friction, uses a permissive license, and ranks in the top 1000 PyPI packages. The main trade-off is platform lock-in to Modal's service and the need to understand its authentication model before production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; requires a Modal account and authentication via `modal setup`.
  • Low friction installation; the package is actively maintained with a recent release and a stable repository.
  • Requires Python 3.10 or later.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), so you can use it freely in commercial and open-source projects without significant legal constraints.

last release 2026-08-12 (2 days) · last repo commit 2026-08-13 · 501 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 58,661,696 downloads/mo, #513 on PyPI

Verify before relying

pip install modal
python3 -m modal setup

from modal import App
app = App()

@app.function()
def hello():
    return "Hello from Modal"

if __name__ == "__main__":
    print(hello.remote())
  • Whether the 13 runtime dependencies introduce any transitive security concerns beyond what OSV currently tracks.
  • Specific performance characteristics or cost implications of using Modal's serverless platform.
  • Whether the package requires active Modal account setup and authentication to be useful in practice.
Same gist for agents: .md · .json

What it is and what it does

Modal is a Python client library that bridges your local development environment to Modal's serverless cloud compute platform. It lets you decorate Python functions to run them on-demand in the cloud, handling all the infrastructure details—containerization, scaling, networking, and resource allocation—behind a simple Python API. You write code locally, use Modal's decorators and client methods to specify what should run remotely, and the SDK manages the rest.

The package is built on modern async foundations (aiohttp, grpclib, protobuf) and integrates with your local development workflow via the command line and Python imports. It's actively maintained and sits in the top 1000 most-downloaded PyPI packages, indicating real-world adoption. The primary use case is running compute-intensive or long-running tasks without managing servers yourself.

Use it for

  • Run long-running data processing or machine learning tasks from a local script without provisioning servers.
  • Deploy scheduled jobs or background tasks that need to run on-demand in the cloud.
  • Build serverless APIs or webhooks that scale automatically without managing containers or orchestration.
  • Execute parallel or distributed computations across cloud resources from a simple Python function.
  • Prototype and test cloud-native applications locally before committing to infrastructure.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need serverless Python execution and are willing to adopt Modal's platform.

The package is actively maintained, has low install friction, uses a permissive license, and ranks in the top 1000 PyPI packages. The main trade-off is platform lock-in to Modal's service and the need to understand its authentication model before production use.

Install

modal on PyPI

Before you install

Low friction installation; the package is actively maintained with a recent release and a stable repository. Requires Python 3.10 or later.

Requires Python 3.10 or later; requires a Modal account and authentication via `modal setup`.

License in practice

Licensed under Apache-2.0 (permissive), so you can use it freely in commercial and open-source projects without significant legal constraints.

Quickstart

pip install modal
python3 -m modal setup

from modal import App
app = App()

@app.function()
def hello():
    return "Hello from Modal"

if __name__ == "__main__":
    print(hello.remote())

Verify before relying

  • Whether the 13 runtime dependencies introduce any transitive security concerns beyond what OSV currently tracks.
  • Specific performance characteristics or cost implications of using Modal's serverless platform.
  • Whether the package requires active Modal account setup and authentication to be useful in practice.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
13 packages
aiohttpcbor2certificlickgrpclibprotobufrichsynchronicitytomltypes-certifitypes-tomlwatchfilestyping_extensions
MaintenanceActively maintained 2 days since the last release
Last repo commit
First released
Downloads58,661,696 / month, #513 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: OS IndependentProgramming Language :: Python :: 3Topic :: System :: Distributed Computing

Evidence: modal-1.5.4-py3-none-any.whl

Tags

Capabilities
serverless python executioncloud compute client libraryrun python functions in cloudon-demand cloud infrastructuredistributed python tasks
Topics
serverlesscloud-computeasync-io
PyPI keywords
modalclientcloudserverlessinfrastructure

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “serverless python execution”

  • modalModal is a Python client library that lets you run Python functions…
  • lithopsLithops is a Python framework for running unmodified code at scale…
  • databricks-labs-lsqlExecutes SQL queries against Databricks through the Python SDK with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Distributed Computing packages

grpcio Worth it
PyPI · Distributed Computing · released Jul 2026

gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.

Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.

Apache-2.0compiled wheel · 3.10+
446.4Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
cloudpickle Worth it
PyPI · Scientific/Engineering · released Nov 2025

Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.

Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.

BSD-3-Clausepure Python · 3.8+
148.4Mdownloads / mo
smart-open Worth it
PyPI · Distributed Computing · released Jul 2026

Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.

Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.

MITpure Python
72.8Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo
ray Worth it
PyPI · Distributed Computing · released Aug 2026

Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.

permissive licensecompiled wheel · 3.10+
63.3Mdownloads / mo

See also anyscale · langchain-modal · lithops · fal · modal-client · aliyun-python-sdk-ecs · kcli · vastai-sdk · google-cloud-functions · cloudevents