This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
flaskinit-0.0.1.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Aug 16, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting