Install
This Tools can help you to upload your file to QiNiu cloud storage. You can install this easily,
python setup.py install
Also can install it via pip:
pip install qnupload
Help
And you can get help message by run:
qnupload -h
Configuration
Add some basic configuration items in
/etc/qnupload/qnupload.conf
Choose a bucket as default:
default_bucket_name = Bucket1
Set the access key and secret key, can get them from Qiniu Cloud
access_key = your_access_key
secret_key = your_secret_key
Set domain for each bucket, the domain can get form the bucket setting on your Qiniu account
[Bucket1]
domain = domain1
[Bucket2]
domain = domain2
Basic operation
After set the bucket, access key and secret key, then you can upload file with qnupload:
qnupload File_Path
If you have several buckets in the configuration, but you want upload the file to a non default bucket, you can use -b:
qnupload File_path -b another_bucket
You can choose several files or directories one time:
qnupload File1 File2 Dir1 Dir2 -b another_bucket
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file qnupload-1.2.4.tar.gz.
File metadata
- Download URL: qnupload-1.2.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b5b3b96fa7274ffa574c243494fbefa1ccdfd881f093e8b4b18c75931a56ec5
|
|
| MD5 |
1591ba59e3860affcca7e05b937dc24f
|
|
| BLAKE2b-256 |
8392809138de084dbc805a88236029986b574d0ca3b83b0430230a275deea431
|