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.5.0.tar.gz (6.9 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.5.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file create_flask_vps_app-0.5.0.tar.gz.

File metadata

  • Download URL: create_flask_vps_app-0.5.0.tar.gz
  • Upload date:
  • Size: 6.9 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.5.0.tar.gz
Algorithm Hash digest
SHA256 45c67eac8f1f65d3d1c61efc570e708d6014315bb9292b0edf032b9eb77e0176
MD5 6f611e08f6dfd3dc38e8a53d0b4a3cc1
BLAKE2b-256 07f79b6db2df689847e20d1a2188f0404d2ac10b2a0dc2552a25d4b7c87c994e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for create_flask_vps_app-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4900f4e1a5119d55f2811c5a870e1c67d263395ec422b9afdc71105e4172f5c0
MD5 abaed52e3421066b9e56a7edce22d8fd
BLAKE2b-256 a15819ae905b9b927d0d8061a037658b1d46c99833b04fdfed559b87ba60dfca

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