Skip to main content

PIP CREATOR | FLASK

Overview

This PIP CREATOR Plugin automates the creation of all necessary files and folders to set up a Flask application. You can choose between three types of Flask apps: Basic, Advanced, and With Framework. The plugin also supports additional features like virtual environment creation, git initialization, and CDN framework integration for front-end development.

Features

  1. App Types:

    • Basic: Simple Flask structure with static files, templates, and virtual environment.
    • Advanced: More structured Flask project with Blueprints, models, forms, and configuration files.
    • With Framework: Flask integrated with front-end frameworks like React, Next.js, or Vite. Custom frameworks are also supported.
  2. Virtual Environment: Automatically creates a Python virtual environment (venv) for safe package management.

  3. Git Initialization: Optionally initialize a git repository with .gitignore and create a proper project structure.

  4. Test Folder: Creates a test folder if required by the user.

  5. CDN Frameworks: Easy integration with popular CSS frameworks via CDN:

    • Bootstrap (v5.3.2)
    • Foundation (v6.6.3)
    • Materialize (v1.0.0)
    • Bulma (v0.9.4)
    • Semantic UI (v2.4.2)
    • UIkit (v3.16.23)
    • Tailwind (v3.3.3)
    • Pure CSS (v2.1.0)
    • Spectre.css (v0.5.9)
    • Skeleton (v2.0.4)

    CDN Frameworks


App Structures

1. Basic Flask App

{project_name}/
│
├── static/
│   ├── css/
│   │   └── style.css
│   ├── js/
│   └── images/
├── templates/
│   ├── layout.html
│   └── home.html
├── test/ (optional)
│   ├── test_basic.py
│   └── conftest.py
├── venv/
├── README.md
├── run.py
├── requirements.txt
├── pyproject.toml
├── LICENSE
└── .gitignore

2. Advanced Flask App

{project_name}/
│
├── app/
│   ├── __init__.py
│   ├── routes.py
│   ├── models.py
│   ├── forms.py
│   ├── static/
│   │   ├── css/
│   │   │   └── style.css
│   │   ├── js/
│   │   └── images/
│   └── templates/
│       ├── layout.html
│       └── home.html
│
├── tests/ (optional)
│   ├── test_basic.py
│   └── conftest.py
├── config.py
├── README.md
├── run.py
├── requirements.txt
├── pyproject.toml
├── LICENSE
├── venv/
├── instance/
│   └── config.py
├── migrations/
└── .env or .flaskenv

3. Flask App With Front-End Framework

{project_name}/
│
├── client/
│   └── <framework>/
│ 
├── server/
│   ├── __init__.py
│   ├── routes.py
│   ├── models.py
│   ├── forms.py
│   ├── static/
│   │   ├── css/
│   │   │   └── style.css
│   │   ├── js/
│   │   └── images/
│   └── templates/
│       ├── layout.html
│       └── home.html
│
├── tests/ (optional)
│   ├── test_basic.py
│   └── conftest.py
├── venv/
├── config.py
├── README.md
├── run.py
├── requirements.txt
├── pyproject.toml
├── LICENSE
└── .gitignore

Framework options: React, Next.js, Vite. Custom frameworks can be installed with commands like npx create-next-app.


Installation

  1. Install the plugin: pip install pipc-flask else pipc install pipc.flask-app --plugin if you have pipCreator installed.
  2. Run the script to create the Flask app:
    pipc-flask create <project_name>
    

Metadata

Release files for pipc-flask-app 0.1.0

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

Source distribution (sdist)

Source distribution for pipc-flask-app 0.1.0
File Size Uploaded
pipc_flask_app-0.1.0.tar.gz 26.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipc-flask-app 0.1.0
File Interpreter ABI Platform
pipc_flask_app-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 52.9 kB

Release files / pipc_flask_app-0.1.0.tar.gz

Download URL pipc_flask_app-0.1.0.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ba58d8bfa798178366102d5a14962cbae609e67f046f7e359cfd349d1f1f2b06
BLAKE2b-256 checksum
How to use checksums
b026b808104863756b868fd21d6263a85338b8e15650b6bb4029a7248bf55db2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release files / pipc_flask_app-0.1.0-py3-none-any.whl

Download URL pipc_flask_app-0.1.0-py3-none-any.whl
Size 26.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22c70b7cec22816afe954115db633d25062fbb81fee258fddfa55a5eb05cf58d
BLAKE2b-256 checksum
How to use checksums
063c7988cc3f712cb885205cb896ac9586e7635861fd8f870b133b68311c131f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

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