# Split Python SDK
[![Build Status](https://api.travis-ci.com/splitio/python-client.svg?branch=master)](https://api.travis-ci.com/splitio/python-client)
## Overview
This SDK is designed to work with Split, the platform for controlled rollouts, which serves features to your users via a Split feature flag to manage your complete customer experience.
[![Twitter Follow](https://img.shields.io/twitter/follow/splitsoftware.svg?style=social&label=Follow&maxAge=1529000)](https://twitter.com/intent/follow?screen_name=splitsoftware)
## Compatibility
This SDK is compatible with **Python 3 and higher**.
## Getting started
Below is a simple example that describes the instantiation and most basic usage of our SDK:
Run `pip install splitio_client`
```python
from splitio import get_factory
from splitio.exceptions import TimeoutException
factory = get_factory('YOUR_SDK_TYPE_API_KEY', config=config)
try:
factory.block_until_ready(5) # wait up to 5 seconds
split = factory.client()
treatment = split.get_treatment('CUSTOMER_ID', 'SPLIT_NAME')
if treatment == "on":
# insert code here to show on treatment
elif treatment == "off":
# insert code here to show off treatment
else:
# insert your control treatment code here
except TimeoutException:
# Now the user can choose whether to abort the whole execution, or just keep going
# without a ready client, which if configured properly, should become ready at some point.
pass
```
Please refer to [our official docs](https://help.split.io/hc/en-us/articles/360020359652-Python-SDK) to learn about all the functionality provided by our SDK and the configuration options available for tailoring it to your current application setup.
## Submitting issues
The Split team monitors all issues submitted to this [issue tracker](https://github.com/splitio/python-client/issues). We encourage you to use this issue tracker to submit any bug reports, feedback, and feature enhancements. We'll do our best to respond in a timely manner.
## Contributing
Please see [Contributors Guide](CONTRIBUTORS-GUIDE.md) to find all you need to submit a Pull Request (PR).
## License
Licensed under the Apache License, Version 2.0. See: [Apache License](http://www.apache.org/licenses/).
## About Split
Split is the leading Feature Delivery Platform for engineering teams that want to confidently deploy features as fast as they can develop them. Split’s fine-grained management, real-time monitoring, and data-driven experimentation ensure that new features will improve the customer experience without breaking or degrading performance. Companies like Twilio, Salesforce, GoDaddy and WePay trust Split to power their feature delivery.
To learn more about Split, contact hello@split.io, or get started with feature flags for free at https://www.split.io/signup.
Split has built and maintains SDKs for:
* Java [Github](https://github.com/splitio/java-client) [Docs](https://help.split.io/hc/en-us/articles/360020405151-Java-SDK)
* Javascript [Github](https://github.com/splitio/javascript-client) [Docs](https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK)
* Node [Github](https://github.com/splitio/javascript-client) [Docs](https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK)
* .NET [Github](https://github.com/splitio/dotnet-client) [Docs](https://help.split.io/hc/en-us/articles/360020240172--NET-SDK)
* Ruby [Github](https://github.com/splitio/ruby-client) [Docs](https://help.split.io/hc/en-us/articles/360020673251-Ruby-SDK)
* PHP [Github](https://github.com/splitio/php-client) [Docs](https://help.split.io/hc/en-us/articles/360020350372-PHP-SDK)
* Python [Github](https://github.com/splitio/python-client) [Docs](https://help.split.io/hc/en-us/articles/360020359652-Python-SDK)
* GO [Github](https://github.com/splitio/go-client) [Docs](https://help.split.io/hc/en-us/articles/360020093652-Go-SDK)
* Android [Github](https://github.com/splitio/android-client) [Docs](https://help.split.io/hc/en-us/articles/360020343291-Android-SDK)
* iOS [Github](https://github.com/splitio/ios-client) [Docs](https://help.split.io/hc/en-us/articles/360020401491-iOS-SDK)
For a comprehensive list of open source projects visit our [Github page](https://github.com/splitio?utf8=%E2%9C%93&query=%20only%3Apublic%20).
**Learn more about Split:**
Visit [split.io/product](https://www.split.io/product) for an overview of Split, or visit our documentation at [help.split.io](http://help.split.io) for more detailed information.
没有合适的资源?快使用搜索试试~ 我知道了~
PyPI 官网下载 | splitio_client-9.0.0.tar.gz
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 2 浏览量
2022-01-16
11:05:08
上传
评论
收藏 91KB GZ 举报
温馨提示
共127个文件
py:119个
txt:4个
pkg-info:2个
资源来自pypi官网。 资源全名:splitio_client-9.0.0.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
PyPI 官网下载 | splitio_client-9.0.0.tar.gz (127个子文件)
setup.cfg 419B
README.md 4KB
PKG-INFO 732B
PKG-INFO 732B
test_streaming_e2e.py 60KB
test_client_e2e.py 39KB
redis.py 23KB
factory.py 18KB
redis.py 18KB
input_validator.py 17KB
client.py 16KB
inmemmory.py 15KB
test_redis_integration.py 14KB
parser.py 14KB
synchronizer.py 13KB
test_synchronizer.py 12KB
test_manager.py 10KB
mockserver.py 9KB
split.py 9KB
__init__.py 9KB
numeric.py 8KB
string.py 8KB
manager.py 8KB
impressions.py 8KB
test_status_tracker.py 7KB
splits.py 7KB
status_tracker.py 7KB
evaluator.py 7KB
cache_trait.py 6KB
sets.py 6KB
asynctask.py 6KB
notification.py 6KB
test_segments_synchronizer.py 6KB
murmur3py.py 6KB
splitsse.py 5KB
recorder.py 5KB
manager.py 5KB
client.py 5KB
workerpool.py 5KB
sse.py 4KB
telemetry.py 4KB
impressions.py 4KB
test_splitsse.py 4KB
test_splits_synchronizer.py 4KB
test_sse.py 4KB
condition.py 4KB
lru.py 4KB
base.py 4KB
config.py 4KB
test_parser.py 3KB
util.py 3KB
impression.py 3KB
manager.py 3KB
segment.py 3KB
misc.py 3KB
processor.py 3KB
__init__.py 3KB
keys.py 3KB
test_manager.py 2KB
impressions_sync.py 2KB
events.py 2KB
test_processor.py 2KB
localhost.py 2KB
test_recorder.py 2KB
test_impressions_synchronizer.py 2KB
token.py 2KB
segmentworker.py 2KB
event.py 2KB
segments.py 2KB
segments.py 2KB
listener.py 2KB
test_events_synchronizer.py 2KB
splitworker.py 2KB
splitters.py 2KB
splits.py 2KB
test_telemetry_synchronizer.py 2KB
auth.py 2KB
test_segment_worker.py 2KB
telemetry.py 2KB
setup.py 2KB
test_split_worker.py 1KB
util.py 1KB
threadutil.py 1KB
partitions.py 1KB
datatypes.py 1KB
events_sync.py 1KB
test_impressions_count_synchronizer.py 1KB
__init__.py 1KB
impressions.py 1KB
__init__.py 1KB
split_sync.py 1KB
telemetry_sync.py 1KB
segment_sync.py 1011B
backoff.py 809B
legacy.py 725B
__init__.py 698B
telemetry.py 635B
key.py 534B
__init__.py 448B
events.py 352B
共 127 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功