Skip to main content

A package for building Flask Projects

Project description

FlaskConstructicon

image

Flask Project Builder

Constructs a file tree for Flask with a server.py file parallel to the flask_app directory:

image

Simple Install:

  1. Clone this Repository

Simple Usage:

  1. Navigate to your new directory's project
  2. Run FlaskConstructicon.py >> python path/to/FlaskConstructicon.py [system arguments]
  3. FlaskConstructicon takes several arguments
Argument Options Description Examples
-md test, help Run mode, test or help python FlaskConstructicon.py -md test
-a Any Specifies app name python FlaskConstructicon.py -a my_app
-db mysql Add file for database API python FlaskConstructicon.py -db mysql
test N/A Same as -md test (first argument only) python FlaskConstructicon.py test
help N/A Same as -md help (first argument only) python FlaskConstructicon.py help

Test output with app name 'simflario'

image

Output creating new project:

image

Test output with existing project

image

Use an alias

Example alias using git bash: alias constructicon='winpty python C:/Path/To/FlaskConstructicon/FlaskConstructicon.py'

Next steps:

-Add source files for other db connections and/or APIs

-publish package

-create models files and models option

-create "Django Style" option

-create option dbua for user model and authentication based on db config

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

flaskconstructicon-1.0.3.tar.gz (337.7 kB view hashes)

Uploaded Source

Built Distribution

flaskconstructicon-1.0.3-py3-none-any.whl (32.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