Python SDK

Last Updated: May 27, 2016

Python SDK Documentation

Click to View

Python SDK (2015-09-09) Version 0.4.2

Updates:

  • Added the appendfromfile interface in osscmd to support automatically appending file content to a specified object
  • Added apengd (append object interface) in API

Python SDK download address: OSS_Python_API_20150909.zip

Python cmd tool instructions for use: Click to View

Python SDK (2015-08-11) Version 0.4.1

Updates:

  • osscmd supports the receipt of xml encoded responses that contain control character lists and delete objects.

Python SDK download address: OSS_Python_API_20150811.zip

Python cmd tool instructions for use: Click to View

Python SDK (2015-07-07) Version 0.4.0

Updates:

  • Supported STS function in osscmd

Python SDK download address: OSS_Python_API_20150707.zip

Python cmd tool instructions for use: Click to View

Python SDK (2015-06-24) Version 0.3.9

Updates:

  • Added copylargefile command in osscmd to support the copying of large files

Python SDK download address: OSS_Python_API_20150624.zip

Python cmd tool instructions for use: Click to View

Python SDK (2015-04-13) Version 0.3.8

Updates:

  • Fixed the invalid max_part_num specified for multiupload problem in osscmd
  • Added an md5 check for the part specified by upload_part in oss_api

Python SDK download address: oss_python_sdk_20150413.zip

Python cmd tool instructions for use: Click to View

Python SDK (2015-01-29) Version 0.3.7

Updates:

  • Added the referer and lifecycle interfaces in oss_api.
  • Added referer and lifecycle commands in osscmd.
  • Fixed invalid upload_id in osscmd.

Python SDK download address: oss_python_sdk_20150129.zip

Python cmd tool instructions for use: Click to View

Python SDK (2014-12-31) Version 0.3.6

Updates:

  • Added the check_point function for the osscmd uploadfromdir command, using the --check_point optional setting.
  • Added the --force function for the osscmd deleteallobject command, force deleting all files.
  • Added the --thread_num option in osscmd's multipart and uploadfromdir/downloadtodir commands, allowing users to adjust the number of threads
  • Added the file name-based Content-Type generation function in oss_api.
  • Added the --temp_dir option for the osscmd downloadtodir command, supporting temporarily saving the downloaded file to the specified directory.
  • Added the --check_md5 option for osscmd, allowing md5 checks on upload files.

Python SDK download address: oss_python_sdk_20141231.zip

For a Quick Start Guide, refer to the README file in the SDK

Python SDK (2014-05-09)

Updates:

  • Fixed the bug of logger initialization error in oss_util.
  • Optimized the multi_upload_file upload interface in oss_api in certain situations, reducing the number of re-uploads due to network exceptions.

Python SDK download address:oss_python_sdk_20140509.zip

Thank you! We've received your feedback.