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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask_simplelogin-0.1.2.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.2 Darwin/22.4.0

File hashes

Hashes for flask_simplelogin-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a99b7ded371aa0f5ecf3271c160e3fd52653abd5d879acf9ae621c4825345a8f
MD5 bde35888ea4af2dbcf1555b621c75d92
BLAKE2b-256 e39b942c42c1122e502e0bea52ac96230591df3bf58369de11ad3ad2e0c448d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_simplelogin-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 484845c10d6e48bc88d20e2fb19de565c2fe608a59bcbb902572f07b5437b188
MD5 c20ae2d09d402ce3eaf4302ce731db7d
BLAKE2b-256 3a6e8224bcf929bcaafc507749add061e2431c89b3aaaccc336dae2144d10104

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