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.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

flask_simplelogin-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file flask_simplelogin-0.1.0.tar.gz.

File metadata

  • Download URL: flask_simplelogin-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.4 Darwin/20.6.0

File hashes

Hashes for flask_simplelogin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a1fb73b7fb37001093d76efc582b085eedc4fca8727a64082ae3f6421411c649
MD5 9fae54f8fd1414e52e4a6755499f047a
BLAKE2b-256 3418660cd00c6153dddefea29ae6a8274ab2a8bbb6b124fe4d23db944a6a079c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_simplelogin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51e85845af2016bc41fe1ead00a99a0914dd702b58ee72746f3c19a1fcbbbd6a
MD5 e9e0297e11b9debc902a031917c2d86d
BLAKE2b-256 19251151cb95ab23977e40d2fc8f573a411b1783c714d98a791b75a670a8fc5d

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