What is Python?

Python is a general-purpose programming language. On TurboStack it runs as a per-application runtime, usually behind the Nginx reverse proxy.

Python is a popular, general-purpose programming language known for its readable syntax and large ecosystem. It is widely used for web applications, APIs, data processing, automation, and business platforms.

On a hosting platform, a Python web application typically runs as a long-lived process served by an application server. A web server in front of it accepts public HTTPS traffic and forwards requests to that process. Your code does not deal with Transport Layer Security (TLS) or public networking directly.

On TurboStack

TurboStack provides Python as a per-application runtime. You enable it on an application and select the version your application needs. Different applications on the same host can run different Python versions independently.

Most Python applications run as their own process and are published through Nginx acting as a reverse proxy. Your app listens on a local port and Nginx terminates TLS and forwards traffic to it.

Odoo is a special case. It is a Python-based ERP and business suite provisioned through its dedicated app_type: odoo. The platform manages its runtime and services, so you do not use the generic reverse-proxy pattern.

Best practices

  • Pin a specific Python version so deployments are reproducible, and plan upgrades before a version reaches end of life.
  • Run your application inside a virtual environment to isolate its dependencies.
  • Serve your app with a production application server and let Nginx handle public TLS traffic.
  • Manage the process with a service manager so it restarts on failure and after reboots.
  • Store secrets and configuration in environment variables rather than in your codebase.