{"id":17568137,"url":"https://github.com/audreyfeldroy/jinja2_pluralize","last_synced_at":"2026-03-10T07:01:36.363Z","repository":{"id":16401993,"uuid":"19152889","full_name":"audreyfeldroy/jinja2_pluralize","owner":"audreyfeldroy","description":"Jinja2 pluralize filters.","archived":false,"fork":false,"pushed_at":"2022-12-26T20:15:00.000Z","size":30,"stargazers_count":10,"open_issues_count":8,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-25T00:35:03.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/audreyfeldroy.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-25T16:32:57.000Z","updated_at":"2024-08-04T15:06:36.000Z","dependencies_parsed_at":"2023-01-13T18:49:49.506Z","dependency_job_id":null,"html_url":"https://github.com/audreyfeldroy/jinja2_pluralize","commit_stats":null,"previous_names":["audreyr/jinja2_pluralize"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audreyfeldroy%2Fjinja2_pluralize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audreyfeldroy%2Fjinja2_pluralize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audreyfeldroy%2Fjinja2_pluralize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audreyfeldroy%2Fjinja2_pluralize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/audreyfeldroy","download_url":"https://codeload.github.com/audreyfeldroy/jinja2_pluralize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242458411,"owners_count":20131534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-21T16:43:21.722Z","updated_at":"2025-12-12T00:59:31.438Z","avatar_url":"https://github.com/audreyfeldroy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============================\nJinja2 Pluralize\n===============================\n\n.. image:: https://img.shields.io/pypi/v/jinja2_pluralize.svg?style=flat\n        :target: https://pypi.python.org/pypi/jinja2_pluralize\n    \n.. image:: https://img.shields.io/travis/audreyr/jinja2_pluralize.svg\n        :target: https://travis-ci.org/audreyr/jinja2_pluralize\n\n.. image:: https://api.codacy.com/project/badge/eb497c487012455688a62383afccccb7\n    :target: https://www.codacy.com/app/aroy/jinja2_pluralize\n\n.. image:: https://img.shields.io/pypi/pyversions/jinja2_pluralize.svg?style=flat\n\n.. image:: https://img.shields.io/pypi/status/jinja2_pluralize.svg?style=flat\n\nJinja2 pluralize filters.\n\n* Free software: BSD license\n* Documentation: http://jinja2-pluralize.readthedocs.org\n\nFeatures\n--------\n\n1. Simple pluralize filter based on inflect.py. For example, this renders as `geese`:\n\n.. code-block:: jinja\n\n    {{ 'goose'|pluralize }}\n\n2. Django-style pluralize filter. Works as described in the `Django docs`_. For example, this renders as `votes`:\n\n.. code-block:: jinja\n\n    vote{{ 0|pluralize }}\n\n.. _`Django docs`: https://docs.djangoproject.com/en/dev/ref/templates/builtins/#pluralize\n\nUsage\n-----\n\nTo use it with Jinja2, update the `filters` dict on the environment like this:\n\n.. code-block:: python\n\n    from jinja2 import Environment\n    from jinja2_pluralize import pluralize_dj\n\n    env = Environment()\n    env.filters['pluralize'] = pluralize_dj\n    tmpl = env.from_string('vote{{ 0|pluralize }}')\n    assert tmpl.render() == 'votes'\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faudreyfeldroy%2Fjinja2_pluralize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faudreyfeldroy%2Fjinja2_pluralize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faudreyfeldroy%2Fjinja2_pluralize/lists"}