Heroku gives you simple, easy ways to…


Deploy from Git, your CI system, or deploy on every push to a branch in GitHub. Heroku runs your app in a dyno — a smart, secure container with your choice of Python version. Dynos come in different types, ranging from low-cost dynos for experimentation and prototyping, all the way to dedicated types for your highest-traffic apps.
Heroku’s Python support docs →


Manage your app portfolio in a straightforward dashboard or with a CLI. Use App Metrics to monitor CPU, response time, throughput and memory so you can quickly diagnose errors and know when to scale. Instantly see what release of your app is deployed and rollback to a stable version. Get aggregated event logs for instant insight into your application’s behavior.
Application Metrics docs →


Heroku's horizontally scalable, stateless architecture is designed for building services in today's world of containerized applications. Vertically and horizontally scale your Python app’s web dynos with a single CLI command or by dragging a slider in the Heroku Dashboard.
How to scale dynos →

Why Python on Heroku?

Choice of frameworks

Build opinionated MVC web apps with Django, lightweight APIs with Flask, flexible apps with Pyramid, evented apps with Twisted and headless worker apps. Use Gunicorn or any Python WSGI Server you like, including waitress or uWSGI for mitigating slow clients. Run elegant WebSocket apps with Flask-Sockets. Process asynchronous tasks using background workers with Celery.

Build and workflow support

Heroku provides transparent support for pip freeze so your app and its dependencies behave on the cloud the same as they do locally. Heroku automatically runs collectstatic to simplify serving of static assets. Heroku caches packages between pushes to speed up builds.

Extend your app with powerful services

Extend your app with Heroku Postgres, a SQL database as a service with JSONB support for fast semi-structured data access. Choose from over 200 add-ons — managed third party cloud services that provide a range of functionality such as data stores, logging, and more. Use RedisGreen for queuing asynchronous tasks in Celery, NewRelic for application monitoring and Papertrail for logging.