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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask_simplelogin-0.2.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Darwin/24.0.0

File hashes

Hashes for flask_simplelogin-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bd8493dcb9e1a3657eff919cf95a8887bde4a861a579a55dd5ea9dd717ef983a
MD5 c149c9107df760f152431f0960a7c323
BLAKE2b-256 b4f831d85485099f6b5ad214ec3f89c232d3605a77fefce7796e2a2e7b14e0e3

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for flask_simplelogin-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 084f96bdd41a886b5bf07f23a1fa0479d8b224247967187a23190ee860909cb0
MD5 d4ddfd8cf8f04cce0976854862d1b9b4
BLAKE2b-256 96dc645e9fd39cd24a3d4c2279cd99faaa0bb50001184f458cf8a19eccec524f

See more details on using hashes here.

Provenance

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