Welcome to the the DevCycle Python SDK, initially generated via the DevCycle Bucketing API.
Python 2.7 and 3.4+
pip install devcycle-python-server-sdk(you may need to run pip with root permission: sudo pip install devcycle-python-server-sdk)
Then import the package:
importdevcycle_python_sdkfrom __future__ importprint_functionfromdevcycle_python_sdkimportConfiguration, DVCOptions, DVCClient, UserData, Eventfromdevcycle_python_sdk.restimportApiExceptionconfiguration=Configuration()
configuration.api_key['Authorization'] ='your_server_key_here'options=DVCOptions(enableEdgeDB=True)
# create an instance of the API classdvc=DVCClient(configuration, options)
user=UserData(
user_id='test',
email='example@example.ca',
country='CA'
)To find usage documentation, visit our docs.
To run the example app against the local version of the API for testing and development, run:
pip install .from the top level of the repo (same level as setup.py). Then run the example app as normal. Reinstall every time a change is made.