A CLI tool to scaffold a Flask API project with deployment setup.
Project description
Flask VPS Deployment Boilerplate
This is a powerful Flask API boilerplate that helps you deploy Flask applications to any VPS (Virtual Private Server) provider, avoiding vendor lock-in. Here are its key features:
VPS Provider Independence
- Works with any VPS provider (DigitalOcean, Linode, Vultr, etc.)
- Typically much cheaper than serverless platforms like Vercel
- Full control over your infrastructure
Automated Deployment
- Uses Fabric for automated deployments
- Sets up Nginx as reverse proxy
- Configures SSL certificates automatically using Let's Encrypt
- Sets up systemd service for process management
Production-Ready Features
- CORS configuration
- Database integration support
- Nginx configured with:
- HTTPS redirection
- Gzip compression
- Caching
- HTTP/2 support
Cost Comparison
- VPS costs typically start at $5/month (DigitalOcean, Linode)
- Much cheaper than serverless for consistent workloads
- No per-request pricing or cold starts
Usage
pip install create-flask-vps-app
create-flask-vps-app myapp
cd myapp
fab setup
fab deploy
When to Use
This boilerplate is particularly useful when you want to:
- Avoid vendor lock-in
- Keep costs predictable and low
- Have full control over your infrastructure
- Need better performance than serverless platforms
- Want automated deployment with best practices built-in
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file create_flask_vps_app-0.6.0.tar.gz.
File metadata
- Download URL: create_flask_vps_app-0.6.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44e2d51b03c34b04e50cc332fcfdac0ef44beb62ed8d4bb3f96f591e65cb5cb6
|
|
| MD5 |
74226bd25b4d4ff828ec3e2db148b028
|
|
| BLAKE2b-256 |
319304d6ef796db8474fe8b4a5ba413775f9bc57015c3fbe74dc53054e10d8ae
|
File details
Details for the file create_flask_vps_app-0.6.0-py3-none-any.whl.
File metadata
- Download URL: create_flask_vps_app-0.6.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44fc41db3aeb4746416202e6eedcca875f869ae9868df0352afdc96fff374e92
|
|
| MD5 |
65ae6046046a5dd0f35b5c3918c1d55b
|
|
| BLAKE2b-256 |
0ef7cacee4218ce49512246391fb781f039b1e939f5aee07571076a3e487eeea
|