Skip to main content

libaws is a program can implement amason web service ,such as download files from bucket and upload multipart files to bucket etc, which support resume from break point and create instance vpc subet etc from config file

Project description


how to install awskit
1.install pip
2. run command:
pip install libaws awskit
as follows:
xxxxxx$ awskit
usage: awskit [-h] [-s3] [-ec2]
optional arguments:
-h, --help show this help message and exit
s3 param groups
-s3, --s3 set the param is s3 storage group params true or false
ec2 param groups
-ec2, --ec2 set the param is ec2 group params true or false

awskit --help information

1.upload file to bucket
awskit -s3 -upload xxxxx
-file FILE_PATH, --file FILE_PATH [Required]
-bucket BUCKET, --bucket BUCKET
dest bucket to upload [Required]
-part PART_NUM, --part PART_NUM
part num of file [DEFAULT 6]
-key KEY, --key KEY dest bucket key
-ignore-bucket-file, --ignore-bucket-file
when file exist in bucket ,ignore it or not [DEFAULT False]
-force-again-upload, --force-again-upload
need to upload again when upload is exists [DEFAULT False]

2.awskit -s3 -download xxxxx
download bucket file to local computer
-bucket BUCKET, --bucket BUCKET
dest bucket to download file [Required]
-key KEY, --key KEY bucket file to download [Required]
-path PATH, --path PATH
file download path to save [Default .]
-filename FILENAME, --filename FILENAME
download file name [DEFAULT False]
-force-again-download, --force-again-download
need to download again when download is exists[DEFAULT False]

3. awskit -s3 -bucket xxxx
operation on bucket

name BUCKET, --name BUCKET
dest bucket to operate
-put-bucket-policy, --put-bucket-policy
set bucket policy
bucket policy json file

4. awskit -s3 -md5 xxxx
caculate file md5 hash value
-path FILE_PATH, --path FILE_PATH
file path to caculate md5
divide part number of file

5. awskit -ec2
create instance vpc subnet route security from config
create instance
awskit -ec2 --instance -c xxxxxxx (create and lanuch instance from config)
create vpc
awskit -ec2 --vpc -c xxxxxx (create vpc from config)
create subnet
awskit -ec2 --subnet -c (create subnet from config)
create route:
awskit -ec2 --route -c (create route from config)
create security group
awskit -ec2 -security -c (create security group from config)

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
libaws-1.1.1.tar.gz (59.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page