Skip to main content

http_session is the foundation of a session management system. The provided prototypes allow implementations using a wide array of backends.

http_session relies on three components:

The “store” prototyped in http_session.meta.Store represents a store handling sessions. This store knows how to retrieve, persist, clear or create sessions, using their SID.

The “session” implemented in http_session.session.Session represents the session iself. It is discriminated by its sid and is able to set and get key/value pairs and track the modifications and accesses.

The “manager” oversees the store and session, in order to interface them with the browser. It is mainly used as a SID policy and middleware. A functional implementation using secure cookies is provided in http_session.cookie.SignedCookieManager.

Changelog

0.2 (2021-11-08)

  • Invalid time signature now trigger the generation of a new cookie.

0.1 (2021-11-08)

  • Fork-evolution from cromlech.session

Metadata

Release files for http-session 0.2

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

Source distribution (sdist)

Source distribution for http-session 0.2
File Size Uploaded Provenance
http_session-0.2.tar.gz 9.7 kB Without provenance Details

Release files / http_session-0.2.tar.gz

Download URL http_session-0.2.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3c661914c419b05f3a82b73ea046243325fe3e75f6b1a69a9bf2902af741dbe0
BLAKE2b-256 checksum
How to use checksums
536c98f929685724b4f53b197d6d3240c8a22c1ea8cd5cd5e0841cdcfe08bc92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Security for http-session 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

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