Master da Web
Serverless

Python hosting for Django, FastAPI and Flask

Ship Python APIs and sites straight from the repository. The platform detects the framework, installs the dependencies, runs migrations on every deploy and puts it all online with HTTPS, autoscaling and PostgreSQL alongside.

  • Django, FastAPI and Flask detected
  • requirements.txt or pyproject.toml
  • Migrations on every deploy
  • Workers and scheduled jobs

No contract: prepaid credit by Pix, boleto or card, billed by the second of use.

mw.toml (optional)

# without this file, the framework and the start command are detected[deploy]release_command = "python manage.py migrate --noinput"start_command = "gunicorn config.wsgi" [scaling]min_instances = 0max_instances = 4
Python

What the platform detects in your Python project

No Dockerfile, no build setup: connect the repository and review the proposal before anything is created.

Framework

Django, FastAPI and Flask are detected from the project, each with its own start command.

Dependencies

requirements.txt or pyproject.toml, with the Python version the project asks for and a cache between builds.

Migrations

The command that migrates the database runs once per deploy, before traffic switches over.

Monorepos

Point each service at its folder and deploy only when that folder changes.

Templates

Start from a template

A ready-made project with the database and files already wired in. When you want to change the code, copy it to your GitHub.

Django

A Django project with PostgreSQL and its uploaded files on Object Storage.

  • 1 service
  • PostgreSQL
  • Object Storage

From R$106.60/month

The site sleeps with no traffic and is billed by use.

Deploy

FastAPI

A Python API with FastAPI, PostgreSQL and private files.

  • 1 service
  • PostgreSQL
  • Object Storage

From R$106.60/month

The site sleeps with no traffic and is billed by use.

Deploy
From deployment to operation

Why host Python on Master da Web

Async APIs

FastAPI and other ASGI apps scale with requests and sleep when idle.

Celery and workers

Run the Celery or RQ worker as an always-on service, with managed Redis as the queue.

Media on Object Storage

Files uploaded to Django go to a connected bucket, and egress to the internet is free.

Scheduled jobs

Management commands at the time you choose, with the history of every run.

Commands on the live app

createsuperuser, shell or any command with mw run, on the version that is live.

Why each failure happened

A dependency that did not install, running out of memory or the wrong port: the deploy explains it, and the previous version stays online.

How it works

From repository to live app in three steps

No server, certificate, proxy or deploy pipeline to configure.

  1. 1

    Connect your code

    Pick a repository on GitHub, GitLab or Bitbucket, a Docker image from any registry, or send a folder from your computer with mw deploy.

  2. 2

    Review the setup

    The platform reads your project and proposes everything: the web service, the queue worker, the scheduler, the migration, the database, Redis and the bucket, already connected, with the monthly cost before anything is created.

  3. 3

    Ship and iterate

    Every push becomes a deployment, and the new version only gets traffic once it responds. With previews on, each pull request gets its own environment, deleted when the PR closes.

Serverless

Plus everything the serverless platform includes

The same features for every language, ready from the first deploy.

Deploy without fear

A new version only gets traffic once it responds. If something goes wrong, the previous one stays live.

Scaling on demand

Set the minimum and maximum instances and the platform follows your traffic.

End-to-end visibility

Logs, metrics and alerts ready from the first deployment, with nothing to install.

Why each failure happened, in plain English

When a deployment fails, you see why and what to do, and the previous version stays live.

Secure by default

Every app runs isolated, with only the access it needs.

Costs under control

Billing by the second, in reais, with a cap, a spending limit and a forecast.

Data

Database and files next to your app

Object Storage

S3-compatible buckets for uploads, images and backups, with free egress to the internet.

Explore Object Storage

What it costs

An instance with 0.25 vCPU and 512 MiB running all month costs R$34.68; one with 0.5 vCPU and 1 GiB, R$69.35. With a minimum of zero, you pay only for the hours your app is awake, by the second, in reais.

Estimate my cost
FAQ

Frequently asked questions about Python hosting

What everyone asks before their first deploy.

Other languages and frameworks

Get your Python app online

Connect your repository and see your first deploy live in minutes.