ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Flask Starter

by Joepriesto ST3

A Sublime Text 3 Plugin to generate a skeleton flask app template .

Details

Installs

  • Total 7K
  • Win 4K
  • Mac 1K
  • Linux 2K
Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1
Windows 0 1 0 0 0 0 1 0 1 0 0 2 1 0 0 1 0 0 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0 0 0 1 0 0 2 0 0 0 1 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text 3 Flask Starter

This is a Sublime Text 3 Plugin to generate a skeleton flask app template which can be then used for creating Flask based websites.

Installation

By Package Control

Open Package Control from Sublime Text 3 via the Command Pallete and search for Flask Starter and then Install it.

Manually

First, git clone this repository and then copy it's contents into any subfolder of your choice in the Packages Directory of Sublime Text (Click Preferences -> Browse Packages)

Usage

There are many ways to use this Plugin.

If you have a project open in Sublime Text, right click over the folder where you want to create the Flask app and enter the App Name. The App will be created in that directory

You can also right click in any open file (in the editor region) and follow the above steps. The App will be generated in the directory of that file.

The same can be achieved by using the Command Pallete and searching for Flask or by clicking Tools -> New Flask App

Application Factory Model

You can also create a Flask App using the Application Factory Model. Simple follow the commands above but use “New Flask App (Factory)”.

About

This plugin was created by Pradipta (geekpradd) using the Sublime Plugins API and Python 3.3 for Sublime Text 3. It is now maintained by Joe Priestman (joepriesto).

If you are interested in helping out please feel free to message me!