1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/docs/sdks/python.md
egilconr 1d9065aff1
chore: Improve our user documentation (#733)
Co-authored-by: Christopher Kolstad <chriswk@fastmail.com>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Eco C <egilconr@gmail.com>
2021-02-25 16:01:36 +01:00

19 lines
437 B
Markdown

---
id: python_sdk
title: Python SDK
---
```java
from UnleashClient import UnleashClient
client = UnleashClient(
url="<API url>",
app_name="my-python-app",
custom_headers={'Authorization': '<Client secret>'})
client.initialize_client()
client.is_enabled("unleash.beta.variants")
```
Read more at [github.com/Unleash/unleash-client-python](https://github.com/Unleash/unleash-client-python)