{ "info": { "author": "Crunchmail", "author_email": "dev@crunchmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "===========================\nMunch Swift storage backend\n===========================\n\nThis module contains Swift storage backends to be used with Munch.\n\n*******\nInstall\n*******\n\nTodo.\n\n*******************\nSwiftPrivateStorage\n*******************\n\nThis one is meant to be used as the default Django storage backend.\nIt merely wraps django-storage-swift by:\n\n* providing an extra Django setting for the container name\n* ensuring a blank URL is returned for the file (since container is private)\n* forcing auto_overwrite of files\n\nWe prefer to use a different setting for the container name rather than upstream's SWIFT_CONTAINER_NAME so that we can cleanly configure multiple Swift backends.\n\n-----\nUsage\n-----\n\n::\n\n # Add the following in Django settings\n DEFAULT_FILE_STORAGE = 'munch_storage_swift.SwiftPrivateStorage'\n DEFAULT_SWIFT_CONTAINER_NAME = 'private'\n\n SWIFT_AUTH_URL = 'https://auth.cloud.ovh.net/v2.0'\n SWIFT_AUTH_VERSION = '2.0'\n SWIFT_USERNAME = 'username'\n SWIFT_KEY = 'XXXXXXXXXX'\n SWIFT_TENANT_NAME = 'tenant_name'\n SWIFT_TENANT_ID = 'tenant_id'\n\n\n******************\nSwiftUploadStorage\n******************\n\nThis one will do all of most of the above, except returning a blank URL.\nInstead, we will return a URL using the provided base_url, regardless of the URL computed by upstream.\n\n-----\nUsage\n-----\n\n::\n\n # Add the following in Django settings\n UPLOAD_STORE_BACKEND = 'munch_storage_swift.SwiftUploadStorage'\n UPLOAD_STORE_SWIFT_CONTAINER_NAME = 'upload'\n\n SWIFT_AUTH_URL = 'https://auth.cloud.ovh.net/v2.0'\n SWIFT_AUTH_VERSION = '2.0'\n SWIFT_USERNAME = 'username'\n SWIFT_KEY = 'XXXXXXXXXX'\n SWIFT_TENANT_NAME = 'tenant_name'\n SWIFT_TENANT_ID = 'tenant_id'\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/crunchmail/munch-storageswift", "keywords": "", "license": "GNU AGPLv3", "maintainer": "", "maintainer_email": "", "name": "munch-storage-swift", "package_url": "https://pypi.org/project/munch-storage-swift/", "platform": "", "project_url": "https://pypi.org/project/munch-storage-swift/", "project_urls": { "Homepage": "https://github.com/crunchmail/munch-storageswift" }, "release_url": "https://pypi.org/project/munch-storage-swift/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Swift storage backend for munch-core.", "version": "0.1.0" }, "last_serial": 2493913, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5b1df7ad9287694e57807ef61b1f3ed1", "sha256": "8bd31f73660305c904afcba1cd7da2240c7f3bbf12d3a8854c12bdeab1b90c1d" }, "downloads": -1, "filename": "munch_storage_swift-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5b1df7ad9287694e57807ef61b1f3ed1", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6074, "upload_time": "2016-12-01T15:10:11", "url": "https://files.pythonhosted.org/packages/74/c5/c77f0865af3f1c3c9fb5e056d16b24a4284e1eee2b58f42d08c93b2a0763/munch_storage_swift-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b02552c3d6b33f3e6e813e7f185db23", "sha256": "1649e2afa7ce4007fa795be7965dc671c176b17b085308e15d1a86c6c7c34486" }, "downloads": -1, "filename": "munch-storage-swift-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0b02552c3d6b33f3e6e813e7f185db23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3946, "upload_time": "2016-12-01T15:09:28", "url": "https://files.pythonhosted.org/packages/bb/62/7eec9a8fe4ee676d2e30d987d5e53ae0abbbd9a3505119cb2f9969223526/munch-storage-swift-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5b1df7ad9287694e57807ef61b1f3ed1", "sha256": "8bd31f73660305c904afcba1cd7da2240c7f3bbf12d3a8854c12bdeab1b90c1d" }, "downloads": -1, "filename": "munch_storage_swift-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "5b1df7ad9287694e57807ef61b1f3ed1", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6074, "upload_time": "2016-12-01T15:10:11", "url": "https://files.pythonhosted.org/packages/74/c5/c77f0865af3f1c3c9fb5e056d16b24a4284e1eee2b58f42d08c93b2a0763/munch_storage_swift-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b02552c3d6b33f3e6e813e7f185db23", "sha256": "1649e2afa7ce4007fa795be7965dc671c176b17b085308e15d1a86c6c7c34486" }, "downloads": -1, "filename": "munch-storage-swift-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0b02552c3d6b33f3e6e813e7f185db23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3946, "upload_time": "2016-12-01T15:09:28", "url": "https://files.pythonhosted.org/packages/bb/62/7eec9a8fe4ee676d2e30d987d5e53ae0abbbd9a3505119cb2f9969223526/munch-storage-swift-0.1.0.tar.gz" } ] }