$npx skillfedfor your agent

django-cookie-consent

Django cookie consent application

Worth itPyPI Python ModulesReleased Feb 202677.0K downloads / moBSD-2-Clause-first-linesPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_cookie_consent-1.0.0-py3-none-any.whl
v1.0.0 · released 2026-02-04 · Python >=3.10 · 2 runtime deps: django, django-appconf

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It directly solves a common compliance need (cookie consent) with a Django-native approach. Use it if you need cookie consent management in a Django project and want database-backed, admin-editable cookie definitions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django 4.2 or later and Python 3.10+; django-appconf must be installed as a runtime dependency.
  • Low friction install with only two runtime dependencies (django and django-appconf).
  • Actively maintained as of June 2026, with recent releases and a stable production status across Django 4.2 through 6.0.

License · maintenance · safety

BSD-2-Clause-first-lines (permissive) — BSD-2-Clause-first-lines is a permissive license, allowing commercial and private use with minimal restrictions; you must retain the license notice in distributions.

last release 2026-02-04 (191 days) · last repo commit 2026-06-14 · 269 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 76,958 downloads/mo, #14,570 on PyPI

Verify before relying

pip install django-cookie-consent

# In Django settings.py, add to INSTALLED_APPS:
# 'cookie_consent',

# Then migrate:
# python manage.py migrate

# Use in template:
# {% load cookie_consent %}
# {% cookie_consent_banner %}
  • Whether the package includes a pre-built frontend component (JavaScript/CSS) or requires custom UI implementation.
  • Specifics on how cookie removal is enforced client-side versus server-side.
  • Whether logging of user consent actions includes audit-trail capabilities for compliance documentation.
Same gist for agents: .md · .json

What it is and what it does

django-cookie-consent is a Django application that handles cookie consent workflows by storing cookie definitions and user consent choices in the database, accessible through Django admin. It supports both opt-in (users must accept before cookies are set) and opt-out (cookies are set unless rejected) consent schemes, and can remove declined cookies or non-accepted cookies depending on the scheme in use.

The package logs when users accept or decline cookies, making it straightforward to track consent history. It also handles re-consent flows when new cookies are added, prompting users to make fresh choices without losing their prior decisions. The core dependencies are django and django-appconf; it requires Python 3.10 or later and is tested against modern Django versions (4.2, 5.2, 6.0).

Use it for

  • Implement GDPR-compliant cookie consent on a Django site with opt-in or opt-out workflows.
  • Store and manage cookie definitions (analytics, marketing, functional) in Django admin for non-technical users.
  • Log user consent decisions for audit and compliance reporting.
  • Automatically re-prompt users when new cookies are added to the site.
  • Remove or prevent setting of cookies that users have declined.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It directly solves a common compliance need (cookie consent) with a Django-native approach. Use it if you need cookie consent management in a Django project and want database-backed, admin-editable cookie definitions.

Install

django-cookie-consent on PyPI

Before you install

Low friction install with only two runtime dependencies (django and django-appconf). Actively maintained as of June 2026, with recent releases and a stable production status across Django 4.2 through 6.0.

Requires Django 4.2 or later and Python 3.10+; django-appconf must be installed as a runtime dependency.

License in practice

BSD-2-Clause-first-lines is a permissive license, allowing commercial and private use with minimal restrictions; you must retain the license notice in distributions.

Quickstart

pip install django-cookie-consent

# In Django settings.py, add to INSTALLED_APPS:
# 'cookie_consent',

# Then migrate:
# python manage.py migrate

# Use in template:
# {% load cookie_consent %}
# {% cookie_consent_banner %}

Verify before relying

  • Whether the package includes a pre-built frontend component (JavaScript/CSS) or requires custom UI implementation.
  • Specifics on how cookie removal is enforced client-side versus server-side.
  • Whether logging of user consent actions includes audit-trail capabilities for compliance documentation.

Package facts

LicenseBSD-2-Clause-first-lines permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
djangodjango-appconf
MaintenanceActively maintained 191 days since the last release
Last repo commit
First released
Downloads76,958 / month, #14,570 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: UnixProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules

Evidence: django_cookie_consent-1.0.0-py3-none-any.whl

Tags

Capabilities
django cookie consentcookie consent managementgdpr cookie banneropt-in opt-out cookiedjango cookie barcookie acceptance trackingcookie compliance django
Topics
compliancecookie-managementgdpr
PyPI keywords
cookiescookie-consentcookie bar

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django cookie consent”

  • django-cookie-consentA Django application that manages cookie consent workflows, letting…
  • edx-drf-extensionsProvides JWT authentication, CSRF token endpoints, and cross-cutting…
  • identityProvides a high-level authentication and authorization API for Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also cookies · asgi-csrf · streamlit-cookies-controller · macaroonbakery · browser-cookie3 · pycookiecheat · django-click · starlette-csrf · edx-drf-extensions · cruft