{
"info": {
"author": "Philip Xu and contributors",
"author_email": "pyx@xrefactor.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "===========================================================\nSanic-CookieSession - Simple Cookie-based Session for Sanic\n===========================================================\n\nSanic-CookieSession implements a client side only, cookie-based session to be\nused with `Sanic`_. Similar to the built-in session in Flask.\n\n.. warning::\n\n The session cookie is signed cryptographically to prevent modification, but\n the content is not encrypted, NEVER store information that need to be kept\n secret.\n\n.. _Sanic: https://github.com/channelcat/sanic\n\n\nQuick Start\n===========\n\n\nInstallation\n------------\n\n.. code-block:: sh\n\n pip install Sanic-CookieSession\n\n\nHow to use it\n-------------\n\n.. code-block:: python\n\n from sanic import Sanic, response\n import sanic_cookiesession\n\n app = Sanic(__name__)\n app.config['SESSION_COOKIE_SECRET_KEY'] = 'abcd'\n\n sanic_cookiesession.setup(app)\n\n @app.route('/')\n def index(request):\n session = request['session']\n session.setdefault('c', 0)\n session['c'] += 1\n return response.text(session['c'])\n\n if __name__ == '__main__':\n app.run(debug=True)\n\nThat's it.\n\nFor more details, please see documentation.\n\n\nLicense\n=======\n\nBSD New, see LICENSE for details.\n\n\nLinks\n=====\n\n- `Documentation `_\n\n- `Issue Tracker `_\n\n- `Source Package @ PyPI `_\n\n- `Mercurial Repository @ bitbucket\n `_\n\n- `Git Repository @ Github\n `_\n\n- `Git Repository @ Gitlab\n `_\n\n- `Development Version\n `_\n\n\n",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/pyx/sanic-cookiesession/",
"keywords": "",
"license": "BSD-New",
"maintainer": "",
"maintainer_email": "",
"name": "Sanic-CookieSession",
"package_url": "https://pypi.org/project/Sanic-CookieSession/",
"platform": "any",
"project_url": "https://pypi.org/project/Sanic-CookieSession/",
"project_urls": {
"Homepage": "https://github.com/pyx/sanic-cookiesession/"
},
"release_url": "https://pypi.org/project/Sanic-CookieSession/0.2.0/",
"requires_dist": [
"itsdangerous",
"sanic",
"Sphinx; extra == 'dev'",
"aiohttp; extra == 'dev'",
"flake8; extra == 'dev'",
"pytest; extra == 'dev'",
"pytest-cov; extra == 'dev'",
"tox; extra == 'dev'",
"twine; extra == 'dev'"
],
"requires_python": "",
"summary": "Sanic-CookieSession - Simple Cookie-based Session for Sanic",
"version": "0.2.0"
},
"last_serial": 2848197,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "7e19da34ac7ae6128101cb45c197c6aa",
"sha256": "78ea5d28160043fc09e45111ec0e0cabec7bb4f12f5cb716835fce0fb3a32b5f"
},
"downloads": -1,
"filename": "Sanic_CookieSession-0.1.0-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "7e19da34ac7ae6128101cb45c197c6aa",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 4958,
"upload_time": "2017-04-27T22:19:52",
"url": "https://files.pythonhosted.org/packages/5e/2f/866a80de7fe16e107ddc40a7b7951d62301624777fa93c9f9f502d91427a/Sanic_CookieSession-0.1.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "82055f07b5e666131cf147fe33ce3d65",
"sha256": "cbe6302859bc53a53e4ae62e56109e7c01ec63eba72839596ec3a3be95f8aa88"
},
"downloads": -1,
"filename": "Sanic-CookieSession-0.1.0.tar.gz",
"has_sig": true,
"md5_digest": "82055f07b5e666131cf147fe33ce3d65",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7312,
"upload_time": "2017-04-27T22:19:53",
"url": "https://files.pythonhosted.org/packages/8c/b8/19de72e3375b7685c4da84f68fba245a5a6dd03882d6b408de51e9708581/Sanic-CookieSession-0.1.0.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "a0b3d31635bd91dc80536a85ec68d939",
"sha256": "751a5dfe802dd18f1c62f82b3c85c09071beac8b1b9e0e951cee1350d64c1cc0"
},
"downloads": -1,
"filename": "Sanic_CookieSession-0.2.0-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "a0b3d31635bd91dc80536a85ec68d939",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 4966,
"upload_time": "2017-05-03T04:22:36",
"url": "https://files.pythonhosted.org/packages/f9/5d/7f03b114781b9d474c66d25857c9b4d38e2ad2654fcd71195c9b2d3cdc3a/Sanic_CookieSession-0.2.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "053d3c2e8ff2ced1a68e1d2102e4ade9",
"sha256": "412c5b3f7e4bc39d8d3771e7726bbba495aecdf5017858937be772aed5dbbd62"
},
"downloads": -1,
"filename": "Sanic-CookieSession-0.2.0.tar.gz",
"has_sig": true,
"md5_digest": "053d3c2e8ff2ced1a68e1d2102e4ade9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7888,
"upload_time": "2017-05-03T04:22:38",
"url": "https://files.pythonhosted.org/packages/ff/e4/a5a05f06aa7f66616508f221373344a931cca3b0583cf7c188236814c657/Sanic-CookieSession-0.2.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "a0b3d31635bd91dc80536a85ec68d939",
"sha256": "751a5dfe802dd18f1c62f82b3c85c09071beac8b1b9e0e951cee1350d64c1cc0"
},
"downloads": -1,
"filename": "Sanic_CookieSession-0.2.0-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "a0b3d31635bd91dc80536a85ec68d939",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 4966,
"upload_time": "2017-05-03T04:22:36",
"url": "https://files.pythonhosted.org/packages/f9/5d/7f03b114781b9d474c66d25857c9b4d38e2ad2654fcd71195c9b2d3cdc3a/Sanic_CookieSession-0.2.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "053d3c2e8ff2ced1a68e1d2102e4ade9",
"sha256": "412c5b3f7e4bc39d8d3771e7726bbba495aecdf5017858937be772aed5dbbd62"
},
"downloads": -1,
"filename": "Sanic-CookieSession-0.2.0.tar.gz",
"has_sig": true,
"md5_digest": "053d3c2e8ff2ced1a68e1d2102e4ade9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7888,
"upload_time": "2017-05-03T04:22:38",
"url": "https://files.pythonhosted.org/packages/ff/e4/a5a05f06aa7f66616508f221373344a931cca3b0583cf7c188236814c657/Sanic-CookieSession-0.2.0.tar.gz"
}
]
}