Skip to main content

create-flask-app

autogenerate boilerplate code for a flask app

version

pip install new-flask-app

demo

Features

  • Generate a basic Flask app with:

    • app.py
    • config.py
    • static folder
    • templates folder
    • README.md
    • Makefile
    • setup.py
    • requirements.txt
    • .gitignore

    and optional extras including:

    • Test suite(tox, pytest)
    • Docker
    • Heroku
    • Job Scheduler
    • Flask-Login
    • Flask-Admin
    • Flask-WTF
    • Vue.js(CDN version)
    • jQuery
    • Sass
    • Bootstrap
    • SQLite(Flask-SQLAlchemy)
    • MongoDB(Flask-PyMongo)
  • Automatically install pip dependencies in a venv

  • Makefile with useful commands(starting server, lint code, test code)

Getting Started

  1. pip install new-flask-app to install the create-flask-app console script
  2. run create-flask-app
  3. after selecting extras, cd into the new directory and make start to start flask server
  4. done!

OR

For development:

  1. make install
  2. source .env/bin/activate
  3. create-flask-app or python create_flask_app.py

Metadata

Release files for new-flask-app 1.0.4

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

Source distribution (sdist)

Source distribution for new-flask-app 1.0.4
File Size Uploaded
new-flask-app-1.0.4.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for new-flask-app 1.0.4
File Interpreter ABI Platform
new_flask_app-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 27.4 kB

Release files / new-flask-app-1.0.4.tar.gz

Download URL new-flask-app-1.0.4.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
56e07d208b4b30a6b4ed93ea2d6e8724470246cb2e12b347afd656645ab65aec
BLAKE2b-256 checksum
How to use checksums
e2c78ebccaa34a42c0fab8f4114ad96f9145031a5c3870cf0ea321c5cbb0c1df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / new_flask_app-1.0.4-py3-none-any.whl

Download URL new_flask_app-1.0.4-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dcff990349a0cf2e4c9e62cee10090b5953fd4cf31701114ca8025a11d9eb932
BLAKE2b-256 checksum
How to use checksums
ad41b7712e241cbcb344c7879eb5ab2a01afaa89a6f48fb5aa13b3d1b4914180
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

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