Skip to main content

CLI tool for Qiniu

Project description

qiniu-cli

Qiniu CLI tool.

Install

pip install qiniu-cli

Usage

$ qiniu_cli upload requirements.txt
http://tmp-images.qiniudn.com/requirements.txt

$ qiniu_cli upload --save-dir "comics/2014/" *.png *.txt
http://tmp-images.qiniudn.com/comics/2014/2014-09-25-EveryFall.zh-cn.png
http://tmp-images.qiniudn.com/comics/2014/3014.painting.png
http://tmp-images.qiniudn.com/comics/2014/requirements.txt


$ qiniu_cli --help
Usage: qiniu_cli [OPTIONS] COMMAND [ARGS]...

Options:
  -c, --config FILENAME  Config file(default: config.json).
  --bucket TEXT          Bucket name.
  -v, --verbose          Enables verbose mode.
  --version              Show the version and exit.
  --help                 Show this message and exit.

Commands:
  search  Search file.
  upload  Upload file.

$ qiniu_cli upload --help
Usage: qiniu_cli upload [OPTIONS] FILES...

Options:
  --save-name TEXT  File save name.
  --save-dir TEXT   Upload to directory.
  --auto-name       Auto name file by sh1 hex digest with timestamp.
  --help            Show this message and exit.

Changelog

0.1.0 (2014-10-12)

  • Initial Release

Project details


Download files

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

Source Distribution

qiniu-cli-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

qiniu_cli-0.1.0-py2.py3-none-any.whl (7.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file qiniu-cli-0.1.0.tar.gz.

File metadata

  • Download URL: qiniu-cli-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for qiniu-cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 91a74328f1e11c2d9ec11c960396ea64670e65bcf8d235adf3d94399c652e955
MD5 3f040c4dfb7ab9a105f7fd74e62f7570
BLAKE2b-256 1ebcfd821bdfcea50095420bf95b3a86b5b919adee226e34d9c73a4c6028f3f0

See more details on using hashes here.

File details

Details for the file qiniu_cli-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for qiniu_cli-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 97d47ca95fe70e045e4606964db26e177b5cdb01b7abaae03d2238da4a59876a
MD5 98c55b46847d29824cf1e18f2f48c357
BLAKE2b-256 7a3bd7f125f653efccd1d9afab4906e7a321fcb419052f73caf495e70e4da69b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page