{ "info": { "author": "pinkong", "author_email": "alain.swun@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "A Simple OSS SDK Integration. Include Aliyun, Qiniu, Qcloud, Maybe more\n\nVery Easy for use!\n\n from sun_oss import get_aliyun_bucket, get_qiniu_bucket, get_qcloud_bucket\n\n # aliyun\n access_key_id = os.getenv('ALI_OSS_ACCESS_KEY_ID', '')\n access_key_secret = os.getenv('ALI_OSS_ACCESS_KEY_SECRET', '')\n endpoint = os.getenv('ALI_OSS_ENDPOINT', '')\n bucket_name = os.getenv('BUCKET_NAME', '')\n ali_bucket = get_aliyun_bucket(access_key_id, access_key_secret, bucket_name, endpoint)\n\n #qiniu\n access_key_id = os.getenv('QINIU_OSS_ACCESS_KEY_ID', '')\n access_key_secret = os.getenv('QINIU_OSS_ACCESS_KEY_SECRET', '')\n bucket_name = os.getenv('BUCKET_NAME', '')\n qiniu_bucket = get_qiniu_bucket(access_key_id, access_key_secret, bucket_name)\n\n\n access_key_id = os.getenv('TENTCENT_OSS_ACCESS_KEY_ID', '')\n access_key_secret = os.getenv('TENTCENT_OSS_ACCESS_KEY_SECRET', '')\n region = os.getenv('TENTCENT_REGION', '')\n qcloud_bucket = get_qcloud_bucket(access_key_id, access_key_secret, region, bucket_name)\n\n #upload\n ret = ali_bucket.put_object(upload_file)\n\ngithub: https://github.com/PINKONG/sun-oss-python", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/PINKONG/sun-oss-python", "keywords": "OSS Integration Aliyun Qiniu Qcloud", "license": "PSF", "maintainer": "", "maintainer_email": "", "name": "sun-oss", "package_url": "https://pypi.org/project/sun-oss/", "platform": "", "project_url": "https://pypi.org/project/sun-oss/", "project_urls": { "Homepage": "https://github.com/PINKONG/sun-oss-python" }, "release_url": "https://pypi.org/project/sun-oss/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "A Simple OSS SDK Integration. Include Aliyun, Qiniu, Qcloud, Maybe more", "version": "0.1.3" }, "last_serial": 3906462, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "f73187f1bf74db86455cab5fcb90be77", "sha256": "c3f42c257082ffdf39dc6a9ec3da0a6e6d6a69a0329c49cfa241a5a3350621e6" }, "downloads": -1, "filename": "sun_oss-0.1.3.tar.gz", "has_sig": false, "md5_digest": "f73187f1bf74db86455cab5fcb90be77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6418, "upload_time": "2018-05-28T18:16:53", "url": "https://files.pythonhosted.org/packages/9c/59/69e67f8c646e5cf50e8ec87f250a40807a46c4d5ade6e298a7f206e9b8c1/sun_oss-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f73187f1bf74db86455cab5fcb90be77", "sha256": "c3f42c257082ffdf39dc6a9ec3da0a6e6d6a69a0329c49cfa241a5a3350621e6" }, "downloads": -1, "filename": "sun_oss-0.1.3.tar.gz", "has_sig": false, "md5_digest": "f73187f1bf74db86455cab5fcb90be77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6418, "upload_time": "2018-05-28T18:16:53", "url": "https://files.pythonhosted.org/packages/9c/59/69e67f8c646e5cf50e8ec87f250a40807a46c4d5ade6e298a7f206e9b8c1/sun_oss-0.1.3.tar.gz" } ] }