Skip to main content

A CLI tool to create Flaskion projects

Project description

Flaskion

Flaskion is a lightweight MVC boilerplate for Flask designed to give developers a structured starting point for building Flask applications. Inspired by Laravel, Flaskion brings a clean and modular structure to Flask, enabling easier scalability and maintenance.


Features

  • MVC Architecture: Clear separation of concerns with controllers, models, and templates.
  • Centralized Routing: All routes are managed in a single file (routes.py).
  • Scalability: Ready to integrate extensions like SQLAlchemy, Flask-Migrate, and more.
  • Reusability: Easily adaptable for any Flask project.

Project Structure

flaskion/
├── app/
│   ├── init.py         # Application factory
│   ├── routes.py           # Centralized routes
│   ├── controllers/        # Logic layer
│   ├── models/             # Database models
│   ├── templates/          # HTML templates
│   ├── static/             # Static files
│   └── config.py           # Configuration
├── run.py                  # Entry point
├── requirements.txt        # Dependencies
└── README.md               # Documentation

Getting Started

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/flaskion.git
    cd flaskion
    
  2. Create a virtual environment:
 python -m venv venv
 source venv/bin/activate   # On Windows: venv\Scripts\activate
  1. Install dependencies:
     pip install -r requirements.txt
    

Running the app

  1. Start the Flask development server:
    python run.py
    
  2. Visit the app in your browser: http://127.0.0.1:5000

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

flaskion_cli-1.0.3.tar.gz (86.6 kB view details)

Uploaded Source

Built Distribution

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

flaskion_cli-1.0.3-py3-none-any.whl (90.8 kB view details)

Uploaded Python 3

File details

Details for the file flaskion_cli-1.0.3.tar.gz.

File metadata

  • Download URL: flaskion_cli-1.0.3.tar.gz
  • Upload date:
  • Size: 86.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for flaskion_cli-1.0.3.tar.gz
Algorithm Hash digest
SHA256 924fa425170edef02ee9debec36c0bb3ac2c26542655fe2763c1fa55af5d3d91
MD5 4e4b2f5c91fb874bba18f48e2b3c26c7
BLAKE2b-256 d51f95e14bd24473f99cb0e264d55bd4ba1941fa88c8ee47144ff67361a1c694

See more details on using hashes here.

File details

Details for the file flaskion_cli-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: flaskion_cli-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 90.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for flaskion_cli-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e4fa6b4c06cadcc329a5cefb74d237e7a90e1e2dd282fb68e5e8447f39a26e0e
MD5 a1e42962e4fa90c4e905e645ec210bc4
BLAKE2b-256 be8ab6314e3bb115508262de7896d09ba32fb74605d9680c8dfdfcee7d4c1264

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