{
"info": {
"author": "William Minchin",
"author_email": "w_minchin@hotmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Pelican",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "=============\nJinja Filters\n=============\n\n``Jinja Filters`` is a plugin for `Pelican `_,\na static site generator written in Python.\n\n``Jinja Filters`` provides a selection of functions (called *filters*) for\ntemplates to use when building your website. They are packaged for Pelican, but\nmay prove useful for other projects that make use of\n`Jinja2 `_.\n\n\nInstallation\n============\n\nThe easiest way to install ``Jinja Filters`` is through the use of pip. This\nwill also install the required dependencies (currently ``pelican`` and\n``titlecase``) automatically.\n\n.. code-block:: sh\n\n pip install minchin.pelican.jinja_filters\n\nThen, in your ``pelicanconf.py`` file, add ``Jinja Filters`` to your list of\nplugins:\n\n.. code-block:: python\n\n PLUGINS = [\n # ...\n 'minchin.pelican.jinja_filters',\n # ...\n ]\n\nAnd that's it! The filters are now available for use in your templates.\n\n\nUsage\n=====\n\nAt present, the plugin includes the following filters:\n\n- ``datetime`` |--| allows you to change to format displayed for a datetime\n object. Optionally supply a `datetime format string\n `_\n to get a custom format.\n- ``article_date`` |--| a specialized version of ``datetime`` that returns\n datetimes as wanted for article dates; speciefically\n *Friday, November 4, 2016*.\n- ``breaking_spaces`` |--| replaceds non-breaking spaces (HTML code * *)\n with normal spaces.\n- ``titlecase`` |--| Titlecases the supplied string\n\nFor example, within your theme templates, you might have code like:\n\n.. code-block:: html+jinja\n\n \n Article Published {{ article.date | article_date }}\n \n\ngives::\n \n Article Published Friday, November 4, 2016\n\nOr with your own dateformat:\n\n.. code-block:: html+jinja\n\n \n Article Published {{ article.date | datetime('%b %d, %Y') }}\n \n\ngives::\n\n Article Published Nov 04, 2016\n\nFitlers can also be chained, or applied in sequence. For example to remove\nbreaking spaces and then titlecase a catgory name, you might have code like:\n\n.. code-block:: html+jinja\n\n \n {{ article.category | breaking_spaces | titlecase}}\n \n\n\nKnown Issues\n============\n\n- the ``setup.py`` file for this project does not run on Python 2.7. However,\n wheels of this project are \"universal\" and so can be generated by Python 3\n and subsquently installed by Python 2.7.\n\n\nLicense\n=======\n\n``Jinja Filters`` is under the MIT License. See attached ``License.txt`` for\nfull license text.\n\n\n.. |--| unicode:: U+2013 .. en dash",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/MinchinWeb/minchin.pelican.jinja_filters",
"keywords": "",
"license": "MIT License",
"maintainer": "",
"maintainer_email": "",
"name": "minchin.pelican.jinja_filters",
"package_url": "https://pypi.org/project/minchin.pelican.jinja_filters/",
"platform": "any",
"project_url": "https://pypi.org/project/minchin.pelican.jinja_filters/",
"project_urls": {
"Homepage": "https://github.com/MinchinWeb/minchin.pelican.jinja_filters"
},
"release_url": "https://pypi.org/project/minchin.pelican.jinja_filters/1.0.4/",
"requires_dist": null,
"requires_python": "",
"summary": "Jinja Filters for Pelican.",
"version": "1.0.4"
},
"last_serial": 2809926,
"releases": {
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "671dce947d983bec4bcfe53d8400096b",
"sha256": "03fdc56f5cccef476ebbfae27b41429a60a51f809c030279795da865466f03f4"
},
"downloads": -1,
"filename": "minchin.pelican.jinja_filters-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "671dce947d983bec4bcfe53d8400096b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7265,
"upload_time": "2016-11-19T00:20:51",
"url": "https://files.pythonhosted.org/packages/6c/69/84dc641ef744115a26e5ae2eaba27cf0e63e03e3beed6f8e24111a328a35/minchin.pelican.jinja_filters-1.0.0-py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "a3733f39192ef2aaa34a6bdc5846acbe",
"sha256": "8de8a9d9a4e995e88253abcc6a84f0778b5e872051431832747a9ebef40d7237"
},
"downloads": -1,
"filename": "minchin.pelican.jinja_filters-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "a3733f39192ef2aaa34a6bdc5846acbe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4782,
"upload_time": "2016-11-19T00:19:37",
"url": "https://files.pythonhosted.org/packages/0b/a1/fff480482e8bf81a782eb728f0e05972dc6981be62a6f5f6bd2abc4adaea/minchin.pelican.jinja_filters-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "4da0bb6ca4410cc32727f2e806b01884",
"sha256": "a7c462c7e1e349a96949be366edcfe5c21932239052caf68d2e1ba573b3bccf1"
},
"downloads": -1,
"filename": "minchin.pelican.jinja_filters-1.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "4da0bb6ca4410cc32727f2e806b01884",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7780,
"upload_time": "2017-03-09T03:50:31",
"url": "https://files.pythonhosted.org/packages/ec/4b/2f4317b7325d5990eef6aae00aa3480736ddb858361b9888dae3d03b2eb1/minchin.pelican.jinja_filters-1.0.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "c3d0adaed1186cd21582105a89c72745",
"sha256": "367c83eb4c9f389b3790449aea125987237fe84599782350398209751c5b455e"
},
"downloads": -1,
"filename": "minchin.pelican.jinja_filters-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "c3d0adaed1186cd21582105a89c72745",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5100,
"upload_time": "2017-03-09T03:49:33",
"url": "https://files.pythonhosted.org/packages/da/88/6ef8e3318a570f981803ea83a6cc8b73702ce785b43894da1af52ab037ca/minchin.pelican.jinja_filters-1.0.1.tar.gz"
}
],
"1.0.4": [
{
"comment_text": "",
"digests": {
"md5": "0d519b594fe0a01f66e15254d68819a6",
"sha256": "71fd0a50908122f57a5707297f80562fdc2a9baed1cb1aefff135c0c0576dcfc"
},
"downloads": -1,
"filename": "minchin.pelican.jinja_filters-1.0.4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0d519b594fe0a01f66e15254d68819a6",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7843,
"upload_time": "2017-04-17T22:49:51",
"url": "https://files.pythonhosted.org/packages/6f/8c/e8bf359d6adcd553125a50d17ff1b43e0f867932a05a4569fbe4e2d240d6/minchin.pelican.jinja_filters-1.0.4-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "f03feac9d18974ff355d4fc21526dfb4",
"sha256": "253b97a3bc53734b733b9a6246a3cd5c26af06e84a1367f590f500c5d6604f30"
},
"downloads": -1,
"filename": "minchin.pelican.jinja_filters-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "f03feac9d18974ff355d4fc21526dfb4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5137,
"upload_time": "2017-04-17T22:39:57",
"url": "https://files.pythonhosted.org/packages/3a/05/9fffa5a10889cd9fb11d62ca587d0329ba352d8a28888b670d338e3105a6/minchin.pelican.jinja_filters-1.0.4.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "0d519b594fe0a01f66e15254d68819a6",
"sha256": "71fd0a50908122f57a5707297f80562fdc2a9baed1cb1aefff135c0c0576dcfc"
},
"downloads": -1,
"filename": "minchin.pelican.jinja_filters-1.0.4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0d519b594fe0a01f66e15254d68819a6",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 7843,
"upload_time": "2017-04-17T22:49:51",
"url": "https://files.pythonhosted.org/packages/6f/8c/e8bf359d6adcd553125a50d17ff1b43e0f867932a05a4569fbe4e2d240d6/minchin.pelican.jinja_filters-1.0.4-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "f03feac9d18974ff355d4fc21526dfb4",
"sha256": "253b97a3bc53734b733b9a6246a3cd5c26af06e84a1367f590f500c5d6604f30"
},
"downloads": -1,
"filename": "minchin.pelican.jinja_filters-1.0.4.tar.gz",
"has_sig": false,
"md5_digest": "f03feac9d18974ff355d4fc21526dfb4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5137,
"upload_time": "2017-04-17T22:39:57",
"url": "https://files.pythonhosted.org/packages/3a/05/9fffa5a10889cd9fb11d62ca587d0329ba352d8a28888b670d338e3105a6/minchin.pelican.jinja_filters-1.0.4.tar.gz"
}
]
}