{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"}],"enrichment":{"capability":"Provides a Valkey cache and session backend for Django, allowing you to use Valkey as a drop-in replacement for Django's default caching and session storage.","skillfed_tags":["django-integration","caching-backend","session-storage"],"use_cases":["Replace Django's default in-memory cache with a persistent, distributed Valkey backend for multi-process or multi-server deployments.","Store Django session data in Valkey instead of the database to reduce database load and improve session performance.","Use async cache operations in Django async views and middleware for non-blocking cache access.","Configure primary/secondary Valkey nodes for cache redundancy and read scaling.","Integrate custom serializers or compression algorithms to optimize cache storage and network bandwidth."],"what_it_does":"django-valkey is a BSD-licensed cache and session backend that integrates Valkey (a free, well-maintained key-value store) into Django. It is a fork of django-redis and reuses its mature design while targeting Valkey instead of Redis. The package provides native support for Valkey's connection strings, async operations, pluggable clients and serializers, primary/secondary replication, Unix sockets, and infinite timeouts. It has been used in production for caching and session storage and includes a comprehensive test suite.\n\nYou configure it in Django settings by specifying a Valkey location URL and then use Django's standard cache API to interact with Valkey transparently. The package is highly configurable\u2014you can emulate memcached exception behavior, choose compression algorithms (lz4, zstd, brotli), and select alternative serializers (msgpack, msgspec) via optional extras. It requires Python 3.10+, Django 4.2.20 or later (but not 5.0 or 5.1), and Valkey server 7.2.6+.","worth_installing":"Yes, if you are running Django 4.2.20+ or 5.2+ on Python 3.10+ and have a Valkey server available. The package is actively maintained, has low install friction, carries no known vulnerabilities, and offers a production-ready alternative to in-memory or database-backed caching. Avoid it only if you are locked into Django 5.0 or 5.1, or if you require Redis specifically rather than Valkey."},"id":"django-valkey","links":{"html":"https://skillfed.io/packages/django-valkey","md":"https://skillfed.io/packages/django-valkey.md","pypi":"https://pypi.org/project/django-valkey/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-06","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"django-valkey","python_support":"supports_current","summary":"a valkey backend for django"},"popularity":{"monthly_downloads":77734,"position":14502,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.1"}
