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.0.tar.gz (2.8 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.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flaskion_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 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.0.tar.gz
Algorithm Hash digest
SHA256 bf2a3ea4f5f51c008a2ab03461c9b6a683f85958d5afca1e710b9d1e399e1f69
MD5 3c9e364ca6e510424eb19baf11a2ba3e
BLAKE2b-256 d470a50c9044a58703d2a51d946a3e6984bc9d02386a229bcd74cb8171ea624b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flaskion_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92505fc073dab27c209aa5848b9427f54d19e32600d2987157f29c89510d85fd
MD5 c4b66597d783b0dc2fac6630f1374455
BLAKE2b-256 bdad675b6f6ac114b59f03e2fe05c4a97f373e007c972e878e2188c4b83f59ce

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