{ "info": { "author": "Benjamin Wohlwend", "author_email": "piquadrat@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development" ], "description": "======================\ndjango-localdevstorage\n======================\n\n.. image:: https://travis-ci.org/piquadrat/django-localdevstorage.svg?branch=master\n :target: http://travis-ci.org/piquadrat/django-localdevstorage\n\n.. image:: https://coveralls.io/repos/piquadrat/django-localdevstorage/badge.svg?branch=master\n :target: https://coveralls.io/r/piquadrat/django-localdevstorage?branch=master\n\n.. image:: https://img.shields.io/pypi/v/django-localdevstorage.svg\n :target: https://pypi.python.org/pypi/django-localdevstorage/\n\ndjango-localdevstorage is a set of storage backends that helps during\ndevelopment. Instead of having to copy all user generated media from\nthe live site for local development, the storage backends provided by\ndjango-localdevstorage will download media files that are not available\nlocally \"on demand\".\n\nInstallation\n============\n\nSet one of the provided storage backends in your ``settings.py``. These\nare:\n\n * HTTP: ``DEFAULT_FILE_STORAGE = 'localdevstorage.http.HttpStorage'``\n * (more will follow)\n\n.. note::\n If you use `django-filer`_ 0.9 or higher, you have to make sure that\n ``localdevstorage`` is *not* used as the thumbnail storage, e.g. by\n adding this to your settings::\n\n FILER_STORAGES = {\n 'public': {\n 'thumbnails': {\n 'ENGINE': 'django.core.files.storage.FileSystemStorage',\n 'OPTIONS': {},\n 'THUMBNAIL_OPTIONS': {\n 'base_dir': 'filer_public_thumbnails',\n },\n },\n },\n }\n\n\nHTTP\n----\n\nSet the fallback domain that should be used to fetch missing files. This\nis usually the protocol (http or https) and the domain your live site::\n\n LOCALDEVSTORAGE_HTTP_FALLBACK_DOMAIN = 'http://www.example.com/'\n\n.. note::\n Earlier versions of this library used ``LOCALDEVSTORAGE_HTTP_FALLBACK_URL``.\n While this still works, it is recommended to update your settings to the\n new name. ``LOCALDEVSTORAGE_HTTP_FALLBACK_URL`` will be removed in a future\n version.\n\nIf your server is secured with HTTP basic auth, you can provide a username and\npassword::\n\n LOCALDEVSTORAGE_HTTP_USERNAME = 'foo'\n LOCALDEVSTORAGE_HTTP_PASSWORD = 'bar'\n\nSFTP\n----\n\nThere are three settings that need to be configured for the SFTP backend:\n\n * ``LOCALDEVSTORAGE_SFTP_USER``\n * ``LOCALDEVSTORAGE_SFTP_HOST``\n * ``LOCALDEVSTORAGE_SFTP_ROOT_PATH``: this should be the ``MEDIA_ROOT``\n on the remote machine in most cases.\n\n.. note::\n * The SFTP backend is much slower than the HTTP backend, which you should\n use in most cases. The SFTP backend is only really useful if your\n media files are not directly accessible through unauthenticated HTTP.\n * because the SFTP backend can't prompt for a password, make sure that\n a connection can be established through public key exchange.\n\n.. warning::\n Although we took special care not to do anything destructive on the\n remote machine, bugs in our code or in upstream libraries can always\n happen. This alone should be reason enough to use the HTTP backend in\n almost all cases, since it is, by definition, read only.\n\nCaveats\n=======\n\n * Since django-localdevstorage extends a Django storage backend\n (``FileSystemStorage`` to be precise), only code that uses Django's\n file storage abstraction works with django-localdevstorage. Code that\n bypasses Django and accesses files directly will not benefit.\n\n\n.. _django-filer: https://github.com/stefanfoulis/django-filer\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/piquadrat/django-localdevstorage", "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "django-localdevstorage", "package_url": "https://pypi.org/project/django-localdevstorage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-localdevstorage/", "project_urls": { "Homepage": "https://github.com/piquadrat/django-localdevstorage" }, "release_url": "https://pypi.org/project/django-localdevstorage/0.5/", "requires_dist": null, "requires_python": null, "summary": "A Django storage backend for local development that downloads files from the live site on the fly.", "version": "0.5" }, "last_serial": 1534603, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "08d6ea99056ddc83569616e87d245c22", "sha256": "380e79bbd0b1f2234e80218405a53bb05f17ca7d53118a07fb4a7b269fe053d5" }, "downloads": -1, "filename": "django-localdevstorage-0.1.tar.gz", "has_sig": false, "md5_digest": "08d6ea99056ddc83569616e87d245c22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3772, "upload_time": "2011-11-21T23:05:49", "url": "https://files.pythonhosted.org/packages/e1/2b/5a47b9b6aebb9eb217f8b109ddd6748b78158f075940b64a18a8ea7adcb9/django-localdevstorage-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c81aadc4487d04ca1f2f253914aeee1f", "sha256": "4856ac4437ed330c7bfece88031cfdc115124589a9ea40c12df8b82e6262adc0" }, "downloads": -1, "filename": "django-localdevstorage-0.2.tar.gz", "has_sig": false, "md5_digest": "c81aadc4487d04ca1f2f253914aeee1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5403, "upload_time": "2011-11-27T14:06:38", "url": "https://files.pythonhosted.org/packages/09/1e/ef765ef4f41291eb6f1a826f37683606fc989a1907d42191e4e2ee9b4414/django-localdevstorage-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "67719ac1e7ed12404a491b9592c4ad99", "sha256": "54348e91cf582c4e411b0aac717c75245bda639fc7dfe598ac1d92698c83fbeb" }, "downloads": -1, "filename": "django-localdevstorage-0.3.tar.gz", "has_sig": false, "md5_digest": "67719ac1e7ed12404a491b9592c4ad99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5694, "upload_time": "2012-07-20T08:07:41", "url": "https://files.pythonhosted.org/packages/43/0e/d5b951b27e41ea7970b3b8d748a130e251ea037cb2f1d416bb26bed1a968/django-localdevstorage-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "00a1cf833f1a878d55414f618f66d34d", "sha256": "5d68a30c62e53393477891a624c35f269b8cdd7633ce22640b387c677ffd32fd" }, "downloads": -1, "filename": "django-localdevstorage-0.3.1.tar.gz", "has_sig": false, "md5_digest": "00a1cf833f1a878d55414f618f66d34d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5930, "upload_time": "2012-11-15T16:15:13", "url": "https://files.pythonhosted.org/packages/08/dd/208c50945b40bd328659d3d86eb63f76ff2b35c3e0e7c11d7026f93bac25/django-localdevstorage-0.3.1.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "8e7169c7e4e803d36a3f1c25ed3374be", "sha256": "a25fc77c518125aa5f8cb0cb258e8d7d2a54d92cc06dbc1353238e99650de82c" }, "downloads": -1, "filename": "django-localdevstorage-0.4.tar.gz", "has_sig": false, "md5_digest": "8e7169c7e4e803d36a3f1c25ed3374be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6023, "upload_time": "2013-12-05T19:31:52", "url": "https://files.pythonhosted.org/packages/e5/73/4908bce71cb36ee8e21d505658cfe33866deaae8a9620ce61d9401796b9b/django-localdevstorage-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "97da3687ec1b02ab2cbe8afad0671ec8", "sha256": "181939624a9dca244b0a72837a84baa1c4045ba47f3cd56632c21eb87298498d" }, "downloads": -1, "filename": "django_localdevstorage-0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "97da3687ec1b02ab2cbe8afad0671ec8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7741, "upload_time": "2015-05-05T19:42:53", "url": "https://files.pythonhosted.org/packages/9b/bf/ee557b34c561647b8c43f5e0fc574ec18b2bce42c0db04beadc918be7c71/django_localdevstorage-0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6efd773929303e60d6bfb8d548bbef98", "sha256": "db1b2719dff305b91a117c9391887c5c391600acba6f2e41ecea5efee47d8e76" }, "downloads": -1, "filename": "django-localdevstorage-0.5.tar.gz", "has_sig": false, "md5_digest": "6efd773929303e60d6bfb8d548bbef98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7274, "upload_time": "2015-05-05T19:42:50", "url": "https://files.pythonhosted.org/packages/92/71/1c12dff431c46d2142fb917fcad68d50e86e8a7a2629788904af7a4fe5fe/django-localdevstorage-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97da3687ec1b02ab2cbe8afad0671ec8", "sha256": "181939624a9dca244b0a72837a84baa1c4045ba47f3cd56632c21eb87298498d" }, "downloads": -1, "filename": "django_localdevstorage-0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "97da3687ec1b02ab2cbe8afad0671ec8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7741, "upload_time": "2015-05-05T19:42:53", "url": "https://files.pythonhosted.org/packages/9b/bf/ee557b34c561647b8c43f5e0fc574ec18b2bce42c0db04beadc918be7c71/django_localdevstorage-0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6efd773929303e60d6bfb8d548bbef98", "sha256": "db1b2719dff305b91a117c9391887c5c391600acba6f2e41ecea5efee47d8e76" }, "downloads": -1, "filename": "django-localdevstorage-0.5.tar.gz", "has_sig": false, "md5_digest": "6efd773929303e60d6bfb8d548bbef98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7274, "upload_time": "2015-05-05T19:42:50", "url": "https://files.pythonhosted.org/packages/92/71/1c12dff431c46d2142fb917fcad68d50e86e8a7a2629788904af7a4fe5fe/django-localdevstorage-0.5.tar.gz" } ] }