{ "info": { "author": "Matthew Pontefract", "author_email": "matthew@zorinholdings.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "rsession\n========\n\nrsession is yet another Redis-backed Django session store.\n\nThere are a few available within a short Google but it was\nnot clear which should be used and differences between them\nmade me decide to roll my own.\n\nThis session store is a copy of Django's own database\nsession store with each method modified to suit Redis.\n\nInstallation of rsession is easily accomplished with pip::\n\n $ pip install rsession\n\nTo use, install Redis and amend your Django settings as follows, substituting \nappropriate values if your Redis server is not a default installation \non localhost::\n\n RSESSION = {\n 'HOST' : 'localhost',\n 'PORT' : 6379,\n 'DB' : 0,\n 'PASSWORD' : '',\n 'PREFIX' : 'RSESSION',\n }\n\n SESSION_ENGINE = \"rsession.rsession\"\n # 14 days is default expiry for Django. Setting included\n # here to remind the user that the session length is modifiable\n # and probably should be for your application\n SESSION_COOKIE_AGE = 60 * 60 * 24 * 14 # 14 days in seconds\n SESSION_SAVE_EVERY_REQUEST = True\n SESSION_EXPIRE_AT_BROWSER_CLOSE = False\n\nFinally, whilst not essential, you can remove ``django.contrib.sessions`` from \nyour installed apps as this is only required if using\nDjango database-backed sessions.\n\nYour work is now done. Django sessions will be stored in Redis under the key\n``RSESSION:`` (unless you change the prefix in settings as above) \nand these will be purged ``SESSION_COOKIE_AGE`` seconds after the last use.\n\nIf you have comments and would like to get in touch, please mail\nrsession at zorinholdings.com\n\nMatthew\nMay 2011\n\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aquamatt/rsession/", "keywords": "django,sessions,redis", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "rsession", "package_url": "https://pypi.org/project/rsession/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rsession/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/aquamatt/rsession/" }, "release_url": "https://pypi.org/project/rsession/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Django session back-end persisting to Redis", "version": "0.1.0" }, "last_serial": 745340, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a24aba0929f2c8c8948638575a36a386", "sha256": "700a31bcf11c7e6f7839b6198cca09a4e959e65309b8b62bb28ef4f97873f42d" }, "downloads": -1, "filename": "rsession-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a24aba0929f2c8c8948638575a36a386", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2798, "upload_time": "2012-10-08T14:58:48", "url": "https://files.pythonhosted.org/packages/81/05/f38df1ffd766453c53132361cb8e6b32d5d2207a132cd47c397f6c386e46/rsession-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a24aba0929f2c8c8948638575a36a386", "sha256": "700a31bcf11c7e6f7839b6198cca09a4e959e65309b8b62bb28ef4f97873f42d" }, "downloads": -1, "filename": "rsession-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a24aba0929f2c8c8948638575a36a386", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2798, "upload_time": "2012-10-08T14:58:48", "url": "https://files.pythonhosted.org/packages/81/05/f38df1ffd766453c53132361cb8e6b32d5d2207a132cd47c397f6c386e46/rsession-0.1.0.tar.gz" } ] }