腾讯云对象存储库,支持命令行
Project description
腾讯云对象存储库,支持命令行
配置
使用官方的 命令行工具CLI 配置secret_id, scret_key
代码中使用
参照源码,比较简单, 调用方式:
client = CosClient(secret_id, secret_key, region, appid, bucket) # 简单上传 client.upload(local_path, cos_path) # 查询文件属性 client.stat(cos_path)
命令行
格式:
qcos 本地文件夹 appid bucket cos文件夹路径
比如:
qcos ./build 10000 image-bucket /
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qcos-0.0.2.tar.gz
(3.6 kB
view hashes)