This library gives you an easy interface to control your resources on SAKURA Cloud.
- Python 2.7 or 3.4
# Install the package
pip install saklient
# Edit your code
cd YOUR/PROJECT/ROOT
vim YOUR-CODE.py
from saklient.cloud.api import API
api = API.authorize(token, secret, zone)
# ZONE: "is1a" (Ishikari 1st zone), "is1b" (Ishikari 2nd zone), "tk1v" (Sandbox)
# "tk1v" is recommended for tests
# ...
Code examples are available here.
Copyright (C) 2014-2015 SAKURA Internet, Inc.
This library is freely redistributable under MIT license.
- Special thanks to ABEJA.INC for supporting Python 2