Registry /
web-framework / edx-django-release-util
Install & Compatibility
Where this runs
tested against v1.5.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 68.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.6s · import 0.000s · 70MB
68MB installed
● package 68MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ReleaseCookieMiddleware
✓ from release_util import ReleaseCookieMiddleware
✗ from release_util.middleware import ReleaseCookieMiddleware
Quickstart: check feature gating and compare versions.
import os
from django.http import HttpResponse
from edx_django_release_util import version, feature_gating
# Example: check if a feature is gated
feature_name = 'my_new_feature'
if feature_gating.is_feature_enabled(feature_name):
response = HttpResponse('Feature enabled')
else:
response = HttpResponse('Feature disabled')
# Example: compare versions
current_version = '1.0.0'
minimum_version = '1.0.1'
if version.is_release_version_gt(minimum_version, current_version):
print('Upgrade required.')
Upgrade
Version history
1.5.0latest on PyPI · released Apr 23, 2025
Audit
Dependencies
No dependency data recorded yet.