Skip to content

datalayer-externals/modal-examples

 
 

Repository files navigation

Modal Examples

This is a collection of examples for Modal. Use these examples to learn Modal and build your own robust and scalable applications.

Usage

First, sign up for a free account at modal.com and follow the setup instructions to install the modal package and set your API key.

The examples are organized into several folders based on their category. You can generally run the files in any folder as ordinary Python programs, with a command like:

python -m 01_getting_started.hello_world

Although these scripts are run on your local machine, they'll communicate with Modal and run in our cloud, spawning serverless containers on demand.

Examples

These examples are continuously tested for correctness against Python 3.11.

License

The MIT license.

About

Examples of programs built using Modal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.6%
  • Svelte 4.8%
  • CSS 3.8%
  • JavaScript 3.6%
  • TypeScript 2.3%
  • HTML 2.3%
  • Other 0.6%