{ "info": { "author": "APS Lite team", "author_email": "aps@odin.com", "bugtrack_url": null, "classifiers": [], "description": "django-gocs\n===========================\n[![Build Status](https://travis-ci.org/ingrammicro/django-gocs.svg?branch=master)](https://travis-ci.org/ingrammicro/django-gocs)\n\nGoogle Cloud Storage file backend for Django\n\nIf you run your projects on Google's appengine and you are using the django framework you might need this\nfile backend since there is no way to upload files, images, etc on appengine.\nAlso downloadable files should use the memory to fully load before being stored in the bucket, because they\ncan't use temporary files in gae.\n\nPrerequisites\n-------------\n\nYou need to have an appengine project. This will not work as a standalone solution for non appengine django projects, since there is no authentication mechanism with the google cloud storage implemented.\n\n\n### If you want to copy the files into your repository.\n\nYou need to install the GCS client library from\nhttps://developers.google.com/appengine/docs/python/googlecloudstorageclient/download.\n\nJust run `pip install GoogleAppEngineCloudStorageClient -t `, or optionally, unzip the file and copy the `src/cloudstorage` folder into your project directory.\n\nInstallation\n-------------\n\n```\npip install django-gocs\n```\n\nOr Just copy the google folder in your project directory\n\nConfiguration\n-------------\n\nOn your django settings.py file you need to add the following settings\n\n GOOGLE_CLOUD_STORAGE_BUCKET = '/your_bucket_name' # the name of the bucket you have created from the google cloud storage console\n GOOGLE_CLOUD_STORAGE_BUCKET_TEMP = '/your_temp_bucket_name' # bucket for temporary files\n GOOGLE_CLOUD_STORAGE_URL = 'http://storage.googleapis.com/bucket' #whatever the ulr for accessing your cloud storgage bucket\n GOOGLE_CLOUD_STORAGE_DEFAULT_CACHE_CONTROL = 'public, max-age: 7200' # default cache control headers for your files\n\nAnd finally declare the file storage backend you will use on your settings.py file\n\n DEFAULT_FILE_STORAGE = 'django_gocs.GoogleCloudStorage'\n\n FILE_UPLOAD_HANDLERS = (\n 'django.core.files.uploadhandler.MemoryFileUploadHandler',\n 'django_gocs.GoogleBlobstoreTemporaryFileUploadHandler',\n )", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ingrammicro/django-gocs", "keywords": "django,storage,gcs,google cloud storage", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-gocs", "package_url": "https://pypi.org/project/django-gocs/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-gocs/", "project_urls": { "Homepage": "https://github.com/ingrammicro/django-gocs" }, "release_url": "https://pypi.org/project/django-gocs/0.0.5/", "requires_dist": null, "requires_python": "", "summary": "Django file storage backend and temporary file handler for Google Cloud Storage", "version": "0.0.5" }, "last_serial": 2913294, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c620621df0b729319dfa5ba3d6401f2f", "sha256": "092f6c86f0a478db91985f8ef3dd2ecb49a679d950e0007ff08be6587ebe13c7" }, "downloads": -1, "filename": "django-gocs-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c620621df0b729319dfa5ba3d6401f2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4127, "upload_time": "2016-06-27T11:00:03", "url": "https://files.pythonhosted.org/packages/5f/48/de269bd6565e37711e256c570c89b9ac5edf1a6b43778fa858548d74b311/django-gocs-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "80159ef2fabdbcc6947949efbb64b9f8", "sha256": "c7a4d4310012723b22d9b66e375652c8216e374e6b6cf57455af3b95bf02247d" }, "downloads": -1, "filename": "django-gocs-0.0.2.tar.gz", "has_sig": false, "md5_digest": "80159ef2fabdbcc6947949efbb64b9f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4149, "upload_time": "2016-07-01T15:55:53", "url": "https://files.pythonhosted.org/packages/7e/cc/384505c8e7cc8882881e5659a19ef2dc96803edfb54d304217cc3c8ed054/django-gocs-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "35f3d8026d4abb639652016272d09900", "sha256": "1e9047f186f24266ffe1087c12e769c497e38db5153dea090678eaa74d7e8da2" }, "downloads": -1, "filename": "django-gocs-0.0.3.tar.gz", "has_sig": false, "md5_digest": "35f3d8026d4abb639652016272d09900", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4144, "upload_time": "2016-07-04T16:02:54", "url": "https://files.pythonhosted.org/packages/8f/56/34dd314feb42fae5441c7b2eb6d59286aa10a90c3ced815651cfd9e7936b/django-gocs-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "fb22855500dbd863f67d14ba9fff514b", "sha256": "57ca78e7f320559282288d40902655d5e929efb4358db6a78fd8a814f3e04693" }, "downloads": -1, "filename": "django-gocs-0.0.4.tar.gz", "has_sig": false, "md5_digest": "fb22855500dbd863f67d14ba9fff514b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4171, "upload_time": "2017-05-31T12:08:15", "url": "https://files.pythonhosted.org/packages/f9/dd/584ed01a3a879f31844889fcf22be0ecc1d11d5d61125db1650405dc4fe0/django-gocs-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "543e3fcaaefa13b3107f71d740e48015", "sha256": "15f84beb80b85a026524eeec5c1b4e6a1c5020400e9576045ce4e4094f842dbc" }, "downloads": -1, "filename": "django-gocs-0.0.5.tar.gz", "has_sig": false, "md5_digest": "543e3fcaaefa13b3107f71d740e48015", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4168, "upload_time": "2017-05-31T12:11:16", "url": "https://files.pythonhosted.org/packages/55/e3/15338436c1f36bb1c3460721bf6be17b05cb3865f9bff91153c8d32fe9f4/django-gocs-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "543e3fcaaefa13b3107f71d740e48015", "sha256": "15f84beb80b85a026524eeec5c1b4e6a1c5020400e9576045ce4e4094f842dbc" }, "downloads": -1, "filename": "django-gocs-0.0.5.tar.gz", "has_sig": false, "md5_digest": "543e3fcaaefa13b3107f71d740e48015", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4168, "upload_time": "2017-05-31T12:11:16", "url": "https://files.pythonhosted.org/packages/55/e3/15338436c1f36bb1c3460721bf6be17b05cb3865f9bff91153c8d32fe9f4/django-gocs-0.0.5.tar.gz" } ] }