Skip to main content

Autogenerate boilerplate code for a Flask app

Project description

create-flask-app

autogenerate boilerplate code for a 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 Libraries

    • Flask-Login

    • Flask-Admin

    • Flask-WTF

      JS Libraries

    • Vue.js(CDN version)

    • jQuery

      CSS

    • Sass

    • Bootstrap

      Databases

    • 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 . 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.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

new_flask_app-1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: new-flask-app-1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for new-flask-app-1.0.tar.gz
Algorithm Hash digest
SHA256 a694c03da9fde8adeba2d2773468530f9ea42a77a9783994b0eff5260c2aca1b
MD5 e0fcbed2a6af6c60873d88f8567518ac
BLAKE2b-256 547e09ef9853d2efe928ac3ae0bb43923b70645a93e227f73407002f2e9871c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: new_flask_app-1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for new_flask_app-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 85959f02f93b5c632d39a404251c7af6edf755fbb1822cc99b58f055392f3bcb
MD5 749fe40c55d3af1bc034ad6e57d963ec
BLAKE2b-256 f5ac03ddb588acb681e6001e743d92c213fa055a54792c33e640f74caeecdc5c

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