{ "info": { "author": "Julien Fache", "author_email": "fantomas42@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\n*utsessions* allow the features of timed and unique sessions for an user\naccount in Django.\n\nWhat does it do ?\n=================\n\n*utsessions* is a middleware that makes all opened user sessions unique.\n\nWhen an user session is opened, the user account can't be reused\nbefore a certain amount of time. After this time, if the user account\nis reused, the first session is closed and a second one is opened.\n\nA session can also be automaticaly closed after a choosen time.\n\nThis kind of behavior is useful for websites providing access to data\nby unique user account.\n\nPhilosophy\n==========\n\n*utsessions* was written to be easily :\n\n * Installed in your projects, by simply registering the middleware.\n * Extended thanks to his design in object: each component can be removed or reused.\n * Configured, with the settings.py file which allows different behaviors.\n\nInstallation\n============\n\nDownload the latest packaged version at http://code.google.com/p/django-ut-sessions/ \nand unpack it.\n\nYou can also perform a Subversion checkout to get the latest code. ::\n\n svn checkout http://django-ut-sessions.googlecode.com/svn/trunk/ django-ut-sessions\n\nInside the package use this command line to install the package into\nyour PYTHONPATH. ::\n\n $> python setup.py install\n\nProject installation\n====================\n\nNow simply add this following line into your *MIDDLEWARE_CLASSES* section. ::\n\n utsessions.middleware.UTSessionMiddleware\n\nIt must be after the SessionMiddleware and AuthentifcationMiddleware\nlike this : ::\n\n MIDDLEWARE_CLASSES = (\n 'django.middleware.common.CommonMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'utsessions.middleware.UTSessionMiddleware',\n )\n\nSettings\n========\n\nIf you want to define the period of a session before being logged out,\nset a value in seconds to *SESSION_LIMIT_SECONDS* in your settings.py\n\nA session can be released for another user before a certain amount of\ntime, set to default at 300 seconds. To change this value define\n*SESSION_TOKEN_LIMIT_SECONDS*. If set to 0, no lock will be created.\n\nTests\n=====\n\nPut utsessions into your *INSTALLED_APPS* section and run : ::\n\n $> python manage.py test utsessions", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://code.google.com/p/django-ut-sessions/", "keywords": "django python session unique user", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "utsessions", "package_url": "https://pypi.org/project/utsessions/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/utsessions/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://code.google.com/p/django-ut-sessions/" }, "release_url": "https://pypi.org/project/utsessions/0.2dev-r6/", "requires_dist": null, "requires_python": null, "summary": "Managing unique and timed sessions in Django", "version": "0.2dev-r6" }, "last_serial": 738943, "releases": { "0.2dev-r6": [ { "comment_text": "", "digests": { "md5": "5b466e7027c12ddfce0f59fef9114909", "sha256": "869da09e603f13aa5ff4baf6934a03872c8258a14bebfae4b625ef8020f73fe1" }, "downloads": -1, "filename": "utsessions-0.2dev_r6-py2.4.egg", "has_sig": false, "md5_digest": "5b466e7027c12ddfce0f59fef9114909", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 9171, "upload_time": "2008-12-29T14:32:43", "url": "https://files.pythonhosted.org/packages/54/cf/dbce6c77ab73179e788299988dda6ba31181ea6c698add1f2fd447b9a822/utsessions-0.2dev_r6-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "8890e5b5f14caa00e51a5e45c30ffc70", "sha256": "05376d19a5ada5847a42a9b03359d29b432f52d858be5b269365f0a46a9006f0" }, "downloads": -1, "filename": "utsessions-0.2dev-r6.tar.gz", "has_sig": false, "md5_digest": "8890e5b5f14caa00e51a5e45c30ffc70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4066, "upload_time": "2008-12-29T14:32:43", "url": "https://files.pythonhosted.org/packages/0e/00/f0834a2760801d4643fd9c7d0c1abee87919d48c4cd9f6632fddf3c65437/utsessions-0.2dev-r6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5b466e7027c12ddfce0f59fef9114909", "sha256": "869da09e603f13aa5ff4baf6934a03872c8258a14bebfae4b625ef8020f73fe1" }, "downloads": -1, "filename": "utsessions-0.2dev_r6-py2.4.egg", "has_sig": false, "md5_digest": "5b466e7027c12ddfce0f59fef9114909", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 9171, "upload_time": "2008-12-29T14:32:43", "url": "https://files.pythonhosted.org/packages/54/cf/dbce6c77ab73179e788299988dda6ba31181ea6c698add1f2fd447b9a822/utsessions-0.2dev_r6-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "8890e5b5f14caa00e51a5e45c30ffc70", "sha256": "05376d19a5ada5847a42a9b03359d29b432f52d858be5b269365f0a46a9006f0" }, "downloads": -1, "filename": "utsessions-0.2dev-r6.tar.gz", "has_sig": false, "md5_digest": "8890e5b5f14caa00e51a5e45c30ffc70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4066, "upload_time": "2008-12-29T14:32:43", "url": "https://files.pythonhosted.org/packages/0e/00/f0834a2760801d4643fd9c7d0c1abee87919d48c4cd9f6632fddf3c65437/utsessions-0.2dev-r6.tar.gz" } ] }