wingify-fme-python-sdk 1.66.0__tar.gz → 1.70.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/MANIFEST.in +1 -0
- {wingify_fme_python_sdk-1.66.0/wingify_fme_python_sdk.egg-info → wingify_fme_python_sdk-1.70.0}/PKG-INFO +1 -1
- wingify_fme_python_sdk-1.70.0/sdk_brand +1 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/setup.py +20 -4
- wingify_fme_python_sdk-1.70.0/vwo/models/batch_event_data.py +19 -0
- wingify_fme_python_sdk-1.70.0/vwo/models/user/context_vwo_model.py +21 -0
- wingify_fme_python_sdk-1.70.0/vwo/models/user/get_flag.py +19 -0
- wingify_fme_python_sdk-1.70.0/vwo/models/vwo_options_model.py +21 -0
- wingify_fme_python_sdk-1.70.0/vwo/packages/logger/enums/log_level_enum.py +19 -0
- wingify_fme_python_sdk-1.70.0/vwo/packages/storage/connector.py +19 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/api/get_flag_api.py +40 -2
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/constants/Constants.py +3 -1
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/campaign/variation_model.py +6 -1
- wingify_fme_python_sdk-1.70.0/wingify/packages/segmentation_evaluator/evaluators/__init__.py +13 -0
- wingify_fme_python_sdk-1.70.0/wingify/packages/segmentation_evaluator/utils/__init__.py +13 -0
- wingify_fme_python_sdk-1.70.0/wingify/packages/storage/__init__.py +13 -0
- wingify_fme_python_sdk-1.70.0/wingify/resources/__init__.py +13 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/resources/info-message.json +3 -2
- wingify_fme_python_sdk-1.70.0/wingify/services/__init__.py +13 -0
- wingify_fme_python_sdk-1.70.0/wingify/utils/__init__.py +13 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/decision_util.py +250 -23
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/model_utils.py +1 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/rule_evaluation_util.py +18 -8
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0/wingify_fme_python_sdk.egg-info}/PKG-INFO +1 -1
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify_fme_python_sdk.egg-info/SOURCES.txt +13 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/LICENSE +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/NOTICE +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/README.md +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/requirements-dev.txt +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/requirements.txt +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/setup.cfg +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/vwo/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/api → wingify_fme_python_sdk-1.70.0/vwo/models}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/constants → wingify_fme_python_sdk-1.70.0/vwo/models/user}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/decorators → wingify_fme_python_sdk-1.70.0/vwo/packages}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/enums → wingify_fme_python_sdk-1.70.0/vwo/packages/logger}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/models → wingify_fme_python_sdk-1.70.0/vwo/packages/logger/enums}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/models/campaign → wingify_fme_python_sdk-1.70.0/vwo/packages/storage}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/vwo/vwo.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/vwo/vwo_builder.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/vwo/vwo_client.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/models/schemas → wingify_fme_python_sdk-1.70.0/wingify/api}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/api/set_attribute_api.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/api/track_api.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/models/settings → wingify_fme_python_sdk-1.70.0/wingify/constants}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/constants/sampled_debug_error_template_keys.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/models/storage → wingify_fme_python_sdk-1.70.0/wingify/decorators}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/decorators/storage_decorator.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/models/user → wingify_fme_python_sdk-1.70.0/wingify/enums}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/enums/api_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/enums/campaign_type_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/enums/debug_category_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/enums/event_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/enums/headers_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/enums/hooks_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/enums/status_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/enums/storage_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/enums/url_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/Alias.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/AliasSetResponse.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages → wingify_fme_python_sdk-1.70.0/wingify/models}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/batch_event_data.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/decision_maker → wingify_fme_python_sdk-1.70.0/wingify/models/campaign}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/campaign/campaign_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/campaign/feature_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/campaign/holdout_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/campaign/impact_campaign_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/campaign/metric_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/campaign/rule_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/campaign/variable_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/gateway_service_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/logger → wingify_fme_python_sdk-1.70.0/wingify/models/schemas}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/campaign_group_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/campaign_metric_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/campaign_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/campaign_variation_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/empty_object_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/feature_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/group_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/holdout_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/rule_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/settings_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/schemas/variable_schema.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/logger/core → wingify_fme_python_sdk-1.70.0/wingify/models/settings}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/settings/internal_event_sampling_settings_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/settings/settings_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/logger/enums → wingify_fme_python_sdk-1.70.0/wingify/models/storage}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/storage/storage_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/logger/transports → wingify_fme_python_sdk-1.70.0/wingify/models/user}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/user/context_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/user/context_vwo_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/user/get_flag.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/vwo_options_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/models/wingify_options_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/network_layer → wingify_fme_python_sdk-1.70.0/wingify/packages}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/network_layer/client → wingify_fme_python_sdk-1.70.0/wingify/packages/decision_maker}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/decision_maker/decision_maker.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/network_layer/handlers → wingify_fme_python_sdk-1.70.0/wingify/packages/logger}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/network_layer/manager → wingify_fme_python_sdk-1.70.0/wingify/packages/logger/core}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/logger/core/log_manager.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/logger/core/log_transport_manager.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/network_layer/models → wingify_fme_python_sdk-1.70.0/wingify/packages/logger/enums}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/logger/enums/log_level_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/logger/enums/log_level_number_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/logger/log_message_builder.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/logger/logger.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/segmentation_evaluator → wingify_fme_python_sdk-1.70.0/wingify/packages/logger/transports}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/logger/transports/console_transport.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/segmentation_evaluator/core → wingify_fme_python_sdk-1.70.0/wingify/packages/network_layer}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/segmentation_evaluator/enums → wingify_fme_python_sdk-1.70.0/wingify/packages/network_layer/client}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/network_layer/client/network_client.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/segmentation_evaluator/evaluators → wingify_fme_python_sdk-1.70.0/wingify/packages/network_layer/handlers}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/network_layer/handlers/request_handler.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/segmentation_evaluator/utils → wingify_fme_python_sdk-1.70.0/wingify/packages/network_layer/manager}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/network_layer/manager/network_manager.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/packages/storage → wingify_fme_python_sdk-1.70.0/wingify/packages/network_layer/models}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/network_layer/models/global_request_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/network_layer/models/request_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/network_layer/models/response_model.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/resources → wingify_fme_python_sdk-1.70.0/wingify/packages/segmentation_evaluator}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/services → wingify_fme_python_sdk-1.70.0/wingify/packages/segmentation_evaluator/core}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/segmentation_evaluator/core/segmentation_manager.py +0 -0
- {wingify_fme_python_sdk-1.66.0/wingify/utils → wingify_fme_python_sdk-1.70.0/wingify/packages/segmentation_evaluator/enums}/__init__.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/segmentation_evaluator/enums/segment_operand_regex_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/segmentation_evaluator/enums/segment_operand_value_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/segmentation_evaluator/enums/segment_operator_value_enum.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/segmentation_evaluator/evaluators/segment_evaluator.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/segmentation_evaluator/evaluators/segment_operand_evaluator.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/segmentation_evaluator/utils/segment_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/segmentation_evaluator/utils/web_testing_segment_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/storage/connector.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/packages/storage/storage.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/resources/debug-messages.json +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/resources/error-messages.json +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/resources/trace-messages.json +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/resources/warn-messages.json +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/services/batch_event_queue.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/services/campaign_decision_service.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/services/hooks_manager.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/services/internal_events_sampling_service.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/services/settings_manager.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/services/storage_service.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/services/url_service.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/aliasing_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/brand_context.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/brand_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/campaign_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/data_type_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/debugger_service_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/event_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/function_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/gateway_service_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/holdout_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/impression_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/internal_events_sampling_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/log_message_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/meg_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/network_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/settings_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/usage_stats_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/utils/uuid_util.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/vwo_client.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/wingify.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/wingify_builder.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/wingify_client.py +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify_fme_python_sdk.egg-info/dependency_links.txt +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify_fme_python_sdk.egg-info/requires.txt +0 -0
- {wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify_fme_python_sdk.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
wingify
|
|
@@ -30,9 +30,10 @@ with open(os.path.join(current_directory, "requirements.txt")) as f:
|
|
|
30
30
|
with open("README.md", "r") as f:
|
|
31
31
|
long_description = f.read()
|
|
32
32
|
|
|
33
|
-
#
|
|
34
|
-
SDK_BRAND
|
|
35
|
-
|
|
33
|
+
# Package name is selected at build time, not runtime:
|
|
34
|
+
# 1. SDK_BRAND env var (CI / local build)
|
|
35
|
+
# 2. sdk_brand file shipped inside each sdist (pip rebuilds from source)
|
|
36
|
+
# 3. default "vwo"
|
|
36
37
|
_BRAND_METADATA = {
|
|
37
38
|
"vwo": {
|
|
38
39
|
"name": "vwo-fme-python-sdk",
|
|
@@ -46,6 +47,21 @@ _BRAND_METADATA = {
|
|
|
46
47
|
},
|
|
47
48
|
}
|
|
48
49
|
|
|
50
|
+
|
|
51
|
+
def _resolve_sdk_brand():
|
|
52
|
+
env_brand = os.environ.get("SDK_BRAND")
|
|
53
|
+
if env_brand:
|
|
54
|
+
return env_brand
|
|
55
|
+
marker_path = os.path.join(current_directory, "sdk_brand")
|
|
56
|
+
if os.path.isfile(marker_path):
|
|
57
|
+
with open(marker_path) as marker:
|
|
58
|
+
marker_brand = marker.read().strip()
|
|
59
|
+
if marker_brand:
|
|
60
|
+
return marker_brand
|
|
61
|
+
return "vwo"
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
SDK_BRAND = _resolve_sdk_brand()
|
|
49
65
|
_brand = _BRAND_METADATA.get(SDK_BRAND, _BRAND_METADATA["vwo"])
|
|
50
66
|
|
|
51
67
|
_all_packages = find_packages(exclude=["tests"])
|
|
@@ -143,7 +159,7 @@ class PostDevelopCommand(develop):
|
|
|
143
159
|
|
|
144
160
|
setup(
|
|
145
161
|
name=_brand["name"],
|
|
146
|
-
version="1.
|
|
162
|
+
version="1.70.0",
|
|
147
163
|
description=_brand["description"],
|
|
148
164
|
long_description=long_description,
|
|
149
165
|
long_description_content_type="text/markdown",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Legacy VWO facade — alias over wingify.models.batch_event_data."""
|
|
16
|
+
|
|
17
|
+
from wingify.models.batch_event_data import BatchEventData
|
|
18
|
+
|
|
19
|
+
__all__ = ["BatchEventData"]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Legacy VWO facade — alias over wingify.models.user.context_vwo_model."""
|
|
16
|
+
|
|
17
|
+
from wingify.models.user.context_vwo_model import ContextVWOModel
|
|
18
|
+
|
|
19
|
+
VWOContext = ContextVWOModel
|
|
20
|
+
|
|
21
|
+
__all__ = ["ContextVWOModel", "VWOContext"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Legacy VWO facade — alias over wingify.models.user.get_flag."""
|
|
16
|
+
|
|
17
|
+
from wingify.models.user.get_flag import GetFlag
|
|
18
|
+
|
|
19
|
+
__all__ = ["GetFlag"]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Legacy VWO options facade — alias over WingifyOptionsModel."""
|
|
16
|
+
|
|
17
|
+
from wingify.models.wingify_options_model import WingifyOptionsModel
|
|
18
|
+
|
|
19
|
+
VWOOptionsModel = WingifyOptionsModel
|
|
20
|
+
|
|
21
|
+
__all__ = ["VWOOptionsModel"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Legacy VWO facade — alias over wingify.packages.logger.enums.log_level_enum."""
|
|
16
|
+
|
|
17
|
+
from wingify.packages.logger.enums.log_level_enum import LogLevelEnum
|
|
18
|
+
|
|
19
|
+
__all__ = ["LogLevelEnum"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
"""Legacy VWO facade — alias over wingify.packages.storage.connector."""
|
|
16
|
+
|
|
17
|
+
from wingify.packages.storage.connector import StorageConnector
|
|
18
|
+
|
|
19
|
+
__all__ = ["StorageConnector"]
|
|
@@ -360,6 +360,8 @@ class GetFlagApi:
|
|
|
360
360
|
feature, CampaignTypeEnum.ROLLOUT.value
|
|
361
361
|
)
|
|
362
362
|
|
|
363
|
+
rollout_variation_to_return = None
|
|
364
|
+
|
|
363
365
|
if roll_out_rules and not is_enabled:
|
|
364
366
|
rollout_rules_to_evaluate: List[CampaignModel] = []
|
|
365
367
|
|
|
@@ -381,7 +383,43 @@ class GetFlagApi:
|
|
|
381
383
|
)
|
|
382
384
|
decision.update(updated_decision)
|
|
383
385
|
|
|
384
|
-
|
|
386
|
+
is_force_user_applicable = (
|
|
387
|
+
whitelisted_object is not None
|
|
388
|
+
and isinstance(whitelisted_object, dict)
|
|
389
|
+
and len(whitelisted_object) > 0
|
|
390
|
+
)
|
|
391
|
+
|
|
392
|
+
if is_force_user_applicable:
|
|
393
|
+
is_enabled = True
|
|
394
|
+
self._should_check_for_experiment_rules = True
|
|
395
|
+
decision["isUserPartOfCampaign"] = True
|
|
396
|
+
rollout_variation_to_return = whitelisted_object["variation"]
|
|
397
|
+
variables = whitelisted_object["variation"].get_variables()
|
|
398
|
+
|
|
399
|
+
self._evaluated_feature_map[feature_key] = {
|
|
400
|
+
"rolloutId": rule.get_id(),
|
|
401
|
+
"rolloutKey": get_rollout_key(rule, feature_key),
|
|
402
|
+
"rolloutVariationId": whitelisted_object["variation"].get_id(),
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
self._update_integrations_decision_object(
|
|
406
|
+
rule, whitelisted_object["variation"], decision
|
|
407
|
+
)
|
|
408
|
+
|
|
409
|
+
if (
|
|
410
|
+
SettingsManager.get_instance().is_gateway_service_provided
|
|
411
|
+
and payload is not None
|
|
412
|
+
and len(payload) > 0
|
|
413
|
+
):
|
|
414
|
+
is_variation_shown_fired = True
|
|
415
|
+
send_impression_for_variation_shown(payload, context)
|
|
416
|
+
else:
|
|
417
|
+
if payload is not None and len(payload) > 0:
|
|
418
|
+
is_variation_shown_fired = True
|
|
419
|
+
batchPayload.append(payload)
|
|
420
|
+
|
|
421
|
+
break
|
|
422
|
+
elif pre_segmentation_result:
|
|
385
423
|
rollout_rules_to_evaluate.append(rule)
|
|
386
424
|
|
|
387
425
|
if (
|
|
@@ -405,7 +443,7 @@ class GetFlagApi:
|
|
|
405
443
|
}
|
|
406
444
|
break
|
|
407
445
|
|
|
408
|
-
if rollout_rules_to_evaluate.__len__() > 0:
|
|
446
|
+
if rollout_rules_to_evaluate.__len__() > 0 and rollout_variation_to_return is None:
|
|
409
447
|
variation = evaluate_traffic_and_get_variation(
|
|
410
448
|
settings, rollout_rules_to_evaluate[0], context
|
|
411
449
|
)
|
{wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/constants/Constants.py
RENAMED
|
@@ -17,7 +17,7 @@ class Constants:
|
|
|
17
17
|
# TODO: read from setup.py
|
|
18
18
|
sdk_meta = {
|
|
19
19
|
"name": "vwo-fme-python-sdk",
|
|
20
|
-
"version": "1.
|
|
20
|
+
"version": "1.70.0",
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
SDK_VERSION = sdk_meta["version"]
|
|
@@ -88,5 +88,7 @@ class Constants:
|
|
|
88
88
|
VARIATION_IS_PART_OF_HOLDOUT = 1
|
|
89
89
|
VARIATION_NOT_PART_OF_HOLDOUT = 2
|
|
90
90
|
|
|
91
|
+
KEY_FORCED_USER_CHECK = "preSegmentationResult"
|
|
92
|
+
|
|
91
93
|
INTERNAL_EVENTS_DEFAULT_SAMPLING_PERCENT_SERVER = 10.0
|
|
92
94
|
INTERNAL_EVENTS_DEFAULT_ALWAYS_APPLY_SAMPLING = False
|
|
@@ -32,6 +32,7 @@ class VariationModel:
|
|
|
32
32
|
type: str,
|
|
33
33
|
variations: List["VariationModel"] = [],
|
|
34
34
|
salt: str = None,
|
|
35
|
+
whitelisted_segments: Dict[str, Any] = None,
|
|
35
36
|
):
|
|
36
37
|
self._id = id
|
|
37
38
|
self._segments = segments
|
|
@@ -45,6 +46,7 @@ class VariationModel:
|
|
|
45
46
|
self._type = type
|
|
46
47
|
self._key = key
|
|
47
48
|
self._salt = salt
|
|
49
|
+
self._whitelisted_segments = whitelisted_segments
|
|
48
50
|
|
|
49
51
|
def get_id(self) -> int:
|
|
50
52
|
return self._id
|
|
@@ -101,4 +103,7 @@ class VariationModel:
|
|
|
101
103
|
self._key = key
|
|
102
104
|
|
|
103
105
|
def get_salt(self) -> str:
|
|
104
|
-
return self._salt
|
|
106
|
+
return self._salt
|
|
107
|
+
|
|
108
|
+
def get_whitelisted_segments(self) -> Dict[str, Any]:
|
|
109
|
+
return self._whitelisted_segments
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
{wingify_fme_python_sdk-1.66.0 → wingify_fme_python_sdk-1.70.0}/wingify/resources/info-message.json
RENAMED
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
|
|
18
18
|
"USER_CAMPAIGN_BUCKET_INFO": "User ID:{userId} for experiment:{campaignKey} {status}",
|
|
19
19
|
|
|
20
|
-
"WHITELISTING_SKIP": "Whitelisting is not used for
|
|
21
|
-
"WHITELISTING_STATUS": "User ID:{userId} for
|
|
20
|
+
"WHITELISTING_SKIP": "Whitelisting is not used for {ruleType}:{campaignKey}, hence skipping evaluating whitelisting {variation} for User ID:{userId}",
|
|
21
|
+
"WHITELISTING_STATUS": "User ID:{userId} for {ruleType}:{campaignKey} {status} whitelisting {variationString}",
|
|
22
|
+
"WHITELISTING_FORCED_OFF": "User ID:{userId} for {ruleType}:{campaignKey} is forced off and excluded from the rule",
|
|
22
23
|
|
|
23
24
|
"VARIATION_RANGE_ALLOCATION": "Variation:{variationKey} of experiment:{campaignKey} having weight:{variationWeight} got bucketing range: ({startRange} - {endRange})",
|
|
24
25
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright 2024-2026 Wingify Software Pvt. Ltd.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|