Skip to main content

Autogenerate boilerplate code for a Flask app

Project description

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

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

new-flask-app-1.0.4.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

new_flask_app-1.0.4-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file new-flask-app-1.0.4.tar.gz.

File metadata

  • Download URL: new-flask-app-1.0.4.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for new-flask-app-1.0.4.tar.gz
Algorithm Hash digest
SHA256 56e07d208b4b30a6b4ed93ea2d6e8724470246cb2e12b347afd656645ab65aec
MD5 aec5aff36ec3cd1b16507da6e8fd23e4
BLAKE2b-256 e2c78ebccaa34a42c0fab8f4114ad96f9145031a5c3870cf0ea321c5cbb0c1df

See more details on using hashes here.

File details

Details for the file new_flask_app-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for new_flask_app-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dcff990349a0cf2e4c9e62cee10090b5953fd4cf31701114ca8025a11d9eb932
MD5 cb5afc27c0225d902365bea26d79bc95
BLAKE2b-256 ad41b7712e241cbcb344c7879eb5ab2a01afaa89a6f48fb5aa13b3d1b4914180

See more details on using hashes here.

Supported by

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