Skip to content

Repository files navigation

DevCycle Python Server SDK

Welcome to the the DevCycle Python SDK, initially generated via the DevCycle Bucketing API.

Requirements.

Python 2.7 and 3.4+

Installation

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_sdk

Getting Started

from __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'
)

Usage

To find usage documentation, visit our docs.

Development

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages