{ "info": { "author": "Ford", "author_email": "agile.guo@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django :: 2.2", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.4" ], "description": "# django-storage-qcloud\n\nDjango storage for qcloud's COS\n\n# \u4ecb\u7ecd\n\ndjango-storage-qcloud \u662f\u4e00\u4e2a\u670d\u52a1\u4e8e\u817e\u8baf\u4e91\u5b58\u50a8\u7684 Django \u81ea\u5b9a\u4e49\u5b58\u50a8\u7cfb\u7edf\u3002\n\n# \u5b89\u88c5\n\n- \u4f7f\u7528 pip \u5b89\u88c5\n\n```\npip install django-storage-qcloud\n```\n\n\u6216\u8005\u76f4\u63a5\u4ece git \u5b89\u88c5\n\n```\npip install git+https://github.com/fordguo/django-storage-qcloud.git\n```\n\n- \u6dfb\u52a0 requirements.txt\n\n```\ngit+https://github.com/fordguo/django-storage-qcloud.git\n```\n\n- \u914d\u7f6e setting.py:\n - \u5c06\u4e0a\u4f20\u6587\u4ef6\u5b58\u653e\u5230\u4e91\n `DEFAULT_FILE_STORAGE = 'django_storage_qcloud.storage.QcloudStorage'`\n - \u5c06\u9759\u6001\u6587\u4ef6\u5b58\u653e\u5230\u4e91\n `STATICFILES_STORAGE = 'django_storage_qcloud.storage.QcloudStorage'`\n - \u66ff\u6362 SecretId\uff0c SecretKey, Region, Bucket \u7684\u503c\n ```\n QCLOUD_STORAGE_OPTION = {\n 'SecretId': 'SecretId \u662f\u5f00\u53d1\u8005\u62e5\u6709\u7684\u9879\u76ee\u8eab\u4efd\u8bc6\u522b ID\uff0c\u7528\u4ee5\u8eab\u4efd\u8ba4\u8bc1',\n 'SecretKey': 'SecretKey \u662f\u5f00\u53d1\u8005\u62e5\u6709\u7684\u9879\u76ee\u8eab\u4efd\u5bc6\u94a5\u3002',\n 'Region': '\u57df\u540d\u4e2d\u7684\u5730\u57df\u4fe1\u606f',\n 'Bucket': '\u5b58\u50a8\u6876\u662f COS \u4e2d\u7528\u4e8e\u5b58\u50a8\u6570\u636e\u7684\u5bb9\u5668\uff0c\u6bcf\u4e2a\u5bf9\u8c61\u90fd\u5b58\u50a8\u5728\u4e00\u4e2a\u5b58\u50a8\u6876\u4e2d',\n }\n ```\n - \u5176\u4ed6\u914d\u7f6e\uff1a\n - COS_URL = 'https://www.qixincha.com' # \u81ea\u5b9a\u4e49\u57df\u540d\uff0c \u4e0d\u914d\u7f6e\u5c06\u4f7f\u7528 COS \u9ed8\u8ba4\u57df\u540d\n - COS_FAST_CDN = False # \u9ed8\u8ba4\u52a0\u901f\u57df\u540d\u662f\u5426\u5f00\u542f\n\n* \u540c\u6b65\u9759\u6001\u6587\u4ef6\u5230\u4e91\n `python manage.py collectstatic`\n\n# \u8981\u6c42\n\n1. \u652f\u6301 Python3.4\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fordguo/django-storage-qcloud", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-storage-qcloud", "package_url": "https://pypi.org/project/django-storage-qcloud/", "platform": "", "project_url": "https://pypi.org/project/django-storage-qcloud/", "project_urls": { "Homepage": "https://github.com/fordguo/django-storage-qcloud" }, "release_url": "https://pypi.org/project/django-storage-qcloud/0.2.0/", "requires_dist": [ "django", "cos-python-sdk-v5" ], "requires_python": "", "summary": "Django qcloud cos storage backend", "version": "0.2.0" }, "last_serial": 5734365, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "95060406e0c2a6cc57ec79cf03fcee2a", "sha256": "2acb81b4f6a04942efecfdc06b9c617b7e1adc5a4e1c8b357e08567bc30eec19" }, "downloads": -1, "filename": "django_storage_qcloud-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "95060406e0c2a6cc57ec79cf03fcee2a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3917, "upload_time": "2019-07-04T07:45:22", "url": "https://files.pythonhosted.org/packages/2e/2c/44da06aaa75294d683692e62340928f395c90fb51fb98e8639e73334b603/django_storage_qcloud-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7d9e98709b197f258f36bf3aee715e4", "sha256": "6e8adb5dc90c9cd59467e230dca616101de28380c6af2bbda69e1de6daab3126" }, "downloads": -1, "filename": "django-storage-qcloud-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c7d9e98709b197f258f36bf3aee715e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2907, "upload_time": "2019-07-04T07:45:24", "url": "https://files.pythonhosted.org/packages/43/c3/4cd7a898d8f24bcdb5cef279d40ce0e29fd337fd60ed18dabf991aa53a38/django-storage-qcloud-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "984f5bc76c27d7e78a66cc91d73f3c15", "sha256": "2f38bfd4f652c6e4aeb83ac264cda9bb4ae1f99fcd1e6a713a9b949ee3154f03" }, "downloads": -1, "filename": "django_storage_qcloud-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "984f5bc76c27d7e78a66cc91d73f3c15", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3994, "upload_time": "2019-08-27T03:51:12", "url": "https://files.pythonhosted.org/packages/48/5b/856ea4544709e025e29223a8a8c694b8b88aff2b37df326844582f7a221e/django_storage_qcloud-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "21a2334939d8a5c605f91cd02e00a08e", "sha256": "dadc8415b664debeb4de0f30a554f5dd69ba205d0e4035d73d41ce18eff67b56" }, "downloads": -1, "filename": "django-storage-qcloud-0.1.3.tar.gz", "has_sig": false, "md5_digest": "21a2334939d8a5c605f91cd02e00a08e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3001, "upload_time": "2019-08-27T03:51:15", "url": "https://files.pythonhosted.org/packages/61/75/49741bb3c9e7892dc340faf5762e956f42a1012653f654c399ba76362e98/django-storage-qcloud-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "b1fc0e2936d1ff4c9b47a526ec7489c0", "sha256": "814124acb8e8f193e1612a3ad42e10228313f5175e7aad783aaf52c3870f20dc" }, "downloads": -1, "filename": "django_storage_qcloud-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b1fc0e2936d1ff4c9b47a526ec7489c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5067, "upload_time": "2019-08-27T04:16:59", "url": "https://files.pythonhosted.org/packages/4a/da/0baedbad8e4e94f9b9780b51513f39436beddee9df591e255221ce0c02cc/django_storage_qcloud-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4ebe3b6100f260ef472b71165002cba", "sha256": "6e97ca0ae617ea61b8138000d5c889eaaf06c9f7fa8447bfd9b1368a470408ba" }, "downloads": -1, "filename": "django-storage-qcloud-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b4ebe3b6100f260ef472b71165002cba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2995, "upload_time": "2019-08-27T04:17:02", "url": "https://files.pythonhosted.org/packages/b5/a7/bc67359c9032801e57a9595dbddb73f01d1f1f7283ec18524c7d794a6aa2/django-storage-qcloud-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b1fc0e2936d1ff4c9b47a526ec7489c0", "sha256": "814124acb8e8f193e1612a3ad42e10228313f5175e7aad783aaf52c3870f20dc" }, "downloads": -1, "filename": "django_storage_qcloud-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b1fc0e2936d1ff4c9b47a526ec7489c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5067, "upload_time": "2019-08-27T04:16:59", "url": "https://files.pythonhosted.org/packages/4a/da/0baedbad8e4e94f9b9780b51513f39436beddee9df591e255221ce0c02cc/django_storage_qcloud-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b4ebe3b6100f260ef472b71165002cba", "sha256": "6e97ca0ae617ea61b8138000d5c889eaaf06c9f7fa8447bfd9b1368a470408ba" }, "downloads": -1, "filename": "django-storage-qcloud-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b4ebe3b6100f260ef472b71165002cba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2995, "upload_time": "2019-08-27T04:17:02", "url": "https://files.pythonhosted.org/packages/b5/a7/bc67359c9032801e57a9595dbddb73f01d1f1f7283ec18524c7d794a6aa2/django-storage-qcloud-0.2.0.tar.gz" } ] }