{ "info": { "author": "Ulysses V", "author_email": "uvilela [at] inoa.com.br", "bugtrack_url": null, "classifiers": [], "description": "django-cached-s3-storage\n========================\n\nThis package contains a CachedS3BotoStorage to be used with django-compressor and S3.\n\nCode copied from https://github.com/jezdez/django_compressor/issues/100.\n\nExample settings:\n::\n\n\tDEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'\n\tSTATICFILES_STORAGE = 'cached_s3_storage.CachedS3BotoStorage'\n\tCOMPRESS_STORAGE = STATICFILES_STORAGE\n\n\tAWS_ACCESS_KEY_ID = os.environ['AWS_ACCESS_KEY_ID']\n\tAWS_SECRET_ACCESS_KEY = os.environ['AWS_SECRET_ACCESS_KEY']\n\tAWS_STORAGE_BUCKET_NAME = os.environ['AWS_STORAGE_BUCKET_NAME']\n\tAWS_PRELOAD_METADATA = True\n\tAWS_IS_GZIPPED = True\n\tAWS_QUERYSTRING_AUTH = False\n\n\tfrom django.utils.http import http_date\n\tfrom time import time\n\tmax_age = 31536000\n\tAWS_HEADERS = {\n\t\t'x-amz-acl': 'public-read',\n\t\t'Expires': http_date(time() + max_age),\n\t\t'Cache-Control': 'public, max-age=' + str(max_age)\n\t}", "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/ulyssesv/django-cached-s3-storage", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-cached-s3-storage", "package_url": "https://pypi.org/project/django-cached-s3-storage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-cached-s3-storage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ulyssesv/django-cached-s3-storage" }, "release_url": "https://pypi.org/project/django-cached-s3-storage/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Django storage backend to be used with S3.", "version": "0.2.1" }, "last_serial": 789233, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6a4ed80c38025a181f293ade012e5053", "sha256": "fe367c02db29cf978c9b7888496b66b97770da639f6078b949552d8596e022d3" }, "downloads": -1, "filename": "django-cached-s3-storage-0.1.macosx-10.5-intel.exe", "has_sig": false, "md5_digest": "6a4ed80c38025a181f293ade012e5053", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 63438, "upload_time": "2012-12-12T04:42:38", "url": "https://files.pythonhosted.org/packages/4b/07/f4ffed922d2223a5b52c46f26dc1fb8edb1a22ede2d1fb150889bb8c37e7/django-cached-s3-storage-0.1.macosx-10.5-intel.exe" }, { "comment_text": "", "digests": { "md5": "f001fded4a712a9d7f29e5efcc37b5ce", "sha256": "03c9c2208dbcc6550605f5424513ac35d7132f6cf9bfafb42110182501219f9f" }, "downloads": -1, "filename": "django-cached-s3-storage-0.1.tar.gz", "has_sig": false, "md5_digest": "f001fded4a712a9d7f29e5efcc37b5ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1766, "upload_time": "2012-12-12T04:42:35", "url": "https://files.pythonhosted.org/packages/a2/cb/e24e31899e347714a0c9dc5ea2f830bd5f596d0456fec94a0a45b5cb7ff9/django-cached-s3-storage-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b4dc685c65835576eead9c8d05e8393e", "sha256": "318cfe3e43a76551443232d597ffa0cfba0f0de1bac88dfa8121492e0dc778e4" }, "downloads": -1, "filename": "django-cached-s3-storage-0.2.macosx-10.5-intel.exe", "has_sig": false, "md5_digest": "b4dc685c65835576eead9c8d05e8393e", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64788, "upload_time": "2012-12-12T05:00:49", "url": "https://files.pythonhosted.org/packages/4b/43/9b3eefd1a0be0294d6b9c8d25fe301ba51b8761908575ee574d13026720e/django-cached-s3-storage-0.2.macosx-10.5-intel.exe" }, { "comment_text": "", "digests": { "md5": "3dbbf347efd84d5a9546f0b0b415528b", "sha256": "b4916685ac27b53fb2f78740cb3ca0fed002d6923ce7f1bd8295972d422dd6c3" }, "downloads": -1, "filename": "django-cached-s3-storage-0.2.tar.gz", "has_sig": false, "md5_digest": "3dbbf347efd84d5a9546f0b0b415528b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1859, "upload_time": "2012-12-12T05:00:44", "url": "https://files.pythonhosted.org/packages/69/92/436a80db0930dea7aef50c61b743d213bb7411395b1efef5cc0db5d8c54c/django-cached-s3-storage-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "dee10be662726a4781a0ba97d9c131de", "sha256": "6a4bca5464449dcd64a69bf828fe3a889df712da94122fb2c1c7bffdbb78f4cd" }, "downloads": -1, "filename": "django-cached-s3-storage-0.2.1.macosx-10.8-intel.exe", "has_sig": false, "md5_digest": "dee10be662726a4781a0ba97d9c131de", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64799, "upload_time": "2013-05-05T23:34:07", "url": "https://files.pythonhosted.org/packages/55/e0/3dd5c13deef2802bc100d4181525656559d4a3945adad12e1517e6e6805f/django-cached-s3-storage-0.2.1.macosx-10.8-intel.exe" }, { "comment_text": "", "digests": { "md5": "097dab1d0e777a97c4cafbef0192635c", "sha256": "7cb841a5975c40cbfc411b76a1b50d1a352366b72c52bf2685cde50db0cf9d23" }, "downloads": -1, "filename": "django-cached-s3-storage-0.2.1.tar.gz", "has_sig": false, "md5_digest": "097dab1d0e777a97c4cafbef0192635c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1871, "upload_time": "2013-05-05T23:33:55", "url": "https://files.pythonhosted.org/packages/e6/57/9beac67c4b1d49c33fa0e6684ad1fa31edb3f0e20fb9b4d580233033c81b/django-cached-s3-storage-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dee10be662726a4781a0ba97d9c131de", "sha256": "6a4bca5464449dcd64a69bf828fe3a889df712da94122fb2c1c7bffdbb78f4cd" }, "downloads": -1, "filename": "django-cached-s3-storage-0.2.1.macosx-10.8-intel.exe", "has_sig": false, "md5_digest": "dee10be662726a4781a0ba97d9c131de", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64799, "upload_time": "2013-05-05T23:34:07", "url": "https://files.pythonhosted.org/packages/55/e0/3dd5c13deef2802bc100d4181525656559d4a3945adad12e1517e6e6805f/django-cached-s3-storage-0.2.1.macosx-10.8-intel.exe" }, { "comment_text": "", "digests": { "md5": "097dab1d0e777a97c4cafbef0192635c", "sha256": "7cb841a5975c40cbfc411b76a1b50d1a352366b72c52bf2685cde50db0cf9d23" }, "downloads": -1, "filename": "django-cached-s3-storage-0.2.1.tar.gz", "has_sig": false, "md5_digest": "097dab1d0e777a97c4cafbef0192635c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1871, "upload_time": "2013-05-05T23:33:55", "url": "https://files.pythonhosted.org/packages/e6/57/9beac67c4b1d49c33fa0e6684ad1fa31edb3f0e20fb9b4d580233033c81b/django-cached-s3-storage-0.2.1.tar.gz" } ] }