Skip to main content

AirFlask

Simplest way to host flask web apps in production - Using nginx and gunicorn.

Installation

pip install airflask

Features

  • 🚀 One line production deployment for flask apps.
  • 🔧 Installs all dependencies, and manages everything.
  • ⚡ Powered by a nginx + gunicorn server.
  • 🤖 Auto-tunes the best hosting config based on your server specs.

Usage

Deploying: A single line that manages everything and your app goes live with no hassle!

sudo airflask deploy <path>
  • where <path> is the full path to the parent folder containing your app.py

  • Be sure to rename your main flask file to app.py

  • App will be hosted on localhost, your private and public ip address (if static and unshared).

  • for eg. sudo airflask deploy /home/naitik/flaskecomapp/

Deploying with Domain and SSL (Free SSL via Let's Encrypt)

sudo airflask deploy <path> --domain <example.com>
sudo airflask deploy <path> --domain <example.com> --ssl --noredirect

App Type and Power

sudo airflask deploy <path> --apptype <app_type> 
sudo airflask deploy <path> --power <high/low/med>

More instructions and details at https://github.com/naitikmundra/AirFlask/tree/main/docs

Stop or Restart

sudo airflask restart <path>
sudo airflask stop <path>

Restart your app after you make changes.

Contact

Metadata

Release files for airflask 0.9.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airflask 0.9.10
File Size Uploaded
airflask-0.9.10.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airflask 0.9.10
File Interpreter ABI Platform
airflask-0.9.10-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 kB

Release files / airflask-0.9.10.tar.gz

Download URL airflask-0.9.10.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4968a6c3b3361f4217c973b1954a5a06e454ec279450d03e5e0c6738a0a9eeb0
BLAKE2b-256 checksum
How to use checksums
8a59cbcfe9f856b400eac98059d6dc53571e9e388897360b728c47c82d2e8eb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / airflask-0.9.10-py3-none-any.whl

Download URL airflask-0.9.10-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3256b9289fa67dc53add483138310ec4d5a3000a90bcb14439b32b7d6d67a723
BLAKE2b-256 checksum
How to use checksums
cc6fbe034e9599045ded8a35319aa19ce65a31ffd8cb09a626d0f1b1f99438ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.9.10 This release

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page