文件名称:python-sdk:秦牛Python资源(云)存储SDK
文件大小:78KB
文件格式:ZIP
更新时间:2024-05-27 17:11:15
Python
Qiniu Cloud SDK for Python 安装 通过pip $ pip install qiniu 运行环境 Qiniu SDK版本 Python 版本 7.x 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9 6.x 2.7 使用方法 上传 import qiniu ... q = qiniu.Auth(access_key, secret_key) key = 'hello' data = 'hello qiniu!' token = q.upload_token(bucket_name) ret, info = qiniu.put_data(token, key, data) if ret is not None: print('All is OK') else:
【文件预览】:
python-sdk-master
----.scrutinizer.yml(205B)
----examples()
--------upload_with_qvmzone.py(1004B)
--------change_type.py(344B)
--------change_bucket_permission.py(462B)
--------domain_relevant.py(1KB)
--------prefetch_to_cdn.py(522B)
--------delete.py(470B)
--------change_status.py(663B)
--------move_to.py(581B)
--------.qiniu_pythonsdk_hostscache.json(222B)
--------cdn_log.py(447B)
--------download.py(522B)
--------fetch.py(369B)
--------delete_afte_days.py(490B)
--------copy_to.py(552B)
--------list_buckets.py(642B)
--------upload.py(796B)
--------timestamp_url.py(604B)
--------batch.py(614B)
--------mk_bucket.py(350B)
--------pfop_watermark.py(1KB)
--------restorear.py(323B)
--------fops.py(909B)
--------change_mime.py(375B)
--------create_bucket.py(448B)
--------sms_test.py(2KB)
--------bucket_domain.py(449B)
--------batch_move.py(666B)
--------refresh_dirs.py(424B)
--------stat.py(464B)
--------batch_delete.py(422B)
--------batch_restoreAr.py(720B)
--------batch_rename.py(542B)
--------batch_stat.py(449B)
--------kirk()
--------refresh_urls.py(440B)
--------prefetch_to_bucket.py(443B)
--------upload_pfops.py(1KB)
--------update_cdn_sslcert.py(747B)
--------upload_callback.py(636B)
--------cdn_flux.py(535B)
--------upload_with_zone.py(1KB)
--------upload_token.py(661B)
--------list.py(512B)
--------pfop_vframe.py(897B)
--------bucket_info.py(334B)
--------get_domaininfo.py(374B)
--------rtc_server.py(5KB)
--------batch_copy.py(666B)
--------cdn_bandwidth.py(518B)
----CONTRIBUTING.md(1KB)
----test_qiniu.py(16KB)
----.travis.yml(971B)
----LICENSE(1KB)
----setup.py(2KB)
----README.md(3KB)
----manual_test_kirk.py(11KB)
----.gitignore(434B)
----qiniu()
--------compat.py(1KB)
--------services()
--------config.py(2KB)
--------utils.py(4KB)
--------http.py(9KB)
--------main.py(809B)
--------__init__.py(1KB)
--------zone.py(88B)
--------auth.py(9KB)
--------region.py(5KB)
----CHANGELOG.md(4KB)