Skip to main content

PyPI version
License: MIT

Flask-Wiz

Effortlessly generate Flask project structures with optional frontend and database setup.

Flask-Wiz is a Python package that helps you easily generate a Flask project structure.
It allows you to optionally integrate popular frontend frameworks and choose from multiple database options, keeping the backend powered by Flask.

Key Features

  • Organize a clean Flask backend project quickly.
  • Optionally set up a frontend with frameworks like React.js, Next.js, Vue.js, or Angular.
  • Choose from multiple database options: SQLite, MySQL, PostgreSQL, or MongoDB.
  • Interactive command-line prompts using Inquirer to simplify project setup.
  • Clean separation of backend (server/) and frontend (client/) folders.

Installation

Install Flask-Wiz from PyPI:

pip install flask-wiz

Usage

To generate a new project, simply run:

flask-wiz new

You will be guided through an interactive setup where you can select:

  • Frontend framework (React, Vue, Next.js, Angular, or None)
  • Database (SQLite, MySQL, PostgreSQL, MongoDB)
Enter project name :

Do you need a frontend framework? (Y/N) : 

Select a framework :
    > React.Js
    > Vue.Js
    > Next.Js
    > Angular.Js

Select a database system :
    > pymongo
    > sqlite3
    > pymysql
    > psycopg2-binary

Based on your choices, Flask-Wiz will generate a ready-to-use project structure.

Project Structure

Typical generated structure:

project-name/
|
├── client/           # Frontend app (only if selected)
|   ├── (React/Vue/Angular/Next.js starter)
|
├── server/           # Flask backend
|   ├── app.py
|   ├── requirements.txt
|
└── README.md         # Project README
  • If no frontend is selected, only the server/ folder is created.

Supported Frontend Frameworks

  • None (backend only)
  • React.js
  • Vue.js
  • Angular
  • Next.js

Supported Databases

  • SQLite (default for Flask)
  • MySQL
  • PostgreSQL
  • MongoDB (PyMongo)

Why Use Flask-Wiz?

  • Save time setting up a new Flask project.
  • Choose your preferred frontend integration or focus on backend only.
  • Supports both SQL and NoSQL databases.
  • Easy, interactive setup with minimal manual configuration.

Companies Using Flask-Wiz

  • Sentio: Sentio leverages Flask-Wiz to build API endpoints for their Offchain Analyzer, enabling efficient code analysis. Learn more at sentio-ao.xyz.

Flask-Wiz is trusted by developers and teams across various industries. Some of the companies using Flask-Wiz include:

  • TechNova Solutions: Uses Flask-Wiz to streamline backend and frontend setup for their software projects.
  • DataSphere Analytics: Builds Flask-based tools for data visualization quickly and efficiently.
  • CodeCraft Studios: Accelerates the development of full-stack applications for their clients.
  • InnovateX Labs: Creates scalable Flask applications with seamless frontend integration.

Contributing

If you find a bug or have ideas for improvements, feel free to open an issue or submit a pull request. Contributions are always welcome.

Need More Assistance

  • Have a question or need assistance? Raise an issue on our Github Issues

License

Licensed under the MIT License.

Metadata

Release files for flask-wiz 1.9.9.2

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

Source distribution (sdist)

Source distribution for flask-wiz 1.9.9.2
File Size Uploaded
flask_wiz-1.9.9.2.tar.gz 5.5 kB Details

Release files / flask_wiz-1.9.9.2.tar.gz

Download URL flask_wiz-1.9.9.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f8721e15925d8db36f6e1201736b0a8c7019a8fd2be981d034c034fd82711977
BLAKE2b-256 checksum
How to use checksums
4e38ade3e1572814441fd080eaf571e8e9dd58b739f49ad5a0b5866e51969b2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

1.9.9.2 This release

1 release file

1.9.9.1

1 release file

1.9.9

1 release file

1.9.8

1 release file

1.9.7

1 release file

1.9.6

1 release file

1.9.5

1 release file

1.9.4

1 release file

1.9.3

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.9

2 release files

1.7.1

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