{ "info": { "author": "Lab Digital", "author_email": "opensource@labdigital.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "\n\n======================\ndjango-session-timeout\n======================\n\nAdd timestamp to sessions to expire them independently\n\nInstallation\n============\n\n.. code-block:: shell\n\n pip install django-session-timeout\n\n\nUsage\n=====\n\nUpdate your settings to add the SessionTimeoutMiddleware:\n\n.. code-block:: python\n\n MIDDLEWARE_CLASSES = [\n # ...\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django_session_timeout.middleware.SessionTimeoutMiddleware',\n # ...\n ]\n\n\nAnd also add the ``SESSION_EXPIRE_SECONDS``:\n\n\n.. code-block:: python\n\n SESSION_EXPIRE_SECONDS = 3600 # 1 hour\n\n\nBy default, the session will expire X seconds after the start of the session.\nTo expire the session X seconds after the `last activity`, use the following setting:\n\n.. code-block:: python\n\n SESSION_EXPIRE_AFTER_LAST_ACTIVITY = True\n\n\nBy default, `last activiy` will be grouped per second.\nTo group by different period use the following setting:\n\n.. code-block:: python\n\n SESSION_EXPIRE_AFTER_LAST_ACTIVITY_GRACE_PERIOD = 60 # group by minute\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LabD/django-session-timeout", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-session-timeout", "package_url": "https://pypi.org/project/django-session-timeout/", "platform": "", "project_url": "https://pypi.org/project/django-session-timeout/", "project_urls": { "Homepage": "https://github.com/LabD/django-session-timeout" }, "release_url": "https://pypi.org/project/django-session-timeout/0.0.4/", "requires_dist": [ "Django (>=1.11)", "six (>=1.12)", "sphinx (>=1.4.0) ; extra == 'docs'", "coverage (==4.5.3) ; extra == 'test'", "freezegun (==0.3.11) ; extra == 'test'", "pytest (==4.3.1) ; extra == 'test'", "pytest-django (==3.4.8) ; extra == 'test'", "pytest-cov (==2.6.1) ; extra == 'test'", "isort (==4.3.15) ; extra == 'test'", "flake8 (==3.7.7) ; extra == 'test'", "flake8-blind-except (==0.1.1) ; extra == 'test'", "flake8-debugger (==3.1.0) ; extra == 'test'" ], "requires_python": "", "summary": "Middleware to expire sessions after specific amount of time", "version": "0.0.4" }, "last_serial": 5017244, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "81bdb7434dda3fcec6efde52039afeeb", "sha256": "8737b8a2933a5041725a9fa76100af9ecb311cabcdbbd427420cf927e5e0a48c" }, "downloads": -1, "filename": "django_session_timeout-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "81bdb7434dda3fcec6efde52039afeeb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4159, "upload_time": "2017-09-06T08:30:48", "url": "https://files.pythonhosted.org/packages/47/83/f7aa2e80f8c5261b8ae7d4324df8ba7bc3ee96e2acf042982ff82cd00f26/django_session_timeout-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0834cc42915d4925133c4096472b910c", "sha256": "64e275c1bc4f750ea9d81ed8ebba802548fcf54f9adf16ee0f74d35f948d8959" }, "downloads": -1, "filename": "django-session-timeout-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0834cc42915d4925133c4096472b910c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2538, "upload_time": "2017-09-06T08:30:49", "url": "https://files.pythonhosted.org/packages/6c/ec/dc82189b9e5f48e18a4fbf5718d86bab9503108f3e460fa4d5d13a25b382/django-session-timeout-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6b42b8dedd6c614f2da44516a40c61c3", "sha256": "44f47f907f4a2df5fbd590b925b4565d443fe7370f7c74a0d686c645723dad83" }, "downloads": -1, "filename": "django_session_timeout-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6b42b8dedd6c614f2da44516a40c61c3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4453, "upload_time": "2017-11-10T13:53:34", "url": "https://files.pythonhosted.org/packages/2b/69/8d77eea7da055ed39ad0f435f2ac3548ed8f15f330a5fda5deac917ce08b/django_session_timeout-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "173cf151b7e0a094b6dc3818dc71cc2e", "sha256": "a2eae69a722c178f49b932b982fae8106967482c9591b62e04c2e443033a29f0" }, "downloads": -1, "filename": "django-session-timeout-0.0.2.tar.gz", "has_sig": false, "md5_digest": "173cf151b7e0a094b6dc3818dc71cc2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2692, "upload_time": "2017-11-10T13:53:35", "url": "https://files.pythonhosted.org/packages/de/d9/9a4e8e060768960c8cd84ed96d0d00cdb948696aae12f8355a2bab3dc1e6/django-session-timeout-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c3e0dde4918cafde343a1bfef758620d", "sha256": "86c150f1cacd9e72748d85c79c30d3b3aa96d6fb00797a133e7310f880d68579" }, "downloads": -1, "filename": "django_session_timeout-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c3e0dde4918cafde343a1bfef758620d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4470, "upload_time": "2017-12-14T14:27:26", "url": "https://files.pythonhosted.org/packages/16/f7/6ca46271bcdfa1178b19df50f917c45235044cbb80aa530938586c281203/django_session_timeout-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cda94baa87a6136e97907260f4c34e4f", "sha256": "339ce15fabe551a9dda5e6be484cf5ecf6f5be09665ca0907c06682cef0a146e" }, "downloads": -1, "filename": "django-session-timeout-0.0.3.tar.gz", "has_sig": false, "md5_digest": "cda94baa87a6136e97907260f4c34e4f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2716, "upload_time": "2017-12-14T14:27:27", "url": "https://files.pythonhosted.org/packages/71/07/b507eb4208aafca270116def9c1c694c37cd2e56f3f995247685ce2bb91a/django-session-timeout-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "6308fcce579eab28c3cfd9b37054d1d5", "sha256": "b4b6a51d1f33799c0dd298c28fe68a2be9b865680a9adf06805b560e69bb8383" }, "downloads": -1, "filename": "django_session_timeout-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6308fcce579eab28c3cfd9b37054d1d5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3744, "upload_time": "2019-04-01T13:28:03", "url": "https://files.pythonhosted.org/packages/87/8c/8894ffd9056aed43d300c4ecdbf2283808d1909754812682e98174f1b26d/django_session_timeout-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d52f72182b39383196bc403713773c39", "sha256": "22dd3399afc01aae45dddeb9069a778efdbb8d57f5feaa9e080df0913142b32f" }, "downloads": -1, "filename": "django-session-timeout-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d52f72182b39383196bc403713773c39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3070, "upload_time": "2019-04-01T13:28:04", "url": "https://files.pythonhosted.org/packages/c9/46/41ae724dd6369705fc1ecbe35bba91f6e071179622b56ebdc96cc6f7abc6/django-session-timeout-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6308fcce579eab28c3cfd9b37054d1d5", "sha256": "b4b6a51d1f33799c0dd298c28fe68a2be9b865680a9adf06805b560e69bb8383" }, "downloads": -1, "filename": "django_session_timeout-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6308fcce579eab28c3cfd9b37054d1d5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3744, "upload_time": "2019-04-01T13:28:03", "url": "https://files.pythonhosted.org/packages/87/8c/8894ffd9056aed43d300c4ecdbf2283808d1909754812682e98174f1b26d/django_session_timeout-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d52f72182b39383196bc403713773c39", "sha256": "22dd3399afc01aae45dddeb9069a778efdbb8d57f5feaa9e080df0913142b32f" }, "downloads": -1, "filename": "django-session-timeout-0.0.4.tar.gz", "has_sig": false, "md5_digest": "d52f72182b39383196bc403713773c39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3070, "upload_time": "2019-04-01T13:28:04", "url": "https://files.pythonhosted.org/packages/c9/46/41ae724dd6369705fc1ecbe35bba91f6e071179622b56ebdc96cc6f7abc6/django-session-timeout-0.0.4.tar.gz" } ] }