A batteries-included Python MVC framework built on Flask, SQLAlchemy, and Celery.
What is Flaskteroids?
Flaskteroids—Flask on steroids—is a Python framework for building database-backed web applications. It brings Flask, SQLAlchemy, and Celery into a shared workflow, with conventions for where code belongs and tools for the tasks applications need every day.
Instead of assembling a stack and connecting its pieces yourself, you start with models, routing, templates, forms, background jobs, email, and testing that work together. Generators create ordinary application code that you can read and change.
Applications follow the Model-View-Controller (MVC) pattern. Each layer has a clear responsibility.
Models
Models represent your application's data and business rules: a product, an account, or a subscription. Migrations describe the database structure; model classes define validations, associations, and behavior.
You can create, query, and save records without managing database sessions. See Model basics.
Views
Views are Jinja templates that turn application data into HTML. Layouts and partials share markup, helpers share presentation logic, and model-backed forms display values and validation errors.
Use Turbo Frames and Streams when a page needs inline navigation or partial updates. See Templates and helpers.
Controllers
Controllers handle requests, work with models, and choose a response. Routes connect URLs to controller actions; actions can render a page, return JSON, or redirect the browser.
You can also generate an API-only application for a mobile client or a separate frontend. See Controller basics and Building an API.
Beyond requests and pages
The same application structure supports:
- Background jobs for work outside a request.
- Mailers for composing, previewing, and delivering email.
- Attachments for file uploads, local storage, and optional storage providers.
- Rich text with the Lexxy editor and safe HTML rendering.
- Internationalization for translated messages and localized dates and times.
- Configuration for environments, database connections, and encrypted credentials.
- Testing with pytest-based tests, fixtures, job and mail assertions, and Playwright browser tests.
Getting started
You will need Python 3.14 or newer, Git, Bash, and uv. The commands below assume Linux, macOS, or Windows through WSL. SQLite is included with Python, so you do not need a separate database server to get started.
Create an application
Install Flaskteroids in a Python virtual environment:
python3 -m venv flaskteroids-env
source flaskteroids-env/bin/activate
pip install flaskteroids
Create your application and start its server:
flask new my_app
cd my_app
bin/flask run
Open http://127.0.0.1:5000 to see the welcome page.
The generator installs the application's dependencies into its own .venv and
prepares the development database. From now on, run commands from the application
root with bin/flask; it uses that environment automatically.
Add your first resource
Stop the server and generate a posts interface:
bin/flask generate scaffold Post title:string content:text
bin/flask db:migrate
bin/flask run
Visit http://127.0.0.1:5000/posts to create, view, edit, and delete posts. The scaffold creates a model, migration, controller, templates, routes, and tests. These are your application's files, ready to customize.
In another terminal, run the generated tests from my_app:
bin/flask test
Keep learning
Follow the store tutorial to build a product catalog step by step, then add login, images, restock emails, and tests. Use the component guides when you want to explore one feature.
On a fresh checkout of an application, run bin/setup to install dependencies
and prepare the database. Commit uv.lock to share dependency versions, but
never commit config/master.key. Your generated deploy/README.md explains
Docker and deployment.
Coding agents
Generated applications include .agents/skills/using-flaskteroids/SKILL.md,
which points coding agents to guidance for the installed framework version.
You can also locate that guidance from the application's Python environment:
bin/flask agent-skills path
Read using-flaskteroids/SKILL.md in the printed directory. The guidance directs
agents to use public framework APIs for supported tasks.
Contributing
Contributions to code, tests, and guides are welcome. See Contributing to Flaskteroids to get started.
License
Flaskteroids is released under the MIT License.
Metadata
Release files for flaskteroids 0.14.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flaskteroids-0.14.0.tar.gz | 227.0 kB | With provenance | Details for flaskteroids-0.14.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flaskteroids-0.14.0-py3-none-any.whl | Python 3 | none | any | Details for flaskteroids-0.14.0-py3-none-any.whl |
Total release size: 506.3 kB
Release files / flaskteroids-0.14.0.tar.gz
| Download URL | flaskteroids-0.14.0.tar.gz |
|---|---|
| Size | 227.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
247fa566deae11825d978c065f9016a966307d03df66753555ca1551edd37e2e
|
|
BLAKE2b-256 checksum How to use checksums |
f333674a4aecd2c1b2a2b194ea3719f3f6ccbd087e08d7723dfbb8ae24e8705a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 30, 2026.
Transparency logRelease files / flaskteroids-0.14.0-py3-none-any.whl
| Download URL | flaskteroids-0.14.0-py3-none-any.whl |
|---|---|
| Size | 279.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
796c5c799838a9edd830933b12fadd5bdabba51326121ba14c58fdee951c9bc3
|
|
BLAKE2b-256 checksum How to use checksums |
12ef4c7d7558c3b5cddf96463ad8dc2e738b35a1f91493a6a177515369f640d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 30, 2026.
Transparency logSecurity for flaskteroids 0.14.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
Both files in this release have been uploaded with provenance metadata.
Attestation for flaskteroids-0.14.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 30, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.