django-tokyo-sessions
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.
The advantage to using this over other solutions is that your data is persistent unlike memcached, and Tokyo Cabinet is designed to store key-value data like this, so performance is much closer to that of memcached than with a database.
Installing django-tokyo-sessions
Either download the tarball and run python setup.py install, or simply use easy install or pip like so easy_install django-tokyo-sessions.
Set tokyo_sessions.tokyo as your session engine, like so:
SESSION_ENGINE = 'tokyo_sessions.tokyo'
Add settings describing where to connect to the Tokyo Tyrant database:
TT_HOST = '127.0.0.1' TT_PORT = 1978
That’s it. Hopefully this backend gives you all the better performance while still not sacrificing persistence.
Metadata
Release files for django-tokyo-sessions 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-tokyo-sessions-0.1.0.tar.gz | 4.2 kB | Without provenance | Details |
Release files / django-tokyo-sessions-0.1.0.tar.gz
| Download URL | django-tokyo-sessions-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0d364ed031866c603fbdf0b80b8548cfc5c8372d2502ef78f54dd6162bd376b
|
|
BLAKE2b-256 checksum How to use checksums |
535313d37890e252f11e9b733cf2023a6d822a32ad57e5561387fcab1ef6012b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-tokyo-sessions 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.