{"id":13502307,"url":"https://github.com/pallets-eco/flask-session","last_synced_at":"2025-05-13T21:04:23.990Z","repository":{"id":16393551,"uuid":"19144308","full_name":"pallets-eco/flask-session","owner":"pallets-eco","description":"Server side session extension for Flask","archived":false,"fork":false,"pushed_at":"2024-12-23T22:22:20.000Z","size":1609,"stargazers_count":523,"open_issues_count":30,"forks_count":243,"subscribers_count":21,"default_branch":"development","last_synced_at":"2025-05-03T01:13:07.518Z","etag":null,"topics":["flask","sessions"],"latest_commit_sha":null,"homepage":"https://flask-session.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pallets-eco.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security.rst","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"pallets","custom":"https://palletsprojects.com/donate","tidelift":"pypi/Flask"}},"created_at":"2014-04-25T11:48:29.000Z","updated_at":"2025-05-02T02:22:59.000Z","dependencies_parsed_at":"2023-11-12T07:21:11.825Z","dependency_job_id":"8d028137-06ed-4e1a-8e08-6919dc85cc5e","html_url":"https://github.com/pallets-eco/flask-session","commit_stats":{"total_commits":270,"total_committers":22,"mean_commits":"12.272727272727273","dds":0.4925925925925926,"last_synced_commit":"bc2fe67958bff5e46023c4807b5e75ca350554eb"},"previous_names":["fengsp/flask-session"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fflask-session","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fflask-session/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fflask-session/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pallets-eco%2Fflask-session/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pallets-eco","download_url":"https://codeload.github.com/pallets-eco/flask-session/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252961821,"owners_count":21832194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","sessions"],"created_at":"2024-07-31T22:02:09.403Z","updated_at":"2025-05-13T21:04:23.956Z","avatar_url":"https://github.com/pallets-eco.png","language":"Python","funding_links":["https://github.com/sponsors/pallets","https://palletsprojects.com/donate","https://tidelift.com/funding/github/pypi/Flask"],"categories":["Python","Flask Utilities"],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/pallets-eco/flask-session/main/docs/_static/icon/favicon-192x192.png\" width=\"60\" height=\"60\" alt=\"Flask-Session\"\u003e\n\n# Flask-Session\n\nFlask-Session is an extension for Flask that adds support for server-side sessions to your application.\n\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/pallets-eco/flask-session/test.yaml?logo=github)\n![Documentation status](https://img.shields.io/readthedocs/flask-session?logo=readthedocs)\n![BSD-3 Clause License](https://img.shields.io/github/license/pallets-eco/flask-session?logo=bsd)\n![Common Changelog](https://common-changelog.org/badge.svg)\n![Code style: ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json\u0026label=style)\n![PyPI - Latest Version](https://img.shields.io/pypi/v/flask-session.svg?logo=pypi)\n![PyPI - Python Version](https://img.shields.io/badge/dynamic/json?query=info.requires_python\u0026label=python\u0026logo=python\u0026url=https%3A%2F%2Fpypi.org%2Fpypi%2Fflask-session%2Fjson)\n![Discord](https://img.shields.io/discord/531221516914917387?logo=discord)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/flask-session?logo=pypi)\n\n## Installing\n\nInstall and update using pip:\n\n```py\n$ pip install flask-session[redis]\n```\n\nYou can include any supported storage type in place of redis.\n\n## A Simple Example\n\n```py\nfrom flask import Flask, session\nfrom flask_session import Session\n\napp = Flask(__name__)\n# Check Configuration section for more details\nSESSION_TYPE = 'redis'\napp.config.from_object(__name__)\nSession(app)\n\n@app.route('/set/')\ndef set():\n    session['key'] = 'value'\n    return 'ok'\n\n@app.route('/get/')\ndef get():\n    return session.get('key', 'not set')\n```\n\n## Supported Storage Types\n\n-   Redis\n-   Memcached\n-   FileSystem\n-   MongoDB\n-   SQLALchemy\n-   DynamoDB\n\n## Documentation\n\nLearn more at the official [Flask-Session Documentation](https://flask-session.readthedocs.io/en/latest/).\n\n## Maintainers\n\n-   [Lxstr](https://github.com/Lxstr)\n-   Pallets Team\n\n## Contribute\n\nThanks to all those who have contributed to Flask-Session. A full list can be found at [CONTRIBUTORS.md](https://github.com/pallets-eco/flask-session/blob/development/CONTRIBUTORS.md).\n\nIf you want to contribute, please check the [CONTRIBUTING.rst](https://github.com/pallets-eco/flask-session/blob/development/CONTRIBUTING.rst).\n\n## Donate\n\nThe Pallets organization develops and supports Flask-Session and other popular packages. In order to grow the community of contributors and users, and allow the maintainers to devote more time to the projects, please donate today.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpallets-eco%2Fflask-session","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpallets-eco%2Fflask-session","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpallets-eco%2Fflask-session/lists"}