MurphyAdam / kickstart-flask-app

Generate a new Flask app project.

Home Page:https://pypi.org/project/kickstart-flask-app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kickstart-flask-app

This is a simple package to kickstart a new Flask app project

Install

pip install kickstart-flask-app

Usage

you could use this package in two ways:

  1. The Python interpreter
python
from kickstart_flask_app import KickstartFlaskApp

create_app = KickstartFlaskApp()
create_app.main()

The above will propmt you to enter some data, press enter to use defaults. This will create a new Flask project in the path you run the python interpreter

  1. Command line (recommended)
kickstart-flask-app

once you have installed the package, it also provides a command line command in your terminal: kickstart-flask-app This, just as the Python interpreter will prompt the same. This is much quicker than importing all the code yourself.

Endpoints provided

/ renders html template /api returns json data

Github repository

kickstart-flask-app

About

Generate a new Flask app project.

https://pypi.org/project/kickstart-flask-app/

License:MIT License


Languages

Language:Python 100.0%