What is possible.
WHAT IS AVAILABLE
cPanel provides a Python application feature, which sets up and runs Python applications.
WHAT IT HANDLES
Creating a virtual environment Selecting a Python version Configuring the application to be served Restarting it when needed
WHAT IT SUITS
Web applications and APIs Long-running applications serving requests
WHAT IT IS NOT FOR
Ad hoc scripts, which run through cron or the terminal
WHAT TO ESTABLISH BEFORE STARTING
Which Python version your application needs Which dependencies it requires Whether those dependencies can be installed without system-level access
THAT LAST POINT
Libraries requiring compilation or system packages may not install on shared hosting.
Check before committing to a stack.
WHAT TO DO IF THEY WILL NOT INSTALL
Consider an alternative library, or a VPS where you control the system.
WHAT ELSE TO CONSIDER
Resource limits, which apply to Python applications as to everything else.
WHERE TO ASK
Open a ticket if a dependency will not install.