This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

simple command for cos

Project Description

依赖

操作系统为linux, python版本为2.7,系统安装有pip(可通过yum/apt来安装,包名为python-pip)。

安装

执行如下命令安装:

yum install python-devel libxml2-devel
pip install coscmd -U --nocache

使用方法

工具的使用前需要配置!你可以直接编辑~/.cos.conf,也可以通过如下命令来配置。

配置参数

coscmd config -a youraccessid -s yoursecretkey -u appid -b bucketname -r cn-south

请将参数替换为您的真实id/key/appid/bucket和园区代号。园区为cn-south或者cn-north。

上传文件

使用如下命令上传文件:

coscmd upload ~/t.cpp t1/t.cpp
2017-01-18 16:55:32,139 - Init multipart upload ok
2017-01-18 16:55:32,184 - upload /home/liuchang/t.cpp with  0.00%
2017-01-18 16:55:32,184 - upload /home/liuchang/t.cpp with 100.00%
2017-01-18 16:55:32,185 - multipart upload ok
2017-01-18 16:55:32,226 - complete multipart upload ok

如果上传成功,命令行会返回0

Release History

Release History

This version
History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
coscmd-0.1.9.linux-x86_64.tar.gz (12.4 kB) Copy SHA256 Checksum SHA256 Source Jun 15, 2017
coscmd-0.1.9-py2-none-any.whl (8.8 kB) Copy SHA256 Checksum SHA256 py2 Wheel Jun 15, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting