Skip to main content

A simple tool to help you setup a flask project for web development, API development and just any basic app

Project description

flask-setup

Flask Setup Tool

INSTALLATION

$ pip install flask-setup

USAGE

  1. create a virtual environment and activate it: $ python -m venv venv $ source venv/bin/activate $ fs --flag argument

USAGE DETAILS

  1. --init or -i: Intialize Flask-Setup in project folder; this makes sure you dont need to pass project name each time you call flask_setup $ fs --init project_name OR $ fs -i project_name

  2. --build or -b: Takes flask app type to build; currently support ['api', 'standard', 'basic'] $ fs --build api OR $ fs -b api

  3. --generate or -g: Takes generator type; currently supports ['model', 'marshmallow', 'blueprint'] e.g. $ fs --generate blueprint -name api this will generate a blueprint with the name 'api' OR $ fs --generate model

  4. --destroy or -d: pass this alongside a generator ['marshmallow', 'blueprint', 'model'] e.g.: $ fs -d blueprint -blueprint myblueprintname OR $ fs -d model

  5. --add or -a: pass this alongside a module e.g.: $ fs -install flask this will install flask and freeze to requirements file

  6. --remove or -r: pass this alongside a module e.g.: $ fs -remove flask this will uninstall flask and freeze to requirements file

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flask_setup-0.3.5-py3-none-any.whl (5.1 MB 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