{
"info": {
"author": "Martin Mahner",
"author_email": "martin@mahner.org",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6"
],
"description": ".. image:: https://travis-ci.org/bartTC/django-staticinline.svg?branch=master\n :target: https://travis-ci.org/bartTC/django-staticinline\n\n.. image:: https://api.codacy.com/project/badge/Coverage/8e64345e99ea49888dc1bd9303c89a35\n :target: https://www.codacy.com/app/bartTC/django-staticinline?utm_source=github.com&utm_medium=referral&utm_content=bartTC/django-staticinline&utm_campaign=Badge_Coverage\n\n.. image:: https://api.codacy.com/project/badge/Grade/8e64345e99ea49888dc1bd9303c89a35\n :target: https://www.codacy.com/app/bartTC/django-staticinline?utm_source=github.com&utm_medium=referral&utm_content=bartTC/django-staticinline&utm_campaign=Badge_Grade\n\n.. note:: \ud83d\udcd6 You find the full documentation on\n https://docs.elephant.house/django-staticinline/.\n\n===================\ndjango-staticinline\n===================\n\nWorks similar to Django's ``static`` templatetag, but this one includes\nthe file directly in the template, rather than a link to it.\n\nYou can additionally post-process the file content using custom 'encoder'.\n\nQuickstart\n==========\n\n1. Put the StaticInlineAppConfig along your apps.\n\n .. code:: python\n\n INSTALLED_APPS = [\n # ...\n 'staticinline.apps.StaticInlineAppConfig',\n ]\n\n2. Load the template tag and pass a filename as you'd do with a ``static``\n template tag. You can also post-process the file content. In the example\n below we encode the content of the ``mykey.pem`` file with base64. Several\n encoders are already built-in, see the `Encoder docs`_.\n\n .. code:: django\n\n {% load staticinline %}\n\n \n My base64 encoded Key: {% staticinline \"mykey.pem\" encode=\"base64\" cache=True %}\n\n\n3. Enjoy the result:\n\n .. code:: html\n\n \n My base64 encoded Key: LS0tIFN1cGVyIFByaXZhdGUgS2V5IC0tLQo=\n\n.. _Encoder docs: https://docs.elephant.house/django-staticinline/encoder.html\n\n=========\nChangelog\n=========\n\nv1.3 (2018-08-15)\n=================\n\n- Added ``cache`` and ``cache_timeout`` templatetag arguments to store rendered\n values in cache.\n- Added ``data_response`` AppConfig method to globally override the template\n tag response.\n\nv1.2 (2018-08-14)\n=================\n\n- Added support for Django 2.1 and Python 3.7.\n- Added proper documentation.\n- Added ``sri`` (Subresource Integrity) encoder to generate a sha256 for a\n given file.\n\nv1.1 (2018-08-09)\n=================\n\n- Added support for custom data encoders to modify file content on the fly.\n- Added ``data`` and ``base64`` encoders, both convert data into base64.\n\nv1.0 (2018-04-29)\n=================\n\n- \ud83c\udf1f Initial release.\n\n\n",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/bartTC/django-staticinline",
"keywords": "django,staticfiles,inline,performance",
"license": "MIT",
"maintainer": "",
"maintainer_email": "",
"name": "django-staticinline",
"package_url": "https://pypi.org/project/django-staticinline/",
"platform": "",
"project_url": "https://pypi.org/project/django-staticinline/",
"project_urls": {
"Homepage": "https://github.com/bartTC/django-staticinline"
},
"release_url": "https://pypi.org/project/django-staticinline/1.3.1/",
"requires_dist": [
"django (>=1.8)",
"pytest-cov; extra == 'test'",
"pytest-django; extra == 'test'",
"mock; (python_version < \"3\") and extra == 'test'"
],
"requires_python": "",
"summary": "Django template tag to load static files inline with your template.",
"version": "1.3.1"
},
"last_serial": 4173878,
"releases": {
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "2e54225e66564dd1de29baf3f7be1d32",
"sha256": "70230430d6d2905cfb0c78779a6a91b637bd8d3278eb8ef5dbadfe65caa44392"
},
"downloads": -1,
"filename": "django_staticinline-1.0.1-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "2e54225e66564dd1de29baf3f7be1d32",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 5063,
"upload_time": "2018-04-29T15:46:13",
"url": "https://files.pythonhosted.org/packages/f9/16/a39fc2489a187840bffe074354d9ecaa244a9b7d2ed4dfcea32b5dde0d17/django_staticinline-1.0.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "7ef09182a7775a59457c255b24c3b1d2",
"sha256": "d7502b2183b2c9ea841271721d4d619d24c58015e8e6d18bd1d804d4232d2f86"
},
"downloads": -1,
"filename": "django-staticinline-1.0.1.tar.gz",
"has_sig": true,
"md5_digest": "7ef09182a7775a59457c255b24c3b1d2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7205,
"upload_time": "2018-04-29T15:46:14",
"url": "https://files.pythonhosted.org/packages/a9/c3/0190a878ac0ff353a459fd66f548dcbd6c533a9c21d9346b076083d94622/django-staticinline-1.0.1.tar.gz"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "fc1319009c8846e39e494dee29d5f07e",
"sha256": "07bf275135b0a38a00b05e5270f853f3a797795265f441933206ccd8ce7196db"
},
"downloads": -1,
"filename": "django_staticinline-1.0.2-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "fc1319009c8846e39e494dee29d5f07e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 5991,
"upload_time": "2018-04-29T15:50:35",
"url": "https://files.pythonhosted.org/packages/60/45/ea919b428a6659010e0f68523ddae0db20fcc85685740faa9a88cc44d4d5/django_staticinline-1.0.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "c0e10725ebb4cec185c6dd8a839ea2f0",
"sha256": "bb491c144ce5073d96f25e71a97780691ca7b1e046a468ca43a97d5298caf8a3"
},
"downloads": -1,
"filename": "django-staticinline-1.0.2.tar.gz",
"has_sig": true,
"md5_digest": "c0e10725ebb4cec185c6dd8a839ea2f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7775,
"upload_time": "2018-04-29T15:50:37",
"url": "https://files.pythonhosted.org/packages/dd/9f/5530d18bd5669c5e7632e00bd53c5218c1e8b135ef39b6634d824b89da68/django-staticinline-1.0.2.tar.gz"
}
],
"1.1": [
{
"comment_text": "",
"digests": {
"md5": "ec39410d1d1ebedb12a4daa2a82db062",
"sha256": "60c07b2066c53df868373e30198ab10d8572077d4eb268337a77036f705bdb4f"
},
"downloads": -1,
"filename": "django_staticinline-1.1-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "ec39410d1d1ebedb12a4daa2a82db062",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 12073,
"upload_time": "2018-08-09T09:10:05",
"url": "https://files.pythonhosted.org/packages/81/dd/1a2f1fece95d3ee87b424def629b5c0179ecb2ffc006b4291dc6f1a1749b/django_staticinline-1.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "8b9ca98f9e812502a37877c2c93975fa",
"sha256": "8844be14d1d91dbc96cc36fcdc4355f00dee79eb84530994607fff8cfef0e48f"
},
"downloads": -1,
"filename": "django-staticinline-1.1.tar.gz",
"has_sig": true,
"md5_digest": "8b9ca98f9e812502a37877c2c93975fa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11249,
"upload_time": "2018-08-09T09:10:07",
"url": "https://files.pythonhosted.org/packages/6e/e9/925ba1c8bd2232bcec15721051d6f01075876e72b07e75a8a68bd0011d6b/django-staticinline-1.1.tar.gz"
}
],
"1.2": [
{
"comment_text": "",
"digests": {
"md5": "5f8000999f5f2cc3d6746a23baff7242",
"sha256": "a4800578f5984acfcd7b6f191c26468fb7783f013567e6bb1b7c733520c191ea"
},
"downloads": -1,
"filename": "django_staticinline-1.2-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "5f8000999f5f2cc3d6746a23baff7242",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 20614,
"upload_time": "2018-08-14T11:53:32",
"url": "https://files.pythonhosted.org/packages/ae/fb/7bbd8cec19af454a88e5f44188929ae4fe0fef7c9971b12b88fe7b2acf91/django_staticinline-1.2-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "3c0e8e84f7ae8ec6f7d17035b0020cae",
"sha256": "cdefc2c81bba1de87e6b355ff988ad7f03b3dce8429db06ee098ed435a5b56a3"
},
"downloads": -1,
"filename": "django-staticinline-1.2.tar.gz",
"has_sig": true,
"md5_digest": "3c0e8e84f7ae8ec6f7d17035b0020cae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18296,
"upload_time": "2018-08-14T11:53:34",
"url": "https://files.pythonhosted.org/packages/49/a1/5eb74efff7e06731b997854b4d2967bac7e0279ebc038065eebaa2da6a75/django-staticinline-1.2.tar.gz"
}
],
"1.3": [
{
"comment_text": "",
"digests": {
"md5": "8bf37849befed2acbeb594c0f207e10e",
"sha256": "efa589cfcc4d9d7df96b95c15303592f9b00bade7c187cb5793e9fbd8e544f4b"
},
"downloads": -1,
"filename": "django_staticinline-1.3-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "8bf37849befed2acbeb594c0f207e10e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 23735,
"upload_time": "2018-08-15T17:14:59",
"url": "https://files.pythonhosted.org/packages/76/54/8dd00fc2ed84b16a8930f22c61c28c099346c41b42f4c6ef5c75aa0efab2/django_staticinline-1.3-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "2dab946c508c55aca48079b9d783e69c",
"sha256": "a12ab5be047d26f408305989e640f26ab964a3f33fcb7840a84da98ed13aa2d3"
},
"downloads": -1,
"filename": "django-staticinline-1.3.tar.gz",
"has_sig": true,
"md5_digest": "2dab946c508c55aca48079b9d783e69c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 20814,
"upload_time": "2018-08-15T17:15:03",
"url": "https://files.pythonhosted.org/packages/4e/b6/e4fced4b763bc93b1a3303125bb9303ba245e20434bf64431217610dd4f6/django-staticinline-1.3.tar.gz"
}
],
"1.3.1": [
{
"comment_text": "",
"digests": {
"md5": "6a3df4799fb2649ef108afa416d57f0e",
"sha256": "e5499b5bcb53a2dcc62d500a149c597487e275d28aa4e1a5469fd7c1604f7a75"
},
"downloads": -1,
"filename": "django_staticinline-1.3.1-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "6a3df4799fb2649ef108afa416d57f0e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 23767,
"upload_time": "2018-08-15T17:33:22",
"url": "https://files.pythonhosted.org/packages/f2/2f/4004777632a9876f0d66867794924aacc04ca4c0ba9b0c75810dc66e7abe/django_staticinline-1.3.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "e81ec82e77df207e954e76ef0171d7ba",
"sha256": "4d936460e8173d3b131379e3af419c42eb3f956efba34ec00eb7972e904d45ce"
},
"downloads": -1,
"filename": "django-staticinline-1.3.1.tar.gz",
"has_sig": true,
"md5_digest": "e81ec82e77df207e954e76ef0171d7ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 20843,
"upload_time": "2018-08-15T17:33:26",
"url": "https://files.pythonhosted.org/packages/8c/de/086b082026126fe6a70a91fc26a3074dfec37ec0fda7cd72e766f44982c6/django-staticinline-1.3.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "6a3df4799fb2649ef108afa416d57f0e",
"sha256": "e5499b5bcb53a2dcc62d500a149c597487e275d28aa4e1a5469fd7c1604f7a75"
},
"downloads": -1,
"filename": "django_staticinline-1.3.1-py2.py3-none-any.whl",
"has_sig": true,
"md5_digest": "6a3df4799fb2649ef108afa416d57f0e",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 23767,
"upload_time": "2018-08-15T17:33:22",
"url": "https://files.pythonhosted.org/packages/f2/2f/4004777632a9876f0d66867794924aacc04ca4c0ba9b0c75810dc66e7abe/django_staticinline-1.3.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "e81ec82e77df207e954e76ef0171d7ba",
"sha256": "4d936460e8173d3b131379e3af419c42eb3f956efba34ec00eb7972e904d45ce"
},
"downloads": -1,
"filename": "django-staticinline-1.3.1.tar.gz",
"has_sig": true,
"md5_digest": "e81ec82e77df207e954e76ef0171d7ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 20843,
"upload_time": "2018-08-15T17:33:26",
"url": "https://files.pythonhosted.org/packages/8c/de/086b082026126fe6a70a91fc26a3074dfec37ec0fda7cd72e766f44982c6/django-staticinline-1.3.1.tar.gz"
}
]
}