DCE plugin SDK for Python.
- Python 2.7.*
$ pip install dce-plugin-sdk
$ pip install https://github.com/DaoCloud/dce-plugin-sdk-py/archive/master.zip
You can use this SDK to save your plugin's config. config should not bigger than 1MB.
from dce_plugin import PluginSDK
sdk = PluginSDK()
config = {
'key': 'Hello, World'
}
saved = sdk.set_config(config)
retrived = sdk.get_config()
dce-plugin-sdk-py is licensed under the MIT License - see the LICENSE file for details