Flask Simple Login - Login Extension for Flask
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flask_simplelogin-0.1.3.tar.gz
.
File metadata
- Download URL: flask_simplelogin-0.1.3.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e16d198b3b7cb09c7700047aaebe36687845f8201167817f0c468d8fea5e588c |
|
MD5 | 842e336012b7630889cb599a5c0839f9 |
|
BLAKE2b-256 | ec3dea901f84d9f7309632833b2d5b87e13149b9885a00246f16a1ff8cf97efd |
File details
Details for the file flask_simplelogin-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: flask_simplelogin-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da04d488a9865ee869257b623c412285610aeb94c79e7fda31630eee88e4bcf6 |
|
MD5 | 429762764b2b5af757af589144673417 |
|
BLAKE2b-256 | 56465bf631bed874ed362124f1f35aca65cd04ad9d0e3097e4e6ad1826187ebc |