Skip to main content

CLI tool to quickly generate Flask apps

Project description

QuickFlask

QuickFlask is a CLI tool designed to help you create modular, functional Flask applications in seconds. I love Flask, but I often found myself writing the same boilerplate code repeatedly. To save time, I created QuickFlask. This tool will save you time and effort, allowing you to focus on building your application rather than setting up the initial structure. It adheres to the DRY (Don’t Repeat Yourself) principle.

Installation

To install QuickFlask, run:

pip3 install quick-flask
pip3 install quick-flask --upgrade

Usage

Once installed, you can create a new Flask project by running:

quickflask

Usage Usage

Options:

  • --name (Required): The name of your Flask application.

Example:

quickflask --name my_flask_app

Running Your Flask App

After creating your project, navigate into the directory:

cd my_flask_app

Set up a virtual environment (recommended):

python3 -m venv venv
source venv/bin/activate  # On Windows: .\venv\Scripts\activate

Install dependencies:

pip install -r requirements.txt

Run the Flask app:

python app.py

Your application will be accessible at http://127.0.0.1:5000/.

Features

  • Generates a structured Flask project with blueprints and templates.
  • Automatically sets up templates and API routes.
  • Saves time by eliminating repetitive boilerplate code.

Contributing

Feel free to open issues or submit pull requests to improve QuickFlask. Contributions are always welcome!

License

This project is licensed under the MIT License. See LICENSE for details.

Change Log

For a detailed list of changes and version history, please see the CHANGELOG.md 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

quick_flask-1.1.2.tar.gz (233.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quick_flask-1.1.2-py3-none-any.whl (236.8 kB view details)

Uploaded Python 3

File details

Details for the file quick_flask-1.1.2.tar.gz.

File metadata

  • Download URL: quick_flask-1.1.2.tar.gz
  • Upload date:
  • Size: 233.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for quick_flask-1.1.2.tar.gz
Algorithm Hash digest
SHA256 b0c4ca078d3089609fa743a5d112359a56ef82d943a7c0815ea3dbd65c91fa65
MD5 7eeaf89a3186281947380d7bcf97e197
BLAKE2b-256 d376f5844d2d89d36538d0d6db54c5c94858e9977966f86d48f01e71a93f4195

See more details on using hashes here.

File details

Details for the file quick_flask-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: quick_flask-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 236.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for quick_flask-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6f4c72ccebee7fbdb338002e1f0d222faacf4918c2f64e74daced71ef4b20924
MD5 8280086d5da4d8653a71285b964c468f
BLAKE2b-256 82345aabcfdac4d246ddb34475262775a2d06679f372028e3fc074cb26ca89a5

See more details on using hashes here.

Supported by

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