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

Uploaded Source

Built Distribution

flask_simplelogin-0.1.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flask_simplelogin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b8ccb44ec1b0fe4ce33de23671ce78897f2a0001dd6c5747f7b7c7834fb8366e
MD5 79e6a900c96c394c2c42ad37ac0ed5eb
BLAKE2b-256 664d3ac1bbca76fbb65d8aa89564147a34ad4e73d88bd3fc75b75f24542e91e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_simplelogin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88df64c9c408be453e76f9cf4b6e5ef7cf3849bcc14348a07c1adf73199820ab
MD5 b2920f3c9b2034ade194c0cc2070f8b8
BLAKE2b-256 356c83cb450aa7e5eeb5ebe794ef78fa86e0511c52d0776e691b0fefa0445a68

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