Skip to main content

GitHub Actions PyPI PyPI versions PyPI formats Flask Documentation

Login Extension for Flask

The simplest way to add login to flask!

How it works

First, install it from PyPI:

$ pip install flask_simplelogin

Then, use it in your app:

from flask import Flask
from flask_simplelogin import SimpleLogin

app = Flask(__name__)
SimpleLogin(app)

That's it!

Now you have /login and /logout routes in your application.

The username defaults to admin and the password defaults to secret — yeah that's not clever, check the docs to see how to configure it properly!

Login Screen

Check the documentation for more details!

Release files for flask_simplelogin 0.3.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 flask_simplelogin 0.3.0
File Size Uploaded
flask_simplelogin-0.3.0.tar.gz 84.8 kB Details

Built distribution (wheel)

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

Total release size: 92.4 kB

Release files / flask_simplelogin-0.3.0.tar.gz

Download URL flask_simplelogin-0.3.0.tar.gz
Size 84.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2fa28202b45eb983651550e53ec688266bd00c84f4158ab1448c2176c4c7abb4
BLAKE2b-256 checksum
How to use checksums
c8c09e7556d385a810f78b16e3e4562e9fdf6bee86a9e9c6cba0503d265655e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.8

Release files / flask_simplelogin-0.3.0-py3-none-any.whl

Download URL flask_simplelogin-0.3.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3aa53ca4ecba32c2efa7dbffa334356d82da2111e2638b3f35917d74a0674b28
BLAKE2b-256 checksum
How to use checksums
aeffebeb36018b5dd7b6c9258c3a5351326487627a5b1e329a351f8c44ae11eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.8

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

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