Skip to main content

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

create_flask_vps_app-0.6.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

create_flask_vps_app-0.6.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

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

Hashes for create_flask_vps_app-0.6.0.tar.gz
Algorithm Hash digest
SHA256 44e2d51b03c34b04e50cc332fcfdac0ef44beb62ed8d4bb3f96f591e65cb5cb6
MD5 74226bd25b4d4ff828ec3e2db148b028
BLAKE2b-256 319304d6ef796db8474fe8b4a5ba413775f9bc57015c3fbe74dc53054e10d8ae

See more details on using hashes here.

File details

Details for the file create_flask_vps_app-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for create_flask_vps_app-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44fc41db3aeb4746416202e6eedcca875f869ae9868df0352afdc96fff374e92
MD5 65ae6046046a5dd0f35b5c3918c1d55b
BLAKE2b-256 0ef7cacee4218ce49512246391fb781f039b1e939f5aee07571076a3e487eeea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page