{
"info": {
"author": "Mikko Hellsing",
"author_email": "mikko@aino.se",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
],
"description": "django-shrink\n=============\nA js compiler & css minifier with sass compatibility\n\n\nRequirements\n------------\n* Django 1.3+\n* 2.6 <= Python < 3\n* Java for compiling and compressing\n* ``django.contrib.staticfiles`` in ``INSTALLED_APPS``\n\n\nInstallation\n------------\n::\n\n pip install django-shrink\n\n\nConfiguration\n-------------\n::\n\n INSTALLED_APPS = (\n ...\n 'django.contrib.staticfiles',\n ...\n 'shrink',\n ...\n )\n\nOptionally if you want to use `Sass`_ you need to add the compilation view to\nyour urls::\n\n # urls.py\n urlpatterns = patterns('',\n ...\n (r'', include('shrink.urls')),\n ...\n )\n\n.. note::\n The compilation view is only available when ``DEBUG = True``\n\n\nUsage\n-----\nDefine your javascripts and css files in your template as in this example::\n\n {% import shrink %}\n {% styles css/myproject-min.css %}\n css/reset.css\n css/forms.css\n css/myproject.scss\n {% endstyles %}\n {% scripts js/myproject-min.js %}\n js/jquery.js\n js/plugin.js\n js/myproject.js\n {% endscripts %}\n\nWhen ``DEBUG = True`` this will end up as::\n\n \n \n \n \n \n \n\nWhen ``DEBUG = False`` this will end up as::\n\n \n \n\nWhen deploying you want to compile your javascripts, compile your scss (`Sass`_)\nand compress the css files. django-shrink overrides the ``collectstatic``\nmanagement command and after collecting the static files it does the compiling\nand compressing. Thus you need to execute the management command\n``collectstatic`` in your deployment environment.\n\n.. note:: As of yet you need all the source css files and the destination\n minified css file to be in the same path if they ahev relative references to\n media.\n\nSettings\n--------\n\nSHRINK_TIMESTAMP\n^^^^^^^^^^^^^^^^\nControls if you want to timestamp the compressed/compiled assets.\n\n* Default: ``True``\n\nSHRINK_STORAGE\n^^^^^^^^^^^^^^\nStorage for the compressed/compiled assets.\n\n* Default: ``settings.STATICFILES_STORAGE``\n\nSHRINK_CLOSURE_COMPILER\n^^^^^^^^^^^^^^^^^^^^^^^\nPath to Google Closure Compiler jar.\n\n* Default: Google Closure Compiler jar provided.\n\nSHRINK_CLOSURE_COMPILER_COMPILATION_LEVEL\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nGoogle Closure Compiler optimization level.\n\n* Default: ``'SIMPLE_OPTIMIZATIONS'``\n\nSHRINK_YUI_COMPRESSOR\n^^^^^^^^^^^^^^^^^^^^^\nPath to YUI Compressor\n\n* Default: YUI compressor jar provided.\n\n\n.. _Sass: http://sass-lang.com/",
"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/aino/django-shrink",
"keywords": null,
"license": "BSD",
"maintainer": null,
"maintainer_email": null,
"name": "django-shrink",
"package_url": "https://pypi.org/project/django-shrink/",
"platform": "any",
"project_url": "https://pypi.org/project/django-shrink/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/aino/django-shrink"
},
"release_url": "https://pypi.org/project/django-shrink/0.0.3.3/",
"requires_dist": null,
"requires_python": null,
"summary": "js compiler & css minifier with sass compatibility",
"version": "0.0.3.3"
},
"last_serial": 4528481,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "a5df7052949a1e355a0e60f978f0776c",
"sha256": "d02e5b009dd3547c50e629415c83b2cf6c9985845fac37f5d13947e333b5f775"
},
"downloads": -1,
"filename": "django-shrink-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "a5df7052949a1e355a0e60f978f0776c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4707366,
"upload_time": "2011-04-25T05:53:03",
"url": "https://files.pythonhosted.org/packages/d6/1d/4a71b37c79f70536dde62c839c49e002220d5c60cc87c3d3fca3ec0afbdb/django-shrink-0.0.1.tar.gz"
}
],
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "981408d1092479bf699c167b78b7c676",
"sha256": "1054f6c80d701e6370a8b6cb19a5fd2ced91058e2a0bb067d46004126967bac1"
},
"downloads": -1,
"filename": "django-shrink-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "981408d1092479bf699c167b78b7c676",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4708769,
"upload_time": "2011-04-29T18:13:47",
"url": "https://files.pythonhosted.org/packages/93/0a/9e0063451acdafc1f78d11010d1cbda0706714ec3238a41dee93063cfa72/django-shrink-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "6f0042e5c0505857fab1eac92142105f",
"sha256": "10e85b5b04559ea114e8c05807a12b42799023cf93e53a8d9ed3ec4979ac61ab"
},
"downloads": -1,
"filename": "django-shrink-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "6f0042e5c0505857fab1eac92142105f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4707446,
"upload_time": "2011-04-30T01:36:08",
"url": "https://files.pythonhosted.org/packages/ae/71/0de126d4e32d2a8137505038a4cfb5dbaa618d9880fc39897aac6d5b7b05/django-shrink-0.0.3.tar.gz"
}
],
"0.0.3.1": [
{
"comment_text": "",
"digests": {
"md5": "447a732e4018f319b993fb1048f2cfae",
"sha256": "d3e93eb97cd77a1abf6449e798ae195615fab235d817f6fd969c0930c9084207"
},
"downloads": -1,
"filename": "django-shrink-0.0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "447a732e4018f319b993fb1048f2cfae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4709692,
"upload_time": "2011-05-05T14:46:01",
"url": "https://files.pythonhosted.org/packages/f5/62/d887a4ce8b804768b7fc36ffe0bc405f1bed05132febf32967972da8adc9/django-shrink-0.0.3.1.tar.gz"
}
],
"0.0.3.2": [
{
"comment_text": "",
"digests": {
"md5": "62d59c22d96fccf30dab7014ccdd6137",
"sha256": "92566df08e9bfb0a331380acb78cdbb90076a3acc0fb3f985c05e80449f0391f"
},
"downloads": -1,
"filename": "django-shrink-0.0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "62d59c22d96fccf30dab7014ccdd6137",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4709703,
"upload_time": "2011-05-20T16:06:50",
"url": "https://files.pythonhosted.org/packages/69/60/5747822ba5419909972dc36128fb768472c3f94677e4bec59705707a6c20/django-shrink-0.0.3.2.tar.gz"
}
],
"0.0.3.3": [
{
"comment_text": "",
"digests": {
"md5": "8ce2110d6ac8bbcc3dc1ae5e4461932c",
"sha256": "c6c70880ae7bb14f233a095e0cc91f5cc1e87f29da45b9ab515dd28270f2800d"
},
"downloads": -1,
"filename": "django-shrink-0.0.3.3.tar.gz",
"has_sig": false,
"md5_digest": "8ce2110d6ac8bbcc3dc1ae5e4461932c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4708666,
"upload_time": "2011-06-30T22:08:33",
"url": "https://files.pythonhosted.org/packages/6f/6b/9d9f5d409e8190db233e98cff184bc66dc1936a0ddccf5ded18bdd963a73/django-shrink-0.0.3.3.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "8ce2110d6ac8bbcc3dc1ae5e4461932c",
"sha256": "c6c70880ae7bb14f233a095e0cc91f5cc1e87f29da45b9ab515dd28270f2800d"
},
"downloads": -1,
"filename": "django-shrink-0.0.3.3.tar.gz",
"has_sig": false,
"md5_digest": "8ce2110d6ac8bbcc3dc1ae5e4461932c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4708666,
"upload_time": "2011-06-30T22:08:33",
"url": "https://files.pythonhosted.org/packages/6f/6b/9d9f5d409e8190db233e98cff184bc66dc1936a0ddccf5ded18bdd963a73/django-shrink-0.0.3.3.tar.gz"
}
]
}