{ "info": { "author": "Audrey Roy Greenfeld", "author_email": "aroy@alum.mit.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "===============================\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://travis-ci.org/audreyr/jinja2_pluralize.svg?branch=master\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\n\n\n\nHistory\n-------\n\n0.3.0 (2015-10-09)\n------------------\n\n* Fix RST formatting on PyPI.\n* Stable status.\n* Test on Python 3.4 and 3.5.\n* Add more badges to README.\n\n0.2.1 (2014-07-09)\n--------------------\n\n* Remove the shebang from `__init__.py` (`#2`_), thanks to `@dashea`_.\n\n.. _`#2`: https://github.com/audreyr/jinja2_pluralize/pull/2\n.. _`@dashea`: https://github.com/dashea\n\n0.2.0 (2014-07-02)\n--------------------\n\n* Package works as per the README.\n\n0.1.0 (2014-04-25)\n--------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/audreyr/jinja2_pluralize", "keywords": "Jinja2,filter,pluralize,Django,inflect", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "jinja2_pluralize", "package_url": "https://pypi.org/project/jinja2_pluralize/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/jinja2_pluralize/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/audreyr/jinja2_pluralize" }, "release_url": "https://pypi.org/project/jinja2_pluralize/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "Jinja2 pluralize filters.", "version": "0.3.0" }, "last_serial": 1759495, "releases": { "0.1.0": [], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f75d2bf778f7865edd0c6b3639648a27", "sha256": "96649a8f2c5e5c1058b68b68c7a93e572831bbb9774accdcf62449b56bfc28e7" }, "downloads": -1, "filename": "jinja2_pluralize-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f75d2bf778f7865edd0c6b3639648a27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12186, "upload_time": "2014-07-02T15:23:06", "url": "https://files.pythonhosted.org/packages/69/ed/dda57cb4b1f750820e827353ad2738f6c50a103db3ded76c44f43916bbb1/jinja2_pluralize-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "3e68c6e85d00bb7cf0ddcc5941f4a738", "sha256": "9a9af6f4a15b0e005dd47ca3d8162a27fba0119e00e32f9288ab3b6e7af89f5b" }, "downloads": -1, "filename": "jinja2_pluralize-0.2.1.tar.gz", "has_sig": false, "md5_digest": "3e68c6e85d00bb7cf0ddcc5941f4a738", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12294, "upload_time": "2014-07-10T04:27:53", "url": "https://files.pythonhosted.org/packages/58/ab/d28f1eafff5f38fc0e73006a5546a2d9683fd8f9670d60d4c016ca3b0c49/jinja2_pluralize-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "00de73ef7f786b8c0de72c2a02373e17", "sha256": "4fec874a591014774d4c66cb7f65314390731bfc57db4c27119db61aa93b2bc4" }, "downloads": -1, "filename": "jinja2_pluralize-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "00de73ef7f786b8c0de72c2a02373e17", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 4836, "upload_time": "2015-10-09T07:29:03", "url": "https://files.pythonhosted.org/packages/40/26/e6a6d7741076ea1bcfac02821e744fc40fa4cbb07e870b7dd969f4af8721/jinja2_pluralize-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42afef9fd52c4768ab5d434f3f908cb4", "sha256": "df5c2d5017b9b54c0a66cb790cca9fc08945837c3dbfc323589203f1ffb73c1c" }, "downloads": -1, "filename": "jinja2_pluralize-0.3.0.tar.gz", "has_sig": false, "md5_digest": "42afef9fd52c4768ab5d434f3f908cb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12638, "upload_time": "2015-10-09T07:28:56", "url": "https://files.pythonhosted.org/packages/bb/1e/9d5a177fd1e4f74091743777518c432ad290c4630aac557b61087dffd6df/jinja2_pluralize-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "00de73ef7f786b8c0de72c2a02373e17", "sha256": "4fec874a591014774d4c66cb7f65314390731bfc57db4c27119db61aa93b2bc4" }, "downloads": -1, "filename": "jinja2_pluralize-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "00de73ef7f786b8c0de72c2a02373e17", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 4836, "upload_time": "2015-10-09T07:29:03", "url": "https://files.pythonhosted.org/packages/40/26/e6a6d7741076ea1bcfac02821e744fc40fa4cbb07e870b7dd969f4af8721/jinja2_pluralize-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42afef9fd52c4768ab5d434f3f908cb4", "sha256": "df5c2d5017b9b54c0a66cb790cca9fc08945837c3dbfc323589203f1ffb73c1c" }, "downloads": -1, "filename": "jinja2_pluralize-0.3.0.tar.gz", "has_sig": false, "md5_digest": "42afef9fd52c4768ab5d434f3f908cb4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12638, "upload_time": "2015-10-09T07:28:56", "url": "https://files.pythonhosted.org/packages/bb/1e/9d5a177fd1e4f74091743777518c432ad290c4630aac557b61087dffd6df/jinja2_pluralize-0.3.0.tar.gz" } ] }