{"id":13837354,"url":"https://github.com/ericflo/django-tokyo-sessions","last_synced_at":"2025-07-26T06:32:46.347Z","repository":{"id":506918,"uuid":"134391","full_name":"ericflo/django-tokyo-sessions","owner":"ericflo","description":"This is a session backend for Django that stores sessions in a Tokyo Cabinet database, which communicates via Tokyo Tyrant using the PyTyrant library.  Tokyo Cabinet is a key-value store similar to BDB.","archived":false,"fork":false,"pushed_at":"2009-03-02T05:14:13.000Z","size":91,"stargazers_count":81,"open_issues_count":2,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-08T10:50:36.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"scotthogan/grunt-mocha-phantom-istanbul","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericflo.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-02-22T00:55:51.000Z","updated_at":"2025-03-20T12:50:39.000Z","dependencies_parsed_at":"2022-07-04T21:01:15.421Z","dependency_job_id":null,"html_url":"https://github.com/ericflo/django-tokyo-sessions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ericflo/django-tokyo-sessions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericflo%2Fdjango-tokyo-sessions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericflo%2Fdjango-tokyo-sessions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericflo%2Fdjango-tokyo-sessions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericflo%2Fdjango-tokyo-sessions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericflo","download_url":"https://codeload.github.com/ericflo/django-tokyo-sessions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericflo%2Fdjango-tokyo-sessions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267130106,"owners_count":24040397,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-08-04T15:01:07.081Z","updated_at":"2025-07-26T06:32:46.109Z","avatar_url":"https://github.com/ericflo.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"django-tokyo-sessions\n=======================\n\nThis is a session backend for Django that stores sessions in a Tokyo Cabinet\ndatabase, which communicates via Tokyo Tyrant using the PyTyrant library.  Tokyo\nCabinet is a key-value store similar to BDB.\n\nThe advantage to using this over other solutions is that your data is persistent\nunlike memcached, and Tokyo Cabinet is designed to store key-value data like\nthis, so performance is much closer to that of memcached than with a database.\n\nInstalling django-tokyo-sessions\n-----------------------------------\n\n1. Either download the tarball and run ``python setup.py install``, or simply\n   use easy install or pip like so ``easy_install django-tokyo-sessions``.\n\n\n2. Set ``tokyo_sessions.tyrant`` as your session engine, like so::\n\n       SESSION_ENGINE = 'tokyo_sessions.tyrant'\n\n\n3. Add settings describing where to connect to the Tokyo Tyrant database::\n\n       TT_HOST = '127.0.0.1'\n       TT_PORT = 1978\n\n\nThat's it.  Hopefully this backend gives you all the better performance while\nstill not sacrificing persistence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericflo%2Fdjango-tokyo-sessions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericflo%2Fdjango-tokyo-sessions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericflo%2Fdjango-tokyo-sessions/lists"}