{ "info": { "author": "mkaykisiz", "author_email": "m.kaykisiz@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Django S3 File Browser\n============\n\n\n:Info: S3 File Browser For Django.\n:Author: Mehmet KAYKISIZ (http://github.com/mkaykisiz)\n\n\nDjango S3 File Browser is a simple web-based object browser for cloud-based blob datastores. Just add as an application\nto a Django project, add some settings, and you'll be able to browse cloud containers and implied subdirectories, as\nwell as view / download objects.\n\n\nBe sure to check out the following project resources:\n\n* `GitHub page`_.\n\n.. _`GitHub page`: https://github.com/mkaykisiz/DjangoS3Browser\n.. toc\n\n\nQuick Start\n-----------\nFirst, download library:\n\n.. code-block:: sh\n\n\n pip install djangoS3Browser\n\n\nThen, make the necessary configurations for the `Boto 3 `_ library:\n\n.. code-block:: python\n\n\n AWS_ACCESS_KEY_ID = \"AWS_ACCESS_KEY_ID\"\n AWS_SECRET_ACCESS_KEY = \"AWS_SECRET_ACCESS_KEY\"\n AWS_STORAGE_BUCKET_NAME = \"AWS_STORAGE_BUCKET_NAME\"\n AWS_AUTO_CREATE_BUCKET = True\n AWS_QUERYSTRING_AUTH = False\n\n\n # AWS cache settings, don't change unless you know what you're doing:\n AWS_EXPIRY = 60 * 60 * 24 * 7\n\n # Revert the following and use str after the above-mentioned bug is fixed in\n # either django-storage-redux or boto\n control = 'max-age=%d, s-maxage=%d, must-revalidate' % (AWS_EXPIRY, AWS_EXPIRY)\n AWS_HEADERS = {\n 'Cache-Control': bytes(control, encoding='latin-1')\n }\n\n\nNext, do to Django S3 File Browser configuration:\n\n.. code-block:: python\n\n\n S3_BROWSER_SETTINGS = \"djangoS3Browser\"\n\n\nNext, add to TEMPLATES['OPTIONS'] in settings.py:\n\n.. code-block:: python\n\n\n 'libraries': {\n 's3-load': 'djangoS3Browser.templatetags.s3-tags',\n },\n\n\nThen, add to urls.py:\n\n.. code-block:: python\n\n\n url(r'^' + settings.S3_BROWSER_SETTINGS + '/', include('djangoS3Browser.s3_browser.urls')),\n\n\nThen, add this to the top of the page you want to add:\n\n.. code-block:: python\n\n\n {% load s3-tags %}\n\n\nFinally, add this to the content of the page you want to add:\n\n.. code-block:: python\n\n\n {% load_s3 %}\n\n\n\n.. image:: https://user-images.githubusercontent.com/5642113/30087574-225e38a8-92aa-11e7-8bf4-4da7a5048812.png", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mkaykisiz/DjangoS3Browser", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "DjangoS3Browser", "package_url": "https://pypi.org/project/DjangoS3Browser/", "platform": "", "project_url": "https://pypi.org/project/DjangoS3Browser/", "project_urls": { "Homepage": "https://github.com/mkaykisiz/DjangoS3Browser" }, "release_url": "https://pypi.org/project/DjangoS3Browser/0.2/", "requires_dist": null, "requires_python": "", "summary": "S3 browser for django", "version": "0.2" }, "last_serial": 3155532, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "19aa03c8fa8444f856d624acd0ce17b5", "sha256": "6c407a8a6a214c9988e1238c63334fae901c433e0ee9c5cc1441d191449f7b20" }, "downloads": -1, "filename": "DjangoS3Browser-0.2.tar.gz", "has_sig": false, "md5_digest": "19aa03c8fa8444f856d624acd0ce17b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 392907, "upload_time": "2017-09-06T22:44:27", "url": "https://files.pythonhosted.org/packages/6a/44/abf1c9c083e05d827cd2404b94d2097a64d8a7f068ef7e14901da318c380/DjangoS3Browser-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "19aa03c8fa8444f856d624acd0ce17b5", "sha256": "6c407a8a6a214c9988e1238c63334fae901c433e0ee9c5cc1441d191449f7b20" }, "downloads": -1, "filename": "DjangoS3Browser-0.2.tar.gz", "has_sig": false, "md5_digest": "19aa03c8fa8444f856d624acd0ce17b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 392907, "upload_time": "2017-09-06T22:44:27", "url": "https://files.pythonhosted.org/packages/6a/44/abf1c9c083e05d827cd2404b94d2097a64d8a7f068ef7e14901da318c380/DjangoS3Browser-0.2.tar.gz" } ] }