Skip to main content

Flask Simple Login - Login Extension for Flask

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_simplelogin-0.1.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

flask_simplelogin-0.1.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

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

Hashes for flask_simplelogin-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e16d198b3b7cb09c7700047aaebe36687845f8201167817f0c468d8fea5e588c
MD5 842e336012b7630889cb599a5c0839f9
BLAKE2b-256 ec3dea901f84d9f7309632833b2d5b87e13149b9885a00246f16a1ff8cf97efd

See more details on using hashes here.

File details

Details for the file flask_simplelogin-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_simplelogin-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 da04d488a9865ee869257b623c412285610aeb94c79e7fda31630eee88e4bcf6
MD5 429762764b2b5af757af589144673417
BLAKE2b-256 56465bf631bed874ed362124f1f35aca65cd04ad9d0e3097e4e6ad1826187ebc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page