Skip to main content

Flask on steroids

Project description

Flaskteroids

Flaskteroids: A complete, batteries-included Python MVC framework inspired by Ruby on Rails.

Build Status PyPI Version Python Versions License


Flaskteroids (or Flask on Steroids) is a lightweight yet powerful Python MVC framework that supercharges Flask with a clean, elegant structure. Inspired by the best of Ruby on Rails, it brings clarity and productivity to your web development workflow.

Built on the philosophy of convention over configuration, Flaskteroids helps you move fast, write less code, and stay focused on what matters: building scalable, maintainable applications with confidence.

With a batteries-included approach and carefully chosen core dependencies, Flaskteroids stays lean, fast, and secure — giving you everything you need, and nothing you don’t.

Features

  • Full MVC Architecture: Clean separation of concerns with Models, Views, and Controllers.
  • Elegant Routing: Intuitive and resourceful routing.
  • Built-in ORM: Seamless integration with SQLAlchemy and Alembic for database management and migrations.
  • Background Jobs: Integrated with Celery for easy background job processing.
  • RESTful by Design: Quickly build API routes with JSON responses.
  • Powerful CLI: A rich set of commands for generating models, controllers, mailers, scaffolds, and more.
  • Flask Compatibility: Retains the full power of Flask and its rich ecosystem.

Table of Contents

Installation

To get started, install the Flaskteroids package using pip:

pip install flaskteroids

Getting Started

1. Creating a New App

Create a new Flaskteroids application using the flaskteroids new command:

flaskteroids new my_app
cd my_app

This creates a new directory called my_app with a standard application structure.

2. Running the Server

To start the development server, run:

flask run

Now, open your browser and navigate to http://127.0.0.1:5000. You should see the Flaskteroids welcome page!

Your First Feature: A Blog

Let's create a simple blog to see the power of scaffolding. Inside your my_app follow the next steps:

  1. Generate a Post scaffold: This command will create the model, controller, views, and database migration for a Post resource with title and content fields.

    flask generate scaffold Post title:string content:text
    
  2. Run the database migration: Apply the changes to your database schema.

    flask db:migrate
    
  3. Start the server:

    flask run
    

Now, visit http://1227.0.0.1:5000/posts in your browser. You have a complete set of pages to create, view, update, and delete posts.

For more check out the documentation

License

Flaskteroids is open-source and released under the MIT License.

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

flaskteroids-0.1.5.tar.gz (41.4 kB view details)

Uploaded Source

Built Distribution

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

flaskteroids-0.1.5-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

Details for the file flaskteroids-0.1.5.tar.gz.

File metadata

  • Download URL: flaskteroids-0.1.5.tar.gz
  • Upload date:
  • Size: 41.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for flaskteroids-0.1.5.tar.gz
Algorithm Hash digest
SHA256 6175683653f057def7e838806a1af7ce73c05e808bb99146954118df062a1e45
MD5 f293e964603484582e71330128ffe9dd
BLAKE2b-256 f02994aaddc750736f67b0aa47f8e902dfbb798a5a992e378d805a8ef937895e

See more details on using hashes here.

File details

Details for the file flaskteroids-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: flaskteroids-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 59.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for flaskteroids-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7e306cdba5f285ad01dfb0114cc2f2d310a5d82651ef78759822c9f03ea62ed2
MD5 d46ab7e25810fb9348b78cee000e6526
BLAKE2b-256 94c97053aad93ad6125abb2422547ad4e15d396a1b8d881b6c4226e88f7120f6

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