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.7.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.7.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: create_flask_vps_app-0.7.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.7.0.tar.gz
Algorithm Hash digest
SHA256 52ff4620100ca2457423a5997ea669f46208c6a34469a199209553d853ec2893
MD5 94631c5422dc2e0780b3670e5aeead74
BLAKE2b-256 680a05ae87248629511ab866d2385398561b7642744dc0824176912b0607cf9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for create_flask_vps_app-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9e99a6c0d66cfdddaa19efee3143503440b95df213f5e07e90c7f17303caeb0
MD5 ae6cc2ac53cbb48f81578a4acaffc302
BLAKE2b-256 787ae7513c902546d4fab6fd68ef9bfeb300fde99437b5c3dab20916c9084da9

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