Python
Back to home
On this page
When dealing with Python stacks, the information below may help customize your configuration. These sections provide Python-specific configuration details, but you can also refer to the common Upsun documentation:
Managing dependencies
Pip comes pre-installed in all python
runtime containers.
With it, you can add pip install
to your build hook and be well on your way to building your apps.
Alternatively, you can use a different package manager, such as Poetry or Pipvenv.
Configuring web servers
Upsun doesn’t enforce an assumption of what Python web server package you are using to serve your applications.
You can use any server on Upsun by modifying the web.commands.start
property of your application configuration.
For more information, see how to configure web servers.
Frameworks
The Upsun documentation includes a wide array of community resources to help with framework-specific configuration:
Get support
While there are virtually no restrictions to you deploying any kind of application on Upsun, configuration may still be unclear at this point.
Not to worry! The Upsun community is here to help. Come and say hello, share your work, ask for help, and peek in on what others are working on.
Welcome to the Upsun community!