Skip to content

Commit de40b52

Browse files
committed
updated readme
1 parent 4456900 commit de40b52

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ This SDK is compatible with Python 3.9 and higher.
1010
## Getting started
1111
### Pip Installation
1212
```python
13-
pip install split-openfeature==1.0.0
13+
pip install split-openfeature-provider==1.0.0
1414
```
1515
### Configure it
1616
Below is a simple example that describes using the Split Provider. Please see the [OpenFeature Documentation](https://docs.openfeature.dev/docs/reference/concepts/evaluation-api) for details on how to use the OpenFeature SDK.
1717

1818
```python
1919
from openfeature import api
20-
from split_openfeature import SplitProvider
20+
from split_openfeature_provider import SplitProvider
2121
config = {
2222
'impressionsMode': 'OPTIMIZED',
2323
'impressionsRefreshRate': 30,
@@ -29,7 +29,7 @@ api.set_provider(provider)
2929
If you are more familiar with Split or want access to other initialization options, you can provide a Split `client` to the constructor. See the [Harness Split Python SDK Documentation](https://developer.harness.io/docs/feature-management-experimentation/sdks-and-infrastructure/server-side-sdks/python-sdk/) for more information.
3030
```python
3131
from openfeature import api
32-
from split_openfeature import SplitProvider
32+
from split_openfeature_provider import SplitProvider
3333
from splitio import get_factory
3434

3535
config = {
@@ -72,7 +72,7 @@ Example below shows using the provider in asyncio
7272

7373
```python
7474
from openfeature import api
75-
from split_openfeature import SplitProviderAsync
75+
from split_openfeature_provider import SplitProviderAsync
7676
config = {
7777
'impressionsMode': 'OPTIMIZED',
7878
'impressionsRefreshRate': 30,
@@ -85,7 +85,7 @@ api.set_provider(provider)
8585
Example below show how to create the Split Client externally and pass it to Provider
8686
```python
8787
from openfeature import api
88-
from split_openfeature import SplitProviderAsync
88+
from split_openfeature_provider import SplitProviderAsync
8989
from splitio import get_factory_async
9090

9191
config = {

0 commit comments

Comments
 (0)