Skip to main content

Flask-Admin

Flask-Admin is now part of Pallets-Eco, an open source organization managed by the Pallets team to facilitate community maintenance of Flask extensions. Please update your references to https://github.com/pallets-eco/flask-admin.git.

image

Pallets Community Ecosystem

Introduction

Flask-Admin is a batteries-included, simple-to-use Flask extension that lets you add admin interfaces to Flask applications. It is inspired by the django-admin package, but implemented in such a way that the developer has total control over the look, feel, functionality and user experience of the resulting application.

image

Out-of-the-box, Flask-Admin plays nicely with various ORM's, including

It also boasts a simple file management interface and a Redis client console.

The biggest feature of Flask-Admin is its flexibility. It aims to provide a set of simple tools that can be used to build admin interfaces of any complexity. To start off, you can create a very simple application in no time, with auto-generated CRUD-views for each of your models. Then you can further customize those views and forms as the need arises.

Flask-Admin is an active project, well-tested and production-ready.

Examples

Several usage examples are included in the /examples folder. Please add your own, or improve on the existing examples, and submit a pull-request.

How to run an example

Clone the repository and navigate to an example (for this example we are using SQLAlchemy Example):

git clone https://github.com/pallets-eco/flask-admin.git
cd flask-admin/examples/sqla

All examples use uv to manage their dependencies and the developer environment.

Run the example using uv, which will manage the environment and dependencies automatically:

uv run main.py

Check the Flask app running on http://localhost:5000.

Documentation

Flask-Admin is extensively documented, you can find all of the documentation at https://flask-admin.readthedocs.io/en/latest/.

The docs are auto-generated from the .rst files in the /doc folder. If you come across any errors or if you think of anything else that should be included, feel free to make the changes and submit a pull-request.

To build the docs in your local environment, from the project directory:

tox -e docs

Installation

To install Flask-Admin using pip, simply:

pip install flask-admin

Contributing

If you are a developer working on and maintaining Flask-Admin, checkout the repo by doing:

git clone https://github.com/pallets-eco/flask-admin.git
cd flask-admin

Flask-Admin uses uv to manage its dependencies and developer environment. With the repository checked out, to install the minimum version of Python that Flask-Admin supports, create your virtual environment, and install the required dependencies, run:

uv sync

This will install Flask-Admin but without any of the optional extra dependencies, such as those for sqlalchemy or mongoengine support. To install all extras, run:

uv sync --extra all

Finally, enable pre-commit hooks:

pre-commit install

Tests

Tests are run with pytest. If you are not familiar with this package, you can find out more on their website.

### Running tests inside the devcontainer (eg when using VS Code)

If you are developing with the devcontainer configuration, then you can run tests directly using either of the following commands.

To just run the test suite with the default python installation, use:

uv run pytest

To run the test suite against all supported python versions, and also run other checks performed by CI, use:

uv run tox

Running tests as a one-off via docker-compose run / make test

If you don't use devcontainers then you can run the tests using docker (you will need to install and setup docker yourself). Then you can use:

make test-in-docker

This will use the devcontainer docker-compose configuration to start up postgres, azurite and mongo.

You can also run the full test suite including CI checks with:

make tox-in-docker

3rd Party Stuff

Flask-Admin is built with the help of Bootstrap, Select2 and Bootswatch.

If you want to localize your application, install the Flask-Babel package.

You can help improve Flask-Admin's translations by opening a PR.

As a developer who's changed some text in Flask-Admin

uv sync --group docs
cd babel
./babel.sh --update

As a translator who's updated some .po/.mo files

Run cd babel Run ./babel.sh

Metadata

Release files for Flask-Admin 2.0.1

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

Source distribution (sdist)

Source distribution for Flask-Admin 2.0.1
File Size Uploaded Provenance Actions
flask_admin-2.0.1.tar.gz 5.5 MB With provenance Details for flask_admin-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Flask-Admin 2.0.1
File Interpreter ABI Platform Actions
flask_admin-2.0.1-py3-none-any.whl Python 3 none any Details for flask_admin-2.0.1-py3-none-any.whl

Total release size: 12.0 MB

Release files / flask_admin-2.0.1.tar.gz

Download URL flask_admin-2.0.1.tar.gz
Size 5.5 MB
Tags Source
SHA-256 checksum
How to use checksums
ab83a435942c2a6af83e80f306b18786e459887564a18cb8fb45c31af8a4929b
BLAKE2b-256 checksum
How to use checksums
665f318ac7beac7e8511e0aa1dd1781dc112e44061c3dfcfeebfacdef2862508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 2, 2025.

Transparency log

Release files / flask_admin-2.0.1-py3-none-any.whl

Download URL flask_admin-2.0.1-py3-none-any.whl
Size 6.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3bebd383322d680f46793bc59325e991d99f5b5e0ddb6db05e759c824f372f1c
BLAKE2b-256 checksum
How to use checksums
05fc69007b74724738f8a39c5acebafef0e97b22260e0e5621b65e2883270e8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 2, 2025.

Transparency log

Security for Flask-Admin 2.0.1

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.

Select from 2 files

Attestation for flask_admin-2.0.1.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 Nov 2, 2025.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files Full provenance

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