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!
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)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_simplelogin-0.3.0.tar.gz | 84.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|