$npx skillfedfor your agent

django-classy-tags

Class based template tags for Django

Worth itPyPI Software DevelopmentReleased Jul 2023412.3K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_classy_tags-4.1.0-py3-none-any.whl
v4.1.0 · released 2023-07-29 · Python >=3.8 · 1 runtime deps: django

Yes. This is a stable, actively maintained library (last commit 2026-08-10) with no known vulnerabilities, low install friction, and a permissive BSD license. It directly addresses template tag verbosity in Django development and is well-suited for any Django project that uses custom template tags.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires django to be installed; intended for use within Django projects only.
  • Low friction installation with a single wheel distribution.
  • Actively maintained as of August 2026 with recent commits; supports current Python versions (3.8–3.11) and modern Django releases (3.2–4.2).

License · maintenance · safety

BSD (permissive) — BSD permissive license allows use in commercial and private projects with minimal restrictions; no copyleft obligations.

last release 2023-07-29 (1112 days) · last repo commit 2026-08-10 · 380 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 412,307 downloads/mo, #6,849 on PyPI

Verify before relying

pip install django-classy-tags

from django import template
register = template.Library()

# Define a class-based tag with declarative options and arguments
# Implement get_value() to compute the tag's output
  • Whether the class-based approach is actually cleaner or more maintainable than Django's default function-based pattern in practice.
  • Real-world performance characteristics compared to standard Django template tags.
  • Adoption rate and community feedback on the class-based pattern versus alternatives.
Same gist for agents: .md · .json

What it is and what it does

Django Classy Tags is a library that provides a class-based alternative to Django's function-based template tag pattern. Instead of writing procedural parsing logic, you declare your tag's arguments and behavior as class attributes, then implement methods to compute the output. The library handles argument parsing, validation, and integration with Django's template system automatically.

It is typically used when building reusable template tags for Django projects—particularly when tags have complex or optional arguments. The package supports parse-until blocks (for tags that wrap template content) and is designed to be extensible for custom argument types and tag behaviors.

Use it for

  • Build custom template tags with optional arguments and defaults without writing custom parsing logic.
  • Create tags that store computed values in template variables using the 'as' pattern.
  • Implement block-level template tags that wrap and process template content between opening and closing tags.
  • Reduce boilerplate when maintaining a library of reusable Django template tags across projects.
  • Extend tag behavior through inheritance when multiple tags share similar argument structures.

Worth the install?

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

Worth it

Yes.

This is a stable, actively maintained library (last commit 2026-08-10) with no known vulnerabilities, low install friction, and a permissive BSD license. It directly addresses template tag verbosity in Django development and is well-suited for any Django project that uses custom template tags.

Install

django-classy-tags on PyPI

Before you install

Low friction installation with a single wheel distribution. Actively maintained as of August 2026 with recent commits; supports current Python versions (3.8–3.11) and modern Django releases (3.2–4.2).

Requires django to be installed; intended for use within Django projects only.

License in practice

BSD permissive license allows use in commercial and private projects with minimal restrictions; no copyleft obligations.

Quickstart

pip install django-classy-tags

from django import template
register = template.Library()

# Define a class-based tag with declarative options and arguments
# Implement get_value() to compute the tag's output

Verify before relying

  • Whether the class-based approach is actually cleaner or more maintainable than Django's default function-based pattern in practice.
  • Real-world performance characteristics compared to standard Django template tags.
  • Adoption rate and community feedback on the class-based pattern versus alternatives.

Package facts

LicenseBSD permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
django
MaintenanceActively maintained 1,112 days since the last release
Last repo commit
First released
Downloads412,307 / month, #6,849 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.0Framework :: Django :: 4.1Framework :: Django :: 4.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software DevelopmentTopic :: Software Development :: Libraries

Evidence: django_classy_tags-4.1.0-py3-none-any.whl

Tags

Capabilities
django template tags class baseddjango template tag argument parserdjango custom template tagsdjango template tag boilerplatedjango classy tags
Topics
django-template-tags

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 template tags class based”

  • django-classy-tagsProvides a class-based system for writing Django template tags with…
  • django-navhelperProvides Django template tags to automatically add active CSS classes…
  • django-widget-tweaksCustomize Django form field HTML and CSS in templates using template…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also django-sekizai · djangocms-text-ckeditor · django-cms · django-components · django-jinja · djangocms-admin-style · crispy-bootstrap3 · djangocms-attributes-field · html5tagger · django-decorator-include