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.