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.3.tar.gz (36.0 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.3-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flaskteroids-0.1.3.tar.gz
  • Upload date:
  • Size: 36.0 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.3.tar.gz
Algorithm Hash digest
SHA256 c5c3202d5185fce31a9be9e55f8286fdd74ae70dca9316e571975a557975ec29
MD5 3c5ae93bf9cb17d31db93e119c1426b4
BLAKE2b-256 36de7853a1bc019b8844189cfc0d4d71c6f5df573a9cb25daf11900b32b7f756

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flaskteroids-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 47.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bb50d7bd72480a31bec6206ba5d4edd697474de667dedebe8326ffb7c0cda69b
MD5 803b00b6a84477b252e0a7c043ae2cba
BLAKE2b-256 ec84ce3aa1f0b378df1590893241768c1b6e8b98bfa232575e1289d5416f673b

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