Skip to main content

This is an application designed to speed up process of configuring evironment for new flask RESTful projects.

Project description

This utility is answer on my personal demand. Creating repository and building all flask project dependencies from scratch for every new project is time consumming and boring. Install this package, call create-flask-application utility, answer basic questions and enjoy your new project.

Installation

To install create-flask-application utility, just type:

` $ pip install create-flask-application `

This module is only available for python3 (for now).

Usage

In your console, type: ` $ create-flask-application `

You will be asked few questions. A new directory will be created inside your CWD. Its name is the same as you specified answering first question about project name.

create-flask-application will spawn templates with:
  • basic rest api implementation

  • optional flask-mail support

  • optional socketio support

  • wsgi application config

  • general application config with random generated secret key

  • optional sqlalchemy initial setup

Limitations

create-flask-application will:
  • create project directory

  • create virtualenv directory called venv

  • install all required python dependencies

  • render all requiered code templates

  • spawn basic gitignore file

create-flask-application will not:
  • create git repository

  • work under python 2

  • support databases other than postgresql with psycopg2 driver (I will update it to all databases supported by sqlalchemy soon)

Note that you have to have python3-venv installed.

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

create-flask-application-0.1.4.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

create_flask_application-0.1.4-py3-none-any.whl (40.0 kB view hashes)

Uploaded Python 3

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