Skip to main content

Flask on steroids

Project description

Flaskteroids Logo

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.4.tar.gz (41.6 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.4-py3-none-any.whl (59.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flaskteroids-0.1.4.tar.gz
  • Upload date:
  • Size: 41.6 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.4.tar.gz
Algorithm Hash digest
SHA256 c68f1c767c7939cca50da939ecf82ad4c41ba9c81df925199203b69e8c7dd754
MD5 34b4492db28e4466a32d917a8e249edf
BLAKE2b-256 cdafbe1aa63f32f17eaf483142dcabcb2c9ed3d1b469b216453cf50e2648bee4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flaskteroids-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 59.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 672b7581fb6d5aaff8e866719a8bbf8196ef090c8fd0c4479709f8d5b9d34a9d
MD5 29dd6552723f545cb86ce5b822cfd498
BLAKE2b-256 61acb033f8c2123ecf7e9164bf16dcf2350849240d3e3e3a21ca4c7021e4ee50

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