Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 802 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 802 Bytes

Baiji

AliCloud SDK for python

Build StatusVersion

Usage

First install baiji package: pip install baiji-sdk

Sample usage:

from baiji.sdk import AliCloudConnect

acc = AliCloudConnect()
clt = acc.client()
all_instances = clt.instances.all() 
## you can add the option "json_format=True" to display the result on json format, using the same syntaxe:
all_instances = clt.instances.all(json_format=True)

print("There are currently {} instances in this account.".format(len(all_instances)))

All the functions of the available resources on baiji are on resource.py