--- id: jinja2-pluralize version: "0.3.0" license: BSD license_treatment: permissive maintenance: abandoned --- # jinja2_pluralize — Jinja2 pluralize filters. License: permissive · Maintenance: abandoned · Downloads: 443.4K/mo ## What it is and what it does Jinja2 Pluralize adds two template filters for handling English word pluralization within Jinja2 templates. The first is a simple pluralize filter that converts singular nouns to their plural forms (e.g., 'goose' becomes 'geese'). The second is a Django-style pluralize filter that works like Django's built-in pluralize, useful for rendering grammatically correct text based on counts (e.g., 'vote' or 'votes' depending on a number). The package has no runtime dependencies and installs as a pure Python wheel. It is intended for developers building Jinja2-based template systems who need straightforward pluralization. However, the project has been abandoned since its 0.3.0 release in 2015 and receives no active maintenance, so it may not be compatible with recent Jinja2 or Python versions. Use it for: - Render grammatically correct pluralized nouns in Jinja2 email templates or HTML output based on dynamic counts. - Build template systems that need Django-style pluralize behavior without depending on Django itself. - Generate user-facing text in template-driven applications where singular/plural forms must match data. - Add pluralization filters to custom Jinja2 environments for static site generators or documentation tools. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Jinja2 template filters for pluralizing English words, including a simple inflect-based filter and a Django-style pluralize filter. Yes, if you need simple English pluralization in Jinja2 templates and can accept an unmaintained package. The zero runtime dependencies and permissive BSD license make it low-friction to add. However, verify compatibility with your Jinja2 and Python versions first, since the package has not been updated since 2015 and may not work with modern versions. ## Install pip install jinja2-pluralize uv add jinja2-pluralize poetry add jinja2-pluralize ## Installing jinja2_pluralize Before you install: No runtime dependencies and a pure-Python wheel distribution make installation straightforward. However, the package has been abandoned since 2015 with no commits after 2022-12-26, so it will not receive maintenance or updates. License in practice: BSD license is permissive, allowing commercial and private use with minimal restrictions. Quickstart: from jinja2 import Environment from jinja2_pluralize import pluralize_dj env = Environment() env.filters['pluralize'] = pluralize_dj tmpl = env.from_string('vote{{ 0|pluralize }}') assert tmpl.render() == 'votes' Verify before relying: - Whether the package works correctly with modern Jinja2 versions despite being unmaintained since 2015. - Compatibility with Python versions beyond 3.5, which was the latest tested version at release. - Whether inflect.py is an implicit dependency or whether pluralization logic is self-contained. ## Package facts - License: BSD (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 443.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags jinja2 pluralize filter, template pluralization, django-style pluralize, english word pluralization, jinja2 inflect filter, template text pluralization, word inflection jinja2, jinja2-filter, unmaintained, text-processing [View on SkillFed](https://skillfed.io/packages/jinja2-pluralize) · [View on PyPI](https://pypi.org/project/jinja2-pluralize/)