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

Uploaded Source

Built Distribution

flaskconstructicon-1.0.7-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flaskconstructicon-1.0.7.tar.gz
  • Upload date:
  • Size: 4.5 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.7.tar.gz
Algorithm Hash digest
SHA256 3294d24fb0fe2d457ec94cc1f8aa8a6657dc04c918264499cd337daf18e21f95
MD5 5c8076571a01d326d3fe012d912f1c26
BLAKE2b-256 e01a31bc26d219a32c5692e381101d3e596287619c28380f5989f51eba5279e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flaskconstructicon-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 85d41d9dea8970beb798180d10c50da9b1755a6b4786304c178962286cccae34
MD5 a6f1ba9d36198566d05af30cdb190c13
BLAKE2b-256 4968cc96d3439ba7a17daa6a1853712935fd5504f94062deb906e9d64c129260

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