Skip to main content

httpout-login is basically an extension of httpout-session.

Project description

httpout-login

Coverage Quality Gate Status

httpout-login is basically an extension of httpout-session.

You can use it just like httpout-session but with additional methods like login(), logout(), and is_logged_in().

Usage

# __globals__.py
from httpout_login import Session


def __enter__(app):
    # this is a session middleware
    # that enables you to use request.ctx.session in routes
    Session(app, expires=86400)

Installing

python3 -m pip install --upgrade httpout_login

Testing

Just run python3 -m tests.

Or if you also want measurements with coverage:

coverage run -m tests
coverage combine
coverage report
coverage html # to generate html reports

License

MIT License

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

httpout-login-0.0.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

httpout_login-0.0.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file httpout-login-0.0.0.tar.gz.

File metadata

  • Download URL: httpout-login-0.0.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for httpout-login-0.0.0.tar.gz
Algorithm Hash digest
SHA256 575b9cf8e44eb5aa2a175baa963b33721e27e64b1b4ae04189168a6d5660cf52
MD5 99de49df69642781ebd9baa77771bec4
BLAKE2b-256 def421ac84f75cd52a54b3ae7db32857ab807d7c3b849a3dcc666d60d3fd1b4c

See more details on using hashes here.

File details

Details for the file httpout_login-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: httpout_login-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for httpout_login-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9779085fc3cb2938644d29d20033042a4e87d5da20897db039f881e84913c087
MD5 379eb2e78228089b995b556fd23f30ed
BLAKE2b-256 dd94e7ba484c94e667955e62cc0a1e071f95f3c30548722de522763eb94ea346

See more details on using hashes here.

Supported by

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