Skip to main content

Flaskteroids

A Rails-inspired Python MVC framework built on Flask, SQLAlchemy, and Celery.

Build Status PyPI Version Python Versions License


Flaskteroids brings Rails conventions to Python. It uses Rails 8 as the reference for application structure and framework behavior, with Flask handling HTTP requests, SQLAlchemy and Alembic handling the database, and Celery running background jobs.

Models, controllers, and templates live in conventional directories. The framework discovers them without manual registration. Flask APIs and extensions remain available when you need them.

What's included

  • Resource routing with CRUD routes and path helpers.
  • Active Record-style models with associations, validations, and lifecycle callbacks.
  • Jinja templates, form helpers, and HTML or JSON responses.
  • Generators for models, migrations, controllers, scaffolds, mailers, and authentication.
  • Background jobs and email delivery.
  • Environment settings, database.yml, encrypted credentials, and boot-time initializers.
  • Pytest-based transactional tests, YAML fixtures, job and mail assertions, and Playwright browser tests.

Installation

Requires Python 3.12 or newer. Install Flaskteroids in your Python environment:

pip install flaskteroids

Getting started

Create an application. Git must be installed.

flaskteroids new my_app
cd my_app

The command creates the application files and initializes a Git repository in my_app. Start the development server:

flask run

Open http://127.0.0.1:5000 to see the welcome page.

Add a posts resource

Stop the server and run these commands inside my_app:

flask generate scaffold Post title:string content:text
flask db:migrate
flask run

The scaffold generates a model, migration, controller, views, and routes. Visit http://127.0.0.1:5000/posts/ to create, view, edit, and delete posts.

See the documentation for configuration, testing, and the API guides.

Agent skills

Flaskteroids bundles coding guidance for agents with each release. New applications include .agents/skills/using-flaskteroids/SKILL.md, which points agents to instructions for the installed framework version. These instructions require agents to use public Flaskteroids APIs when they cover the task, rather than calling dependency internals.

In your application's Python environment, locate the installed skills with:

flaskteroids agent-skills path

The command prints the absolute skills directory path. Read using-flaskteroids/SKILL.md inside that directory for version-matched guidance. No application configuration or initialization is required.

Releasing

See the release guide for release PRs and PyPI publishing.

License

Flaskteroids is released under the MIT License.

Metadata

Release files for flaskteroids 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flaskteroids 0.4.0
File Size Uploaded Provenance
flaskteroids-0.4.0.tar.gz 76.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for flaskteroids 0.4.0
File Interpreter ABI Platform
flaskteroids-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 166.9 kB

Release files / flaskteroids-0.4.0.tar.gz

Download URL flaskteroids-0.4.0.tar.gz
Size 76.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8a6c802fcee04d5544c9f736a96a1abf3b1c835bd2f17b77b4602c41046c8e03
BLAKE2b-256 checksum
How to use checksums
3f08b6e4e3840cb35f68ca830bfe24d892f10bd6e97482d96f4f442901ab9b06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / flaskteroids-0.4.0-py3-none-any.whl

Download URL flaskteroids-0.4.0-py3-none-any.whl
Size 90.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1baa0684a7e5ed49fb58caede91d3c89983b1d19b4651d5be48e6ed9f37709f
BLAKE2b-256 checksum
How to use checksums
b7529f6289d92bbb5212d8326854869bb6aa66a4e64aabcede17148990fe229a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Security for flaskteroids 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flaskteroids-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page