Skip to main content

Flask App Initializer.

Project description

flinit

Flinit ( flask init ) is a Python Command-Line Tool to Initialize a Python-Flask Project with Boilerplate Code and other required tools.

Flinit is a create-react-app like tool for Flask Projects.

Features

  • Creates Project Working Directory
  • Spins up a Python Virtual Environment
  • Generates Flask App File, app.py
  • Installs Flask and CORS (optional)
  • Adds Flask and CORS Helper Methods
  • Adds Boilerplate Code to app.py
  • Generates initial environment requirments file
  • Adds README.md to the project
  • Generates .gitignore for Python Project
  • Initializes Git for Project.

Usage

Flinit can be used on any system with Python and PIP installed and PIP added to the OS Environment Path.

Installation

Flinit can be installed using Pip.

pip install flinit

Using Flinit to Create a Flask Project

After installing flinit using pip, goto any CLI and use the flinit command to setup the Flask App.

flinit [projectName] [location] -g -r -c

flinit [projectName] [location] -gt -rd -cr

flinit [projectName] [location] --git --readme --cors

projectName - The Name of the Project.

location - Path where Project is to be setup.

Flags

-h or --help - Provides Instruction about how to use Flinit.

-g or -gt or --git - Flag to add git to project. If this flag is used, git will be initialized for the project.

-r or -rd or --readme - Flag to add README.md to project. If this flag is used, a README file is generated.

-c or -cr or --cors - Flag to install and CORS to project. If this flag is used, CORS is installed and added a helper method is added to the app.py 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 Distribution

flinit-0.2.4.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

flinit-0.2.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file flinit-0.2.4.tar.gz.

File metadata

  • Download URL: flinit-0.2.4.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for flinit-0.2.4.tar.gz
Algorithm Hash digest
SHA256 85faa5b43be2b9c731dab4d180798fbbc3c252289d90289e80b3629134ee6938
MD5 f3fbe3260e8f91a20b4cb76a5fef70d8
BLAKE2b-256 2b8a8a7d184f992560ce68087fe68f22622619b6ac00e38493fe7a00196b5827

See more details on using hashes here.

File details

Details for the file flinit-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: flinit-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for flinit-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1b64678b29f84850ad2e132a7104346d0e893968b2251895c20cf8b3e42049b9
MD5 f1ca3ef879e162169abe2a2c06f7af97
BLAKE2b-256 56d5cfd03b5094d5309bf314273535da7519e7551a605342a42c0eb93ec237ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page