Flask-Bootstrap
An extension that includes Bootstrap in your project, without any boilerplate code.
What it is and what it does
Flask-Bootstrap is a Flask extension that bundles Bootstrap into your application, eliminating the need to manually download or link Bootstrap resources. It provides a blueprint with pre-built template blocks where you can inject your content, and can serve Bootstrap either from your application or from a CDN.
The extension is straightforward to use—a single call to Bootstrap(app) makes templates available—but it has been dormant since 2017-01-11. While the repository remains accessible and has accumulated 1562 stars, there have been no releases for an extended period. This age raises questions about compatibility with recent Flask versions, modern Bootstrap releases, and current Python versions, particularly since the package declares no explicit Python version requirement.
Use it for:
- Quickly add Bootstrap styling to a Flask prototype or small project without manually managing CSS and JavaScript files.
- Create Flask applications with pre-styled templates that include Bootstrap's grid, components, and utilities out of the box.
- Serve Bootstrap from a CDN in Flask templates without writing custom link tags or managing static file paths.
- Build internal tools or admin dashboards where Bootstrap 3's styling is sufficient and rapid setup is prioritized.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Flask-Bootstrap packages Bootstrap CSS and JavaScript into a Flask extension, providing pre-built templates and CDN links to add Bootstrap styling to web applications with minimal setup.
No—install friction is high, maintenance is dormant (last release 2017-01-11), and compatibility with modern Flask, Bootstrap, and Python versions is unverified. For new projects, use a modern Flask template engine or a current Bootstrap integration. For legacy applications already using this package, it may still work, but upgrading is strongly recommended.
Install
flask-bootstrap on PyPI
pip
pip install flask-bootstrapuv
uv add flask-bootstrappoetry
poetry add flask-bootstrapInstalling Flask-Bootstrap
Before you install
High install friction due to a single large source distribution. Maintenance is dormant—last release was 2017-01-11, with no updates since then, though the repository remains accessible with 1562 stars and a final commit in 2023-11-06.
License in practice
Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions. No notable licensing constraints for most projects.
Quickstart
pip install Flask-Bootstrap==3.3.7.1
from flask import Flask
from flask_bootstrap import Bootstrap
app = Flask(__name__)
Bootstrap(app)
Requires Flask; no explicit Python version constraint declared, though classifiers indicate Python 2 and 3 support.
Verify before relying
- Whether Flask-Bootstrap 3.3.7.1 is compatible with current Flask versions and modern Python releases.
- Whether Bootstrap 3 (packaged by this extension) meets current web design and accessibility standards.
- Whether the pre-built templates and CDN approach align with modern Flask project structures.
- Whether dormancy since 2017-01-11 indicates abandonment or stable maintenance.
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 3,502 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 441,125/month — #6,645 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: Flask-Bootstrap-3.3.7.1.tar.gz
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
Bootstrap-FlaskBootstrap-Flask provides Jinja macros that…
permissive · top 15,000 on PyPI
django-bootstrap-formRenders Django form fields as Bootstrap-styled…
permissive · top 15,000 on PyPI
crispy-bootstrap3Provides Bootstrap 3 HTML templates for…
permissive · top 15,000 on PyPI
crispy-bootstrap4Provides Bootstrap 4 HTML templates for…
permissive · top 15,000 on PyPI
crispy-bootstrap5Provides Bootstrap 5 form templates and layout…
permissive · top 5,000 on PyPI
sphinx-bootstrap-themeA Sphinx theme that applies Bootstrap CSS and…
permissive · top 15,000 on PyPI
Flask-SilkProvides a Flask integration to serve Silk icon…
permissive · top 15,000 on PyPI
django-bootstrap5Provides Django template tags and filters to…
permissive · top 15,000 on PyPI
Flask-MinifyFlask extension that automatically minifies…
permissive · top 15,000 on PyPI
Flask-AssetsIntegrates asset management into Flask…
permissive · top 15,000 on PyPI