Django Sessionprofile
Keep track of Django user sessions.
django-sessionprofile is a library to track which user a django session belongs to. Possible useful scenario’s for this information include:
Single-Sign-On (SSO) between different applications that can read Django’s session cookie (same-origin setup)
Single Logout (SLO) initiated in another application, triggering logout in yours
Audit trail and security - allowing you to manage user sessions on other devices.
Usage and installation
Cheat sheet
pip install django-sessionprofile
Add "sessionprofile" to your INSTALLED_APPS
Add "sessionprofile.middleware.SessionProfileMiddleware" to the MIDDLEWARE setting, before Django’s SessionMiddleware
python manage.py migrate
Full instructions
See the documentation for more information, with more code-examples and context.
Credits
Many thanks go to Resolver Systems Ltd (now part of PythonAnywhere) who made the initial version of this library, specifically aimed at phpBB3.
Metadata
Release files for django-sessionprofile 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-sessionprofile-3.0.0.tar.gz | 9.0 kB | Without provenance | Details for django-sessionprofile-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_sessionprofile-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for django_sessionprofile-3.0.0-py3-none-any.whl |
Total release size: 18.1 kB
Release files / django-sessionprofile-3.0.0.tar.gz
| Download URL | django-sessionprofile-3.0.0.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f1405c914a808ed9b646111096e6795fbbfe77148e0c4e9f6351209393b75cc
|
|
BLAKE2b-256 checksum How to use checksums |
a8b850ad1ec991608d93d269b6535dc7884c1ebd0e89f198595e3707c17f201b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Release files / django_sessionprofile-3.0.0-py3-none-any.whl
| Download URL | django_sessionprofile-3.0.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73a16d91ac0463176287829c7c9efbbaf74c22db5d94e5496c711b8d2b6e92d5
|
|
BLAKE2b-256 checksum How to use checksums |
ed5af62eb444dd3f66f5246e3015295ca99787a750d51cbd2e21fd277db71247
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|
Security for django-sessionprofile 3.0.0
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.