Skip to main content

flask-interface-app comes with a command-line interface (CLI) that mimics a bash terminal. It provides a CLI command to quickly generate a full file structure for a Flask app, along with a user-friendly bash-like UI for executing commands. and You can use it to execute various commands related to your Flask app.

Project description

flask-interface-app

Flask Logo

Introduction

flask-interface-app is a Python package that simplifies the process of creating and managing Flask web applications. It provides a CLI command to quickly generate a full file structure for a Flask app, along with a user-friendly bash-like UI for executing commands.

Get Started

To install flask-interface-app, simply run:

pip install flask-interface-app

Create a New Flask App

To create a new Flask app, use the following command:

create-flask-app mynewapp # app name

Replace mynewapp with the desired name of your Flask application.

Command UI Bash

flask-interface-app comes with a command-line interface (CLI) that mimics a bash terminal. You can use it to execute various commands related to your Flask app.

Example Command:

> create-flask-app mynewapp

What Executing Commands Do

The commands executed via the bash-like UI will handle all necessary steps for setting up a Flask application. This includes creating the project structure, setting up configuration files, and initializing essential Flask components such as blueprints, models, forms, and routes.

Project Directory Structure

After running the command, the project directory structure will look like this:

mynewapp/
│
├── app/
│   ├── __init__.py
│   ├── models.py
│   ├── routes.py
│   ├── auth_routes.py
│   ├── forms.py
│   ├── admin.py
│   ├── static/
│   │   ├── css/
│   │   │   └── styles.css
│   │   ├── js/
│   │   │   └── scripts.js
│   │   └── img/
│   │       └── logo.png
│   └── templates/
│       ├── base.html
│       ├── index.html
│       ├── login.html
│       ├── register.html
│       ├── docs.html
│       ├── about.html
│       └── blog/
│           ├── create_post.html
│           └── post.html
├── config.py
├── app.py
└── README.md

flask-interface-appApp Structure

The Flask app structure created by flask-interface-app follows a full-fledged MVC architecture, providing separation of concerns and scalability for your application.

Included Libraries

flask-interface-app includes several libraries that are commonly used in Flask projects:

Click
Flask
Flask-SQLAlchemy
Flask-WTF
Flask-Bcrypt
Flask-Login
Flask-Admin
email-validator

Contributing

Contributions are welcome! Please feel free to open issues or pull requests on the GitHub repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

flask_interface_app-0.2.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

flask_interface_app-0.2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file flask_interface_app-0.2.0.tar.gz.

File metadata

  • Download URL: flask_interface_app-0.2.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for flask_interface_app-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b689756c1d2d0b30cb3c676b6b91f06ed0e1cc8da91dfdb670c3009087fbf0ee
MD5 3a494f30e13cfdb7c322339bc684d931
BLAKE2b-256 532983cbd784b2f35a6a24d83c49517d490e0eba355f5b7252e250dd82bbda5b

See more details on using hashes here.

File details

Details for the file flask_interface_app-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_interface_app-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fa34accd01c441808ae0a81237686ff00c71fe6d1953116927faae22374baec
MD5 8fbade373f99f7281a83e997de4f822b
BLAKE2b-256 6edc599e98914fc48e1d45e7f4d7632a33a831b46623f55f3cc2afc6723d6e90

See more details on using hashes here.

Supported by

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