Rollout.io - Documentation

After Creating Your Application, it is time to install python SDK.
There are two steps in the SDK install:

  1. Add the Rollout SDK to your project.
  2. Set up your Rollout key and initialize python SDK

Add the Rollout SDK To Your Project

The first step is to add Rollout python library to your project

pip install rox

Setup Rollout key and Initialize the Rollout python SDK

You will need your Rollout app key. This key is unique to your application and can be found in the Installation Instructions dialog or in the App Settings tab.

from rox.server.rox_server import Rox

cancel_event = Rox.setup('<ROLLOUT_KEY>').result()

Run your service

Now you need to build and run your application.

If you log in to the Rollout dashboard, the dashboard will recognize that the setup is complete.

That's it! Now your app is ready to use Rollout.

And with that, it's time to create a Rollout feature flag.

Python


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.