Python SDK

Last Updated: Dec 22, 2017

The latest version of Python SDK

See Installation.

Python SDK (19/04/2016) Version 0.4.6

Updates:

  • Fixed the bug where sts_token was not supported in some interfaces in oss_api

Download Python SDK: OSS_Python_API_20160419.zip

For the Python cmd tool instructions, see Quick installation.

Python SDK (13/04/2016) Version 0.4.5

Updates:

  • Added the interface for adding an object ACL in the osscmd

Download Python SDK: OSS_Python_API_20160413.zip

For the Python cmd tool usage instructions, see Quick installation.

Python SDK (23/02/2016) Version 0.4.4

Updates:

  • Added support for listparts and cancellation of special control characters in the osscmd, set by the encoding_type option

Download Python SDK: OSS_Python_API_20160223.zip

For the Python cmd tool usage instructions, see Quick installation.

Python SDK (20/11/2015) Version 0.4.2

Updates:

  • Added the appendfromfile interface in the osscmd to support automatically appending object content to a specified object
  • The append (append upload interface) is added in API

Download Python SDK: OSS_Python_API_20151120.zip

For the Python cmd tool usage instructions, see Quick installation.

Python SDK (11/08/2015) Version 0.4.1

Updates:

  • The osscmd supports encoded XML responses to receive ‘list object’ and ‘delete object’ commands with control characters.

Download Python SDK: OSS_Python_API_20150811.zip

For the Python cmd tool usage instructions, see Quick installation.

Python SDK (07/07/2015) Version 0.4.0

Updates:

  • Supported STS feature in the osscmd

Download Python SDK: OSS_Python_API_20150707.zip

For the Python cmd tool usage instructions, see Quick installation.

Python SDK (24/06/2015) Version 0.3.9

Updates:

  • Added the copylargefile command in osscmd to support the copy of large objects

Download Python SDK: OSS_Python_API_20150624.zip

For the Python cmd tool usage instructions, see Quick installation.

Python SDK (13/04/2015) Version 0.3.8

Updates:

  • Fixed the invalid max_part_num specified for multiupload in osscmd
  • Added MD5 verification for the part specified by upload_part in oss_api

Download Python SDK: oss_python_sdk_20150413.zip

For the Python cmd tool usage instructions, see Quick installation.

Python SDK (29/01/2015) 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.

Download Python SDK: oss_python_sdk_20150129.zip

For the Python cmd tool usage instructions, see Quick installation.

Python SDK (31/12/2014) Version 0.3.6

Updates:

  • Added the check_point feature for the osscmd uploadfromdir command, set by the —check_point option.

  • Added the —force feature for the osscmd deleteallobject command to force delete all objects.

  • Added the —thread_num option in osscmd’s multipart and uploadfromdir/downloadtodir commands, allowing users to adjust the number of threads

  • Added the object name-based Content-Type generation feature in oss_api.

  • Added the —temp_dir option for the osscmd downloadtodir command to support temporarily saving the downloaded object to the specified directory.

  • Added the —check_md5 option for osscmd, allowing MD5 verification on upload files.

Download Python SDK: oss_python_sdk_20141231.zip

For a quick start guide, see the README file in the SDK.

Python SDK (09/05/2014)

Updates:

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

Download Python SDK: oss_python_sdk_20140509.zip

Thank you! We've received your feedback.