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

Uploaded Python 3

File details

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

File metadata

  • Download URL: flaskion_cli-1.0.2.tar.gz
  • Upload date:
  • Size: 2.9 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.2.tar.gz
Algorithm Hash digest
SHA256 5168353cff0302e47342b75bf646d35f0f021c0532dd64361b4a6ae1c5df6070
MD5 66e9a7bee76f6fdeeed66e075fa90999
BLAKE2b-256 74eec746213f93e2adb03395c7b5484abb1739a87eda017788136cb682f5765b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flaskion_cli-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e1eab62fcbb1a614659fd4f6129cacae9c7e48b2d9b5ff8d5850cd441f17a35
MD5 eef22d8ca283de0132a1161f0951f8ad
BLAKE2b-256 a11e6e509035aab1152ec9276dd73312053924be945cf10ba44f936d4dd93319

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