{ "info": { "author": "dreipol GmbH", "author_email": "dev@dreipol.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "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": "====================\ndjango-collectfaster\n====================\n\n|pypi| |status|\n\n.. |pypi| image:: https://badge.fury.io/py/django-collectfaster.png\n :target: https://badge.fury.io/py/django-collectfaster\n :alt: Latest Version\n\n.. |status| image:: https://img.shields.io/pypi/dm/django-collectfaster.svg\n :target: https://pypi.python.org/pypi/django-collectfaster\n :alt: Downloads\n\nThis package extends Django's ``collectstatic`` management command with a ``--faster`` argument that activates the\nparallel file copying. The speed improvement is especially helpful for remote storage backends like S3.\n\nQuickstart\n----------\n\nInstall django-collectfaster::\n\n pip install django-collectfaster\n\nConfigure installed apps in your ``settings.py`` and make sure ``collectfaster`` is listed before ``django.contrib.staticfiles``::\n\n INSTALLED_APPS = (\n ...,\n 'collectfaster',\n 'django.contrib.staticfiles',\n 'storages',\n ...,\n )\n\nIf you are using S3 with ``django-storages`` you probably already have this configured in your ``settings.py``::\n\n AWS_S3_HOST = 's3-eu-west-1.amazonaws.com'\n AWS_STORAGE_BUCKET_NAME = ''\n\nSet the storage backends for your static and media files in the ``settings.py``::\n\n STATICFILES_STORAGE = 'collectfaster.backends.boto.S3StaticStorage'\n DEFAULT_FILE_STORAGE = 'collectfaster.backends.boto.S3MediaStorage'\n # STATICFILES_STORAGE = 'collectfaster.backends.boto3.S3Boto3StaticStorage'\n # DEFAULT_FILE_STORAGE = 'collectfaster.backends.boto3.S3Boto3MediaStorage'\n\n\nYou should split your static and media files on your S3 in different folders and configure it in the ``settings.py``::\n\n STATICFILES_LOCATION = 'static'\n MEDIAFILES_LOCATION = 'media'\n\n\nSet the ``STATIC_URL`` at least on your production settings::\n\n STATIC_URL = 'https://%s/%s/%s/' % (AWS_S3_HOST, AWS_STORAGE_BUCKET_NAME, STATICFILES_LOCATION)\n\n\nUsage\n-----\n\nCollect your static files parallel::\n\n python manage.py collectstatic --faster\n\n\nSet the amount of workers to 30::\n\n python manage.py collectstatic --faster --workers=30\n\n\nSpawn workers using ``multiprocessing`` instead of ``gevent``::\n\n python manage.py collectstatic --faster --use-multiprocessing\n\n\nCredits\n-------\n\nTools used in rendering this package:\n\n* Cookiecutter_\n* `cookiecutter-djangopackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n\n\n\n\nHistory\n-------\n\n0.1.2 (2017-04-07)\n++++++++++++++++++\n* Add support for boto3 and multiprocessing instead of gevent\n* Moved backends to a submodule (please change your setting variables `STATICFILES_STORAGE` and `DEFAULT_FILE_STORAGE`)\n\n0.1.1 (2016-08-08)\n++++++++++++++++++\n\n* Rather use `django-storages` than the deprecated fork from `django-storages-redux`.\n\n\n0.1.0 (2016-05-19)\n++++++++++++++++++\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dreipol/django-collectfaster", "keywords": "django-collectfaster", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-collectfaster", "package_url": "https://pypi.org/project/django-collectfaster/", "platform": "", "project_url": "https://pypi.org/project/django-collectfaster/", "project_urls": { "Homepage": "https://github.com/dreipol/django-collectfaster" }, "release_url": "https://pypi.org/project/django-collectfaster/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Parallel file copying for Django's collectstatic.", "version": "0.1.3" }, "last_serial": 3230504, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7ab7bd1597b0fa18bbae8d191170779e", "sha256": "e67d21e61deebfd65f3f3eba55bfe20ed11c05d1db9bb2c3ab7c5eb4960e16ea" }, "downloads": -1, "filename": "django-collectfaster-0.1.0.zip", "has_sig": false, "md5_digest": "7ab7bd1597b0fa18bbae8d191170779e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12330, "upload_time": "2016-05-19T14:40:54", "url": "https://files.pythonhosted.org/packages/3b/a3/81caab6e6deae2842a27f6a5cbf762fdb136576390bc8826acb603ecc8c0/django-collectfaster-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0cfa0d603dbe24fa86a7612138747304", "sha256": "26f5a670226dbfdcec2222ac3ec0ed5b8e029ac8f44e56b83aeed69827a1ebde" }, "downloads": -1, "filename": "django-collectfaster-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0cfa0d603dbe24fa86a7612138747304", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6675, "upload_time": "2016-08-08T15:24:11", "url": "https://files.pythonhosted.org/packages/bd/11/b8df30c004f503f1bf7ba1d0a4c2f6f7f0f2a8a40a16b12ed663efd42dd5/django-collectfaster-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "86881f3a1e5f2efd246ad3d069cbda84", "sha256": "2cc253e1dec8e7eac1549d6d4f9fe85bf4db4d22785399b5cf007679e07daddd" }, "downloads": -1, "filename": "django-collectfaster-0.1.2.tar.gz", "has_sig": false, "md5_digest": "86881f3a1e5f2efd246ad3d069cbda84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7211, "upload_time": "2017-04-07T14:46:20", "url": "https://files.pythonhosted.org/packages/d0/93/9114553820f273d23212ffaa26550357608ce5b4a86944cd519b36528d05/django-collectfaster-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "030816d9dec542d24ea3655ab1bd7227", "sha256": "92fe44b383f6204591db87c3748c58eed5ea0df782d55773a97045bd10c224b7" }, "downloads": -1, "filename": "django-collectfaster-0.1.3.tar.gz", "has_sig": false, "md5_digest": "030816d9dec542d24ea3655ab1bd7227", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7696, "upload_time": "2017-10-06T13:48:19", "url": "https://files.pythonhosted.org/packages/91/0a/2d225f48b98c42604b9f839a0d6affafce077e6ab59f20304277638bc91d/django-collectfaster-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "030816d9dec542d24ea3655ab1bd7227", "sha256": "92fe44b383f6204591db87c3748c58eed5ea0df782d55773a97045bd10c224b7" }, "downloads": -1, "filename": "django-collectfaster-0.1.3.tar.gz", "has_sig": false, "md5_digest": "030816d9dec542d24ea3655ab1bd7227", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7696, "upload_time": "2017-10-06T13:48:19", "url": "https://files.pythonhosted.org/packages/91/0a/2d225f48b98c42604b9f839a0d6affafce077e6ab59f20304277638bc91d/django-collectfaster-0.1.3.tar.gz" } ] }