Skip to main content

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

Release files for httpout-login 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for httpout-login 0.0.0
File Size Uploaded
httpout-login-0.0.0.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for httpout-login 0.0.0
File Interpreter ABI Platform
httpout_login-0.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / httpout-login-0.0.0.tar.gz

Download URL httpout-login-0.0.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
575b9cf8e44eb5aa2a175baa963b33721e27e64b1b4ae04189168a6d5660cf52
BLAKE2b-256 checksum
How to use checksums
def421ac84f75cd52a54b3ae7db32857ab807d7c3b849a3dcc666d60d3fd1b4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release files / httpout_login-0.0.0-py3-none-any.whl

Download URL httpout_login-0.0.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9779085fc3cb2938644d29d20033042a4e87d5da20897db039f881e84913c087
BLAKE2b-256 checksum
How to use checksums
dd94e7ba484c94e667955e62cc0a1e071f95f3c30548722de522763eb94ea346
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page