modal-examples  by modal-labs

Examples for Modal, a platform for running cloud applications

created 2 years ago
917 stars

Top 40.5% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides a comprehensive set of examples for Modal, a platform for building and deploying scalable serverless applications. It's designed for developers looking to learn Modal's capabilities and build robust cloud-native applications.

How It Works

The examples demonstrate how to leverage Modal's serverless infrastructure to run Python code in the cloud. Users execute scripts locally, which then communicate with Modal to provision and manage serverless containers on demand, abstracting away infrastructure complexity.

Quick Start & Requirements

  • Install: pip install modal
  • Prerequisites: Modal account (free signup at modal.com), API key configured.
  • Tested against: Python 3.11.
  • Run example: modal run <path_to_example.py>

Highlighted Details

  • Guided tour through Modal's concepts and capabilities across 14 categories.
  • Demonstrates serverless container spawning on demand.
  • Examples cover a wide range of use cases from basic to cluster management.

Maintenance & Community

  • Maintained by Modal Labs.
  • Community resources (Discord/Slack, etc.) are likely available via modal.com.

Licensing & Compatibility

  • License: MIT.
  • Compatible with commercial and closed-source applications.

Limitations & Caveats

The examples are primarily focused on demonstrating Modal's functionality and may require adaptation for specific production use cases.

Health Check
Last commit

22 hours ago

Responsiveness

1 day

Pull Requests (30d)
62
Issues (30d)
3
Star History
81 stars in the last 90 days

Explore Similar Projects

Starred by Jared Palmer Jared Palmer(Ex-VP of AI at Vercel; Founder of Turborepo; Author of Formik, TSDX), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
1 more.

promptable by cfortuner

0%
2k
TS/JS library for building full-stack AI apps
created 2 years ago
updated 2 years ago
Starred by Peter Norvig Peter Norvig(Author of Artificial Intelligence: A Modern Approach; Research Director at Google), Michael Han Michael Han(Cofounder of Unsloth), and
15 more.

open-interpreter by openinterpreter

0.1%
60k
Natural language interface for computers
created 2 years ago
updated 4 days ago
Feedback? Help us improve.