Skip to main content

A package for building Flask Projects

Project description

FlaskConstructicon

image

Flask Project Builder

Constructs a file tree for a Flask app using MVC design pattern (Models, Controllers and Templates as Views):

image

Installation:

  1. pip install flaskconstructicon

Simple Usage:

  1. Navigate to your new directory's project
  2. Run FlaskConstructicon >> python -m flaskconstructicon [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

-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.8.tar.gz (9.0 MB view details)

Uploaded Source

Built Distribution

flaskconstructicon-1.0.8-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file flaskconstructicon-1.0.8.tar.gz.

File metadata

  • Download URL: flaskconstructicon-1.0.8.tar.gz
  • Upload date:
  • Size: 9.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.2

File hashes

Hashes for flaskconstructicon-1.0.8.tar.gz
Algorithm Hash digest
SHA256 8df8709c31032ff795e53549a4eb372336905cc481c5064c75243800a9c07aaf
MD5 25b006e3f64f85e46b5b31a29574f3e6
BLAKE2b-256 b205c4372e983552c55b1d09023bb279962fc42addf4b0f3793665d416cc6e30

See more details on using hashes here.

File details

Details for the file flaskconstructicon-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for flaskconstructicon-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fe2fdcdc032181d517e490be821f817b2ce3b61fd8329de044bc932b8080e45d
MD5 d26bf092dd40522da25c58f42a6ed7b5
BLAKE2b-256 cdb0a295114099660c8059d80f23aad8a7b86f2123486abc6cc4f7f9ad7381f1

See more details on using hashes here.

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