Skip to main content

Bootstraps Flask projects

Project description

Bootstraps Flask projects

Install

$ pip install flaskinit

Usage

Initialize a simple Flask project:

$ flaskinit project

         flaskinit

   project package: project/__init__.py
     views package: project/views/__init__.py
         blueprint: project/views/root.py
      requirements: requirements.txt
 extensions module: project/extensions.py
     config module: project/config.py
        app module: project/app.py
       wsgi module: project/wsgi.py
  runserver module: runserver.py

Add blueprints:

$ flaskinit project -b admin

         flaskinit

   project package: project/__init__.py
     views package: project/views/__init__.py
         blueprint: project/views/admin.py
         blueprint: project/views/root.py
      requirements: requirements.txt
 extensions module: project/extensions.py
     config module: project/config.py
        app module: project/app.py
       wsgi module: project/wsgi.py
  runserver module: runserver.py

Add extensions:

$ flaskinit project -e sqlalchemy

         flaskinit

   project package: project/__init__.py
     views package: project/views/__init__.py
         blueprint: project/views/root.py
         extension: sqlalchemy
      requirements: requirements.txt
 extensions module: project/extensions.py
     config module: project/config.py
        app module: project/app.py
       wsgi module: project/wsgi.py
  runserver module: runserver.py

Available extensions:

  • sqlalchemy - Flask-SQLAlchemy
  • Fork and add more!

Requirements file and server script are included so you can get started quick:

$ pip install -r requirements.txt
$ python runserver.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flaskinit, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size flaskinit-0.0.1.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page