Skip to main content

httpout-session

Coverage Quality Gate Status

A simple, file-based session middleware for httpout.

See also: httpout-login.

Usage

# __globals__.py
from httpout_session 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_session

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-session 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-session 0.0.0
File Size Uploaded
httpout-session-0.0.0.tar.gz 2.5 kB Details

Built distribution (wheel)

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

Total release size: 5.3 kB

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

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

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

Download URL httpout_session-0.0.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
857f2bcc5f1c875e6dc6c823d08ea0e00107237803e1c7ed56e51790fffab813
BLAKE2b-256 checksum
How to use checksums
a88df30ebb2cdc35ede5d2f3c37e0afee3c50b3eb0fddd9c0749ca56fabe93da
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