Skip to main content

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.

Release files for flinit 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flinit 0.2.4
File Size Uploaded
flinit-0.2.4.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flinit 0.2.4
File Interpreter ABI Platform
flinit-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / flinit-0.2.4.tar.gz

Download URL flinit-0.2.4.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
85faa5b43be2b9c731dab4d180798fbbc3c252289d90289e80b3629134ee6938
BLAKE2b-256 checksum
How to use checksums
2b8a8a7d184f992560ce68087fe68f22622619b6ac00e38493fe7a00196b5827
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / flinit-0.2.4-py3-none-any.whl

Download URL flinit-0.2.4-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b64678b29f84850ad2e132a7104346d0e893968b2251895c20cf8b3e42049b9
BLAKE2b-256 checksum
How to use checksums
56d5cfd03b5094d5309bf314273535da7519e7551a605342a42c0eb93ec237ea
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page