1. Install the SDK
pip install tggl
2. Create the client
from tggl import TgglClient
client = TgglClient('<Your API key>')
3. Start using feature flags
flags = client.eval_context({
'user_id': 123,
'email': 'foo@gmail.com',
})
if (flags.get('my-feature', true)):
# ...