Python hosting on your own server
Install Python 3.12, 3.13 or 3.14, and run your web app as a managed service. Dependencies come from your lock file with uv, and gunicorn serves the app behind the web server.
- Python 3.12, 3.13 or 3.14 installed on the server
- Dependencies installed with uv sync --frozen from your lock file
- gunicorn bound to a local port behind your domain
On your own server
Your provider bills the server as it does now. Zefily installs Python and the web server, deploys your code and renews the certificates. If you move away from Zefily, your Python app stays on the same server.
Runs the stacks you already use
- WordPress
- PHP
- Laravel
- Node.js
- Python
- Docker
- Supabase
- Ghost
- Nextcloud
- n8n
- Uptime Kuma
- Grafana
- Gitea
- Metabase
- PocketBase
- Meilisearch
- Vaultwarden
- Adminer
- Joomla
- Moodle
- PrestaShop
- Mautic
- Craft CMS
- Statamic
- Static sites
- CakePHP
- CodeIgniter
- Symfony
- Yii
- Drupal
- WooCommerce
- Express
- NestJS
- Nuxt
- Next.js
- Strapi
- Django
- Flask
- FastAPI
- Hetzner
- DigitalOcean
- Vultr
- Linode
What you get
uv for dependencies
The Python preset runs uv sync --frozen --no-dev, so production installs the exact versions you locked and tested.
Gunicorn start command
The preset starts gunicorn on 127.0.0.1 on the port Zefily assigns. Edit it on the Deploy pane if your module has another name.
Environment variables
Keep secrets such as SECRET_KEY and database URLs in the site's environment variables, not in the repository.
Linked databases
Link a MariaDB or PostgreSQL database to the site, so its connection details reach the app through the environment.
Background workers
Run background workers as managed services next to the web app, with the same deploy.
Logs in the panel
Read the app's output in the site's Logs pane, next to the web server logs.
How it works
-
1
Install Python
In the web stack section, install Python 3.12, 3.13 or 3.14.
-
2
Add the site
Choose Runs on: Python, the version and your domain. The port is assigned for you.
-
3
Deploy from Git
Use the Python preset for your Git deploy. Each push installs the locked dependencies and restarts the app.
Read next
Pricing
Plans, limits and prices are on the pricing page. Start with the plan that fits your sites and change it later.
See plans →Questions
Which Python versions can I use?
3.12, 3.13 and 3.14, installed from the web stack section. A version that a site uses cannot be removed until that site changes.
Why does the preset use uv?
uv installs the versions in your lock file quickly and the same way every time. With --frozen, a deploy fails when the lock file is out of date.
Can I change the start command?
Yes. The preset is a starting point. Edit the start command on the Deploy pane if your app module is named differently.
Where do my secrets go?
In the site's environment variables. Keep .env files out of git, so they never reach the repository.
Can Python apps share a server with WordPress?
Yes. Each site has its own domain, runtime and certificate, so they can run side by side.