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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flinit-0.2.4.tar.gz | 4.6 kB | Without provenance | Details for flinit-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flinit-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for flinit-0.2.4-py3-none-any.whl |
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
|
Security for flinit 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.