django-sessionprofile


Namedjango-sessionprofile JSON
Version 3.0.0 PyPI version JSON
download
home_pagehttps://github.com/modelbrouwers/django-sessionprofile
SummaryKeep track of Django user sessions
upload_time2023-05-05 19:54:25
maintainer
docs_urlNone
authorSergei Maertens
requires_python
licenseMIT
keywords django session user
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =====================
Django Sessionprofile
=====================

Keep track of Django user sessions.

|build-status| |code-quality| |black| |coverage| |docs|

|python-versions| |django-versions| |pypi-version|

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 <https://django-sessionprofile.readthedocs.io/en/latest/>`_
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.


.. |build-status| image:: https://github.com/modelbrouwers/django-sessionprofile/workflows/Run%20CI/badge.svg
    :alt: Build status
    :target: https://github.com/modelbrouwers/django-sessionprofile/actions?query=workflow%3A%22Run+CI%22

.. |code-quality| image:: https://github.com/modelbrouwers/django-sessionprofile/workflows/Code%20quality%20checks/badge.svg
     :alt: Code quality checks
     :target: https://github.com/modelbrouwers/django-sessionprofile/actions?query=workflow%3A%22Code+quality+checks%22

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black

.. |coverage| image:: https://codecov.io/gh/modelbrouwers/django-sessionprofile/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/modelbrouwers/django-sessionprofile
    :alt: Coverage status

.. |docs| image:: https://readthedocs.org/projects/django-sessionprofile/badge/?version=latest
    :target: https://django-sessionprofile.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-sessionprofile.svg

.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-sessionprofile.svg

.. |pypi-version| image:: https://img.shields.io/pypi/v/django-sessionprofile.svg
    :target: https://pypi.org/project/django-sessionprofile/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/modelbrouwers/django-sessionprofile",
    "name": "django-sessionprofile",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "django,session,user",
    "author": "Sergei Maertens",
    "author_email": "sergei@modelbrouwers.nl",
    "download_url": "https://files.pythonhosted.org/packages/a8/b8/50ad1ec991608d93d269b6535dc7884c1ebd0e89f198595e3707c17f201b/django-sessionprofile-3.0.0.tar.gz",
    "platform": null,
    "description": "=====================\nDjango Sessionprofile\n=====================\n\nKeep track of Django user sessions.\n\n|build-status| |code-quality| |black| |coverage| |docs|\n\n|python-versions| |django-versions| |pypi-version|\n\ndjango-sessionprofile is a library to track which user a django session belongs to.\nPossible useful scenario's for this information include:\n\n* Single-Sign-On (SSO) between different applications that can read Django's session\n  cookie (same-origin setup)\n* Single Logout (SLO) initiated in another application, triggering logout in yours\n* Audit trail and security - allowing you to manage user sessions on other devices.\n\nUsage and installation\n======================\n\n**Cheat sheet**\n\n#. ``pip install django-sessionprofile``\n#. Add ``\"sessionprofile\"`` to your ``INSTALLED_APPS``\n#. Add ``\"sessionprofile.middleware.SessionProfileMiddleware\"`` to the ``MIDDLEWARE``\n   setting, before Django's ``SessionMiddleware``\n#. ``python manage.py migrate``\n\n**Full instructions**\n\nSee the `documentation <https://django-sessionprofile.readthedocs.io/en/latest/>`_\nfor more information, with more code-examples and context.\n\n\nCredits\n-------\n\nMany thanks go to Resolver Systems Ltd (now part of PythonAnywhere) who\nmade the initial version of this library, specifically aimed at phpBB3.\n\n\n.. |build-status| image:: https://github.com/modelbrouwers/django-sessionprofile/workflows/Run%20CI/badge.svg\n    :alt: Build status\n    :target: https://github.com/modelbrouwers/django-sessionprofile/actions?query=workflow%3A%22Run+CI%22\n\n.. |code-quality| image:: https://github.com/modelbrouwers/django-sessionprofile/workflows/Code%20quality%20checks/badge.svg\n     :alt: Code quality checks\n     :target: https://github.com/modelbrouwers/django-sessionprofile/actions?query=workflow%3A%22Code+quality+checks%22\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\n.. |coverage| image:: https://codecov.io/gh/modelbrouwers/django-sessionprofile/branch/main/graph/badge.svg\n    :target: https://codecov.io/gh/modelbrouwers/django-sessionprofile\n    :alt: Coverage status\n\n.. |docs| image:: https://readthedocs.org/projects/django-sessionprofile/badge/?version=latest\n    :target: https://django-sessionprofile.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-sessionprofile.svg\n\n.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-sessionprofile.svg\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/django-sessionprofile.svg\n    :target: https://pypi.org/project/django-sessionprofile/\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Keep track of Django user sessions",
    "version": "3.0.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/modelbrouwers/django-sessionprofile/issues",
        "Changelog": "https://github.com/modelbrouwers/django-sessionprofile/blob/main/CHANGELOG.rst",
        "Documentation": "http://django-sessionprofile.readthedocs.io/en/latest/",
        "Homepage": "https://github.com/modelbrouwers/django-sessionprofile",
        "Source Code": "https://github.com/modelbrouwers/django-sessionprofile"
    },
    "split_keywords": [
        "django",
        "session",
        "user"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ed5af62eb444dd3f66f5246e3015295ca99787a750d51cbd2e21fd277db71247",
                "md5": "6ad0e0f7dee309ba86322c7da51494d4",
                "sha256": "73a16d91ac0463176287829c7c9efbbaf74c22db5d94e5496c711b8d2b6e92d5"
            },
            "downloads": -1,
            "filename": "django_sessionprofile-3.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6ad0e0f7dee309ba86322c7da51494d4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9069,
            "upload_time": "2023-05-05T19:54:23",
            "upload_time_iso_8601": "2023-05-05T19:54:23.625528Z",
            "url": "https://files.pythonhosted.org/packages/ed/5a/f62eb444dd3f66f5246e3015295ca99787a750d51cbd2e21fd277db71247/django_sessionprofile-3.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a8b850ad1ec991608d93d269b6535dc7884c1ebd0e89f198595e3707c17f201b",
                "md5": "6e2b44b7a6d24b97bc0c83b83c069627",
                "sha256": "0f1405c914a808ed9b646111096e6795fbbfe77148e0c4e9f6351209393b75cc"
            },
            "downloads": -1,
            "filename": "django-sessionprofile-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6e2b44b7a6d24b97bc0c83b83c069627",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9029,
            "upload_time": "2023-05-05T19:54:25",
            "upload_time_iso_8601": "2023-05-05T19:54:25.334341Z",
            "url": "https://files.pythonhosted.org/packages/a8/b8/50ad1ec991608d93d269b6535dc7884c1ebd0e89f198595e3707c17f201b/django-sessionprofile-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-05 19:54:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "modelbrouwers",
    "github_project": "django-sessionprofile",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "django-sessionprofile"
}
        
Elapsed time: 0.06454s