statsig-python-core 0.13.1b2512140246__tar.gz → 0.14.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.
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/Cargo.lock +6 -6
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/Cargo.toml +1 -2
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/PKG-INFO +1 -1
- {statsig_python_core-0.13.1b2512140246/statsig-pyo3 → statsig_python_core-0.14.0}/py_src/statsig_python_core/__init__.py +0 -1
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/py_src/statsig_python_core/statsig.py +0 -46
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/py_src/statsig_python_core/statsig_python_core.pyi +95 -9
- statsig_python_core-0.14.0/statsig-grpc/build.rs +4 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/Cargo.toml +1 -4
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0/statsig-pyo3}/py_src/statsig_python_core/__init__.py +0 -1
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/py_src/statsig_python_core/statsig.py +0 -46
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/py_src/statsig_python_core/statsig_python_core.pyi +95 -9
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/lib.rs +5 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/statsig_base_py.rs +64 -30
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/statsig_options_py.rs +0 -8
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/statsig_types_py.rs +165 -1
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_data_store.py +1 -1
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/Cargo.toml +1 -1
- statsig_python_core-0.14.0/statsig-rust/build.rs +10 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/data_store_interface.rs +10 -33
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/queued_expo.rs +41 -43
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/persistent_storage/persistent_values_manager.rs +126 -129
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/sdk_event_emitter/event_emitter.rs +31 -30
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/spec_store.rs +10 -6
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_adapter/statsig_customized_specs_adapter.rs +6 -4
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_adapter/statsig_data_store_specs_adapter.rs +12 -3
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_adapter/statsig_http_specs_adapter.rs +1 -1
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/__tests__/proto_specs_syncing_tests.rs +3 -3
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig.rs +167 -175
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig_metadata.rs +1 -1
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig_options.rs +1 -2
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/customized_specs_adapter_tests.rs +2 -2
- statsig_python_core-0.14.0/statsig-rust/tests/data/demo_proj_dcs.json +1 -0
- statsig_python_core-0.14.0/statsig-rust/tests/data/demo_proj_dcs.pb.br +0 -0
- statsig_python_core-0.14.0/statsig-rust/tests/data/eval_proj_dcs.json +1 -0
- statsig_python_core-0.14.0/statsig-rust/tests/data/eval_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/perf_proj_dcs.json +1 -1
- statsig_python_core-0.14.0/statsig-rust/tests/data/perf_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/direct_gcir_tests.rs +1 -1
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/observability_client_usage_tests.rs +1 -1
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/proto_specs_usage_tests.rs +2 -2
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_event_emitter_usage_test.rs +1 -1
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_local_file_specs_adapter_tests.rs +2 -2
- statsig_python_core-0.13.1b2512140246/py_src/statsig_python_core/statsig_types.py +0 -262
- statsig_python_core-0.13.1b2512140246/statsig-grpc/build.rs +0 -14
- statsig_python_core-0.13.1b2512140246/statsig-grpc/src/protos/statsig_forward_proxy.proto +0 -28
- statsig_python_core-0.13.1b2512140246/statsig-pyo3/py_src/statsig_python_core/statsig_types.py +0 -262
- statsig_python_core-0.13.1b2512140246/statsig-pyo3/tests/test_performance.py +0 -106
- statsig_python_core-0.13.1b2512140246/statsig-pyo3/tests/test_user_exposure_e2e.py +0 -115
- statsig_python_core-0.13.1b2512140246/statsig-rust/build.rs +0 -12
- statsig_python_core-0.13.1b2512140246/statsig-rust/tests/data/demo_proj_dcs.json +0 -1
- statsig_python_core-0.13.1b2512140246/statsig-rust/tests/data/demo_proj_dcs.pb.br +0 -0
- statsig_python_core-0.13.1b2512140246/statsig-rust/tests/data/eval_proj_dcs.json +0 -1
- statsig_python_core-0.13.1b2512140246/statsig-rust/tests/data/eval_proj_dcs.pb.br +0 -0
- statsig_python_core-0.13.1b2512140246/statsig-rust/tests/data/perf_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/py_src/statsig_python_core/data_store.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/py_src/statsig_python_core/error_boundary.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/py_src/statsig_python_core/observability_client.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/py_src/statsig_python_core/output_logger_provider.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/py_src/statsig_python_core/persistent_storage.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/py_src/statsig_python_core/py.typed +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/py_src/statsig_python_core/requirements.txt +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/pyproject.toml +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-grpc/Cargo.toml +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-grpc/README.md +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-grpc/src/lib.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-grpc/src/mock_forward_proxy.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-grpc/src/statsig_forward_proxy.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-grpc/src/statsig_grpc_client.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-grpc/src/statsig_grpc_err.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/.github/workflows/CI.yml +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/.gitignore +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/README.md +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/py_src/statsig_python_core/data_store.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/py_src/statsig_python_core/error_boundary.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/py_src/statsig_python_core/observability_client.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/py_src/statsig_python_core/output_logger_provider.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/py_src/statsig_python_core/persistent_storage.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/py_src/statsig_python_core/py.typed +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/py_src/statsig_python_core/requirements.txt +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/bin/stub_gen.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/data_store_base_py.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/observability_client_base_py.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/output_logger_provider_base_py.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/pyo_utils.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/safe_gil.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/statsig_metadata_py.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/statsig_persistent_storage_override_adapter_py.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/statsig_user_py.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/unit_id_py.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/valid_primitives_py.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/fork_runner.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/mock_scrapi.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/shutdown_sub_proc.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_error_boundary.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_exposure_logging.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_forking.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_initialize_with_details.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_observability_client.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_output_logger_provider.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_override_adapter.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_shared_statsig.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_shutdown.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_statsig.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_statsig_options.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_statsig_user.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/test_statsig_user_pickle.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/tests/utils.py +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/resources/ip_supalite.table +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/resources/ua_parser_regex.yaml +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/resources/ua_parser_regex_lite.yaml +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/__tests__/interned_string_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/__tests__/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/__tests__/spec_store_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/compression/compression_helper.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/compression/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/console_capture/console_capture_handler.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/console_capture/console_capture_instances.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/console_capture/console_capture_options.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/console_capture/console_log_line_levels.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/console_capture/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/dcs_str.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/__tests__/dynamic_returnable_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/__tests__/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/cmab_evaluator.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/comparisons/compare_arrays.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/comparisons/compare_numbers.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/comparisons/compare_str_with_regex.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/comparisons/compare_strings_in_array.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/comparisons/compare_time.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/comparisons/compare_versions.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/comparisons/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/country_lookup.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/dynamic_returnable.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/dynamic_string.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/dynamic_value.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/evaluation_details.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/evaluation_types.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/evaluation_types_initialize_v2.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/evaluation_types_v2.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/evaluator.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/evaluator_context.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/evaluator_result.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/evaluator_value.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/get_unit_id.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/secondary_exposure_key.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/first_party_ua_parser.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_helpers.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_tokenizer.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_browser.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_os.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/tokenizer.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/ua_parser.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/window_iter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/third_party_ua_parser.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/evaluation/user_agent_parsing/ua_parser.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_emitter/statsig_event_emitter_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_logger.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_logger_constants.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_logger_ops_stats.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/batch.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/queue.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/queued_config_expo.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/queued_event.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/queued_experiment_expo.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/queued_gate_expo.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/queued_layer_param_expo.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/event_queue/queued_passthrough.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/exposure_sampling.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/exposure_utils.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/flush_interval.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/flush_type.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/statsig_event.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging/statsig_event_internal.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging_adapter/event_logging_adapter_trait.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging_adapter/log_event_payload.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging_adapter/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging_adapter/statsig_http_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/event_logging_adapter/statsig_local_file_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/dynamic_configs_processor.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/feature_gates_processor.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/gcir_formatter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/gcir_options.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/gcir_process_iter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/layer_configs_processor.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/param_stores_processor.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/stringify_sec_exposures.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/gcir/target_app_id_utils.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/global_configs.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/hashing/ahash.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/hashing/djb2.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/hashing/hash_util.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/hashing/memo_sha_256.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/hashing/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/id_lists_adapter/id_list.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/id_lists_adapter/id_lists_adapter_trait.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/id_lists_adapter/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/id_lists_adapter/statsig_http_id_lists_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/init_details.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/initialize_evaluations_response.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/initialize_response.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/initialize_v2_response.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/instance_registry.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/interned_string.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/interned_value_store.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/lib.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/macros.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/__tests__/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/__tests__/response_data_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/http_types.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/network_client.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/network_error.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/providers/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/providers/net_provider_global.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/providers/net_provider_noop.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/providers/net_provider_reqwest.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/networking/proxy_config.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/observability/console_capture_observer.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/observability/diagnostics_observer.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/observability/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/observability/observability_client_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/observability/ops_stats.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/observability/sdk_errors_observer.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/output_logger.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/override_adapter/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/override_adapter/override_adapter_trait.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/override_adapter/statsig_local_override_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/persistent_storage/__tests__/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/persistent_storage/__tests__/sticky_values_serialization_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/persistent_storage/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/persistent_storage/persistent_storage_trait.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/sdk_diagnostics/diagnostics.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/sdk_diagnostics/diagnostics_utils.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/sdk_diagnostics/marker.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/sdk_diagnostics/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/sdk_event_emitter/event_emitter_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/sdk_event_emitter/event_types.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/sdk_event_emitter/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_adapter/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_adapter/specs_adapter_trait.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_adapter/statsig_bootstrap_specs_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_adapter/statsig_grpc_specs_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_adapter/statsig_local_file_specs_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/__tests__/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/__tests__/proto_specs_unknown_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/__tests__/proto_specs_vs_json_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/__tests__/proto_stream_reader_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/cmab_types.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/explicit_params.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/param_store_types.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/proto_specs.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/proto_stream_reader.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/spec_types.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/specs_hash_map.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/specs_response/statsig_config_specs.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig_core_api_options.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig_err.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig_global.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig_runtime.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig_type_factories.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig_types.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/statsig_types_raw.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/user/into_optional.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/user/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/user/statsig_user.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/user/statsig_user_builder.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/user/statsig_user_internal.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/user/statsig_user_loggable.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/user/unit_id.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/user/user_data.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/src/utils/mod.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/check_gate_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/big_number_dcs.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/check_gate_perf_dcs.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/company_id_list +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/dcs_missing_gates.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/dcs_with_checksum.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/dcs_with_sampling.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/dcs_with_sdk_configs.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/get_id_lists.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/shared_dict_dict_only.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/shared_dict_original_dcs.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/shared_dict_response_uncompressed.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/shared_dict_response_with_dict.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/shared_dict_response_without_dict.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/test_must_pass_user_agents.txt +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/test_user_agents.txt +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/ua_string_cases.json +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data/unknown_enum.pb.br +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/data_store_lock_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/dynamic_string_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/dynamic_value_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/evaluation_details_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/evaluator_value_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/event_logger_failing_flush_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/event_logger_flush_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/event_logger_high_qps_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/event_logger_usage_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/expected_evaluation_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/exposure_sampling_key_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/exposure_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/flushing_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/gate_inversion_eval_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/gcir_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/global_configs_test.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/grpc_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/hash_util_evaluation_hash_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/http_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/initialize_timeout_test.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/instance_registry_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/layer_serialization_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/list_methods_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/network_client_streaming_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/network_client_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/network_failure_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/output_logger_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/override_adapter_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/perf_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/spec_types_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_disable_network_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_environment_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_global_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_local_file_event_logging_adapter_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_options_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_shared_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_user_builder_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_user_field_accessor_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_user_internal_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_user_loggable_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/statsig_user_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/syncing_network_failure_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/typed_getters_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/ua_parser_util_test.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/user_agent_tests_first_party.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/user_agent_tests_third_party.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/user_json_tests.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/utils/helpers.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/utils/mock_data_store.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/utils/mock_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/utils/mock_log_provider.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/utils/mock_observability_client.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/utils/mock_scrapi.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/utils/mock_specs_adapter.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/utils/mock_specs_listener.rs +0 -0
- {statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-rust/tests/utils/mod.rs +0 -0
|
@@ -2528,7 +2528,7 @@ dependencies = [
|
|
|
2528
2528
|
|
|
2529
2529
|
[[package]]
|
|
2530
2530
|
name = "sigstat-grpc"
|
|
2531
|
-
version = "0.
|
|
2531
|
+
version = "0.14.0"
|
|
2532
2532
|
dependencies = [
|
|
2533
2533
|
"async-trait",
|
|
2534
2534
|
"chrono",
|
|
@@ -2602,7 +2602,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
|
|
2602
2602
|
|
|
2603
2603
|
[[package]]
|
|
2604
2604
|
name = "statsig-node"
|
|
2605
|
-
version = "0.
|
|
2605
|
+
version = "0.14.0"
|
|
2606
2606
|
dependencies = [
|
|
2607
2607
|
"async-trait",
|
|
2608
2608
|
"napi",
|
|
@@ -2616,7 +2616,7 @@ dependencies = [
|
|
|
2616
2616
|
|
|
2617
2617
|
[[package]]
|
|
2618
2618
|
name = "statsig-pyo3"
|
|
2619
|
-
version = "0.
|
|
2619
|
+
version = "0.14.0"
|
|
2620
2620
|
dependencies = [
|
|
2621
2621
|
"async-trait",
|
|
2622
2622
|
"lazy_static",
|
|
@@ -2630,7 +2630,7 @@ dependencies = [
|
|
|
2630
2630
|
|
|
2631
2631
|
[[package]]
|
|
2632
2632
|
name = "statsig-rust"
|
|
2633
|
-
version = "0.
|
|
2633
|
+
version = "0.14.0"
|
|
2634
2634
|
dependencies = [
|
|
2635
2635
|
"ahash",
|
|
2636
2636
|
"arc-swap",
|
|
@@ -2676,7 +2676,7 @@ dependencies = [
|
|
|
2676
2676
|
|
|
2677
2677
|
[[package]]
|
|
2678
2678
|
name = "statsig_elixir"
|
|
2679
|
-
version = "0.
|
|
2679
|
+
version = "0.14.0"
|
|
2680
2680
|
dependencies = [
|
|
2681
2681
|
"parking_lot",
|
|
2682
2682
|
"rustler",
|
|
@@ -2688,7 +2688,7 @@ dependencies = [
|
|
|
2688
2688
|
|
|
2689
2689
|
[[package]]
|
|
2690
2690
|
name = "statsig_ffi"
|
|
2691
|
-
version = "0.
|
|
2691
|
+
version = "0.14.0"
|
|
2692
2692
|
dependencies = [
|
|
2693
2693
|
"async-trait",
|
|
2694
2694
|
"cbindgen",
|
|
@@ -12,14 +12,13 @@ exclude = [
|
|
|
12
12
|
"examples/rust/perf-monitor",
|
|
13
13
|
"examples/rust/mem-bench",
|
|
14
14
|
"examples/rust/perf-bench",
|
|
15
|
-
"examples/rust/verify-package",
|
|
16
15
|
"benchmarking/bench-cluster",
|
|
17
16
|
]
|
|
18
17
|
|
|
19
18
|
[workspace.package]
|
|
20
19
|
edition = "2021"
|
|
21
20
|
license = "ISC"
|
|
22
|
-
version = "0.
|
|
21
|
+
version = "0.14.0"
|
|
23
22
|
homepage = "https://statsig.com/"
|
|
24
23
|
authors = ["Statsig", "Daniel Loomb <daniel@statsig.com>"]
|
|
25
24
|
readme = "README.md"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: statsig_python_core
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.0
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from statsig_python_core import (
|
|
3
|
-
DynamicConfigEvaluationOptions,
|
|
4
|
-
ExperimentEvaluationOptions,
|
|
5
|
-
FeatureGateEvaluationOptions,
|
|
6
|
-
LayerEvaluationOptions,
|
|
7
3
|
StatsigBasePy,
|
|
8
4
|
StatsigOptions,
|
|
9
|
-
StatsigUser,
|
|
10
5
|
notify_python_fork,
|
|
11
6
|
notify_python_shutdown,
|
|
12
7
|
)
|
|
13
8
|
from typing import Optional
|
|
14
9
|
from .error_boundary import ErrorBoundary
|
|
15
|
-
from .statsig_types import DynamicConfig, FeatureGate, Experiment, Layer
|
|
16
10
|
import atexit
|
|
17
11
|
|
|
18
12
|
|
|
@@ -77,46 +71,6 @@ class Statsig(StatsigBasePy):
|
|
|
77
71
|
and cls._statsig_shared_instance is not None
|
|
78
72
|
)
|
|
79
73
|
|
|
80
|
-
# ------------------------------------------------------------ [ Core APIs ]
|
|
81
|
-
|
|
82
|
-
def get_feature_gate(
|
|
83
|
-
self,
|
|
84
|
-
user: StatsigUser,
|
|
85
|
-
name: str,
|
|
86
|
-
options: Optional[FeatureGateEvaluationOptions] = None,
|
|
87
|
-
) -> FeatureGate:
|
|
88
|
-
raw = super()._INTERNAL_get_feature_gate(user, name, options)
|
|
89
|
-
return FeatureGate(name, raw)
|
|
90
|
-
|
|
91
|
-
def get_dynamic_config(
|
|
92
|
-
self,
|
|
93
|
-
user: StatsigUser,
|
|
94
|
-
name: str,
|
|
95
|
-
options: Optional[DynamicConfigEvaluationOptions] = None,
|
|
96
|
-
) -> DynamicConfig:
|
|
97
|
-
raw = super()._INTERNAL_get_dynamic_config(user, name, options)
|
|
98
|
-
return DynamicConfig(name, raw)
|
|
99
|
-
|
|
100
|
-
def get_experiment(
|
|
101
|
-
self,
|
|
102
|
-
user: StatsigUser,
|
|
103
|
-
name: str,
|
|
104
|
-
options: Optional[ExperimentEvaluationOptions] = None,
|
|
105
|
-
) -> Experiment:
|
|
106
|
-
raw = super()._INTERNAL_get_experiment(user, name, options)
|
|
107
|
-
return Experiment(name, raw)
|
|
108
|
-
|
|
109
|
-
def get_layer(
|
|
110
|
-
self,
|
|
111
|
-
user: StatsigUser,
|
|
112
|
-
name: str,
|
|
113
|
-
options: Optional[LayerEvaluationOptions] = None,
|
|
114
|
-
) -> Layer:
|
|
115
|
-
raw = super()._INTERNAL_get_layer(user, name, options)
|
|
116
|
-
return Layer(
|
|
117
|
-
lambda param: self._INTERNAL_log_layer_param_exposure(raw, param), name, raw
|
|
118
|
-
)
|
|
119
|
-
|
|
120
74
|
|
|
121
75
|
def create_statsig_error_instance(message: str) -> StatsigBasePy:
|
|
122
76
|
print("Error: ", message)
|
|
@@ -8,10 +8,67 @@ class DataStoreBase:
|
|
|
8
8
|
def __new__(cls,): ...
|
|
9
9
|
...
|
|
10
10
|
|
|
11
|
+
class DynamicConfig:
|
|
12
|
+
name: builtins.str
|
|
13
|
+
rule_id: builtins.str
|
|
14
|
+
id_type: builtins.str
|
|
15
|
+
value: typing.Any
|
|
16
|
+
details: EvaluationDetails
|
|
17
|
+
def get_bool(self, param_name:builtins.str, fallback:builtins.bool) -> builtins.bool:
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
def get_float(self, param_name:builtins.str, fallback:builtins.float) -> builtins.float:
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
def get_integer(self, param_name:builtins.str, fallback:builtins.int) -> builtins.int:
|
|
24
|
+
...
|
|
25
|
+
|
|
26
|
+
def get_string(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
27
|
+
...
|
|
28
|
+
|
|
29
|
+
def get_array_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
30
|
+
...
|
|
31
|
+
|
|
32
|
+
def get_object_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
33
|
+
...
|
|
34
|
+
|
|
35
|
+
|
|
11
36
|
class DynamicConfigEvaluationOptions:
|
|
12
37
|
disable_exposure_logging: builtins.bool
|
|
13
38
|
def __new__(cls,disable_exposure_logging:builtins.bool=False): ...
|
|
14
39
|
|
|
40
|
+
class EvaluationDetails:
|
|
41
|
+
reason: builtins.str
|
|
42
|
+
lcut: typing.Optional[builtins.int]
|
|
43
|
+
received_at: typing.Optional[builtins.int]
|
|
44
|
+
version: typing.Optional[builtins.int]
|
|
45
|
+
|
|
46
|
+
class Experiment:
|
|
47
|
+
name: builtins.str
|
|
48
|
+
rule_id: builtins.str
|
|
49
|
+
id_type: builtins.str
|
|
50
|
+
group_name: typing.Optional[builtins.str]
|
|
51
|
+
value: typing.Any
|
|
52
|
+
details: EvaluationDetails
|
|
53
|
+
def get_bool(self, param_name:builtins.str, fallback:builtins.bool) -> builtins.bool:
|
|
54
|
+
...
|
|
55
|
+
|
|
56
|
+
def get_float(self, param_name:builtins.str, fallback:builtins.float) -> builtins.float:
|
|
57
|
+
...
|
|
58
|
+
|
|
59
|
+
def get_integer(self, param_name:builtins.str, fallback:builtins.int) -> builtins.int:
|
|
60
|
+
...
|
|
61
|
+
|
|
62
|
+
def get_string(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
63
|
+
...
|
|
64
|
+
|
|
65
|
+
def get_array_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
66
|
+
...
|
|
67
|
+
|
|
68
|
+
def get_object_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
69
|
+
...
|
|
70
|
+
|
|
71
|
+
|
|
15
72
|
class ExperimentEvaluationOptions:
|
|
16
73
|
disable_exposure_logging: builtins.bool
|
|
17
74
|
user_persisted_values: typing.Optional[dict]
|
|
@@ -21,6 +78,13 @@ class FailureDetails:
|
|
|
21
78
|
reason: builtins.str
|
|
22
79
|
error: typing.Optional[builtins.str]
|
|
23
80
|
|
|
81
|
+
class FeatureGate:
|
|
82
|
+
name: builtins.str
|
|
83
|
+
value: builtins.bool
|
|
84
|
+
rule_id: builtins.str
|
|
85
|
+
id_type: builtins.str
|
|
86
|
+
details: EvaluationDetails
|
|
87
|
+
|
|
24
88
|
class FeatureGateEvaluationOptions:
|
|
25
89
|
disable_exposure_logging: builtins.bool
|
|
26
90
|
def __new__(cls,disable_exposure_logging:builtins.bool=False): ...
|
|
@@ -34,6 +98,32 @@ class InitializeDetails:
|
|
|
34
98
|
source: builtins.str
|
|
35
99
|
failure_details: typing.Optional[FailureDetails]
|
|
36
100
|
|
|
101
|
+
class Layer:
|
|
102
|
+
name: builtins.str
|
|
103
|
+
rule_id: builtins.str
|
|
104
|
+
group_name: typing.Optional[builtins.str]
|
|
105
|
+
allocated_experiment_name: typing.Optional[builtins.str]
|
|
106
|
+
value: typing.Any
|
|
107
|
+
details: EvaluationDetails
|
|
108
|
+
def get_bool(self, param_name:builtins.str, fallback:builtins.bool) -> builtins.bool:
|
|
109
|
+
...
|
|
110
|
+
|
|
111
|
+
def get_float(self, param_name:builtins.str, fallback:builtins.float) -> builtins.float:
|
|
112
|
+
...
|
|
113
|
+
|
|
114
|
+
def get_integer(self, param_name:builtins.str, fallback:builtins.int) -> builtins.int:
|
|
115
|
+
...
|
|
116
|
+
|
|
117
|
+
def get_string(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
118
|
+
...
|
|
119
|
+
|
|
120
|
+
def get_array_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
121
|
+
...
|
|
122
|
+
|
|
123
|
+
def get_object_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
124
|
+
...
|
|
125
|
+
|
|
126
|
+
|
|
37
127
|
class LayerEvaluationOptions:
|
|
38
128
|
disable_exposure_logging: builtins.bool
|
|
39
129
|
user_persisted_values: typing.Optional[dict]
|
|
@@ -114,28 +204,25 @@ class StatsigBasePy:
|
|
|
114
204
|
def check_gate(self, user:StatsigUser, name:builtins.str, options:typing.Optional[FeatureGateEvaluationOptions]=None) -> builtins.bool:
|
|
115
205
|
...
|
|
116
206
|
|
|
117
|
-
def
|
|
207
|
+
def get_feature_gate(self, user:StatsigUser, name:builtins.str, options:typing.Optional[FeatureGateEvaluationOptions]=None) -> FeatureGate:
|
|
118
208
|
...
|
|
119
209
|
|
|
120
210
|
def manually_log_gate_exposure(self, user:StatsigUser, name:builtins.str) -> None:
|
|
121
211
|
...
|
|
122
212
|
|
|
123
|
-
def
|
|
213
|
+
def get_dynamic_config(self, user:StatsigUser, name:builtins.str, options:typing.Optional[DynamicConfigEvaluationOptions]=None) -> DynamicConfig:
|
|
124
214
|
...
|
|
125
215
|
|
|
126
216
|
def manually_log_dynamic_config_exposure(self, user:StatsigUser, name:builtins.str) -> None:
|
|
127
217
|
...
|
|
128
218
|
|
|
129
|
-
def
|
|
219
|
+
def get_experiment(self, user:StatsigUser, name:builtins.str, options:typing.Optional[ExperimentEvaluationOptions]=None) -> Experiment:
|
|
130
220
|
...
|
|
131
221
|
|
|
132
222
|
def manually_log_experiment_exposure(self, user:StatsigUser, name:builtins.str) -> None:
|
|
133
223
|
...
|
|
134
224
|
|
|
135
|
-
def
|
|
136
|
-
...
|
|
137
|
-
|
|
138
|
-
def _INTERNAL_log_layer_param_exposure(self, raw:builtins.str, param_name:builtins.str) -> None:
|
|
225
|
+
def get_layer(self, user:StatsigUser, name:builtins.str, options:typing.Optional[LayerEvaluationOptions]=None) -> Layer:
|
|
139
226
|
...
|
|
140
227
|
|
|
141
228
|
def manually_log_layer_parameter_exposure(self, user:StatsigUser, name:builtins.str, param_name:builtins.str) -> None:
|
|
@@ -216,7 +303,6 @@ class StatsigOptions:
|
|
|
216
303
|
observability_client: typing.Optional[ObservabilityClientBase]
|
|
217
304
|
output_logger_provider: typing.Optional[OutputLoggerProviderBase]
|
|
218
305
|
data_store: typing.Optional[DataStoreBase]
|
|
219
|
-
data_store_key_schema_version: typing.Optional[builtins.str]
|
|
220
306
|
persistent_storage: typing.Optional[PersistentStorageBaseClass]
|
|
221
307
|
config_compression_mode: typing.Optional[builtins.str]
|
|
222
308
|
proxy_config: typing.Optional[ProxyConfig]
|
|
@@ -224,7 +310,7 @@ class StatsigOptions:
|
|
|
224
310
|
use_third_party_ua_parser: typing.Optional[builtins.bool]
|
|
225
311
|
disable_disk_access: typing.Optional[builtins.bool]
|
|
226
312
|
experimental_flags: typing.Optional[builtins.set[builtins.str]]
|
|
227
|
-
def __new__(cls,specs_url:typing.Optional[builtins.str]=None, specs_sync_interval_ms:typing.Optional[builtins.int]=None, init_timeout_ms:typing.Optional[builtins.int]=None, log_event_url:typing.Optional[builtins.str]=None, disable_all_logging:typing.Optional[builtins.bool]=None, disable_network:typing.Optional[builtins.bool]=None, event_logging_flush_interval_ms:typing.Optional[builtins.int]=None, event_logging_max_queue_size:typing.Optional[builtins.int]=None, event_logging_max_pending_batch_queue_size:typing.Optional[builtins.int]=None, enable_id_lists:typing.Optional[builtins.bool]=None, wait_for_user_agent_init:typing.Optional[builtins.bool]=None, wait_for_country_lookup_init:typing.Optional[builtins.bool]=None, disable_country_lookup:typing.Optional[builtins.bool]=None, id_lists_url:typing.Optional[builtins.str]=None, id_lists_sync_interval_ms:typing.Optional[builtins.int]=None, fallback_to_statsig_api:typing.Optional[builtins.bool]=None, environment:typing.Optional[builtins.str]=None, output_log_level:typing.Optional[builtins.str]=None, global_custom_fields:typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]=None, observability_client:typing.Optional[ObservabilityClientBase]=None, data_store:typing.Optional[DataStoreBase]=None,
|
|
313
|
+
def __new__(cls,specs_url:typing.Optional[builtins.str]=None, specs_sync_interval_ms:typing.Optional[builtins.int]=None, init_timeout_ms:typing.Optional[builtins.int]=None, log_event_url:typing.Optional[builtins.str]=None, disable_all_logging:typing.Optional[builtins.bool]=None, disable_network:typing.Optional[builtins.bool]=None, event_logging_flush_interval_ms:typing.Optional[builtins.int]=None, event_logging_max_queue_size:typing.Optional[builtins.int]=None, event_logging_max_pending_batch_queue_size:typing.Optional[builtins.int]=None, enable_id_lists:typing.Optional[builtins.bool]=None, wait_for_user_agent_init:typing.Optional[builtins.bool]=None, wait_for_country_lookup_init:typing.Optional[builtins.bool]=None, disable_country_lookup:typing.Optional[builtins.bool]=None, id_lists_url:typing.Optional[builtins.str]=None, id_lists_sync_interval_ms:typing.Optional[builtins.int]=None, fallback_to_statsig_api:typing.Optional[builtins.bool]=None, environment:typing.Optional[builtins.str]=None, output_log_level:typing.Optional[builtins.str]=None, global_custom_fields:typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]=None, observability_client:typing.Optional[ObservabilityClientBase]=None, data_store:typing.Optional[DataStoreBase]=None, persistent_storage:typing.Optional[PersistentStorageBaseClass]=None, config_compression_mode:typing.Optional[builtins.str]=None, proxy_config:typing.Optional[ProxyConfig]=None, output_logger_provider:typing.Optional[OutputLoggerProviderBase]=None, spec_adapter_configs:typing.Optional[list]=None, use_third_party_ua_parser:typing.Optional[builtins.bool]=None, disable_disk_access:typing.Optional[builtins.bool]=None, experimental_flags:typing.Optional[builtins.set[builtins.str]]=None): ...
|
|
228
314
|
|
|
229
315
|
class StatsigUser:
|
|
230
316
|
user_id: builtins.str
|
{statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/Cargo.toml
RENAMED
|
@@ -18,10 +18,7 @@ parking_lot = "0.12.1"
|
|
|
18
18
|
pyo3 = { version = "0.23.1", features = ["abi3-py37"] }
|
|
19
19
|
pyo3-stub-gen = "0.7.0"
|
|
20
20
|
serde_json = { version = "1.0.125", features = ["float_roundtrip"] }
|
|
21
|
-
statsig-rust = { path = "../statsig-rust", features = [
|
|
22
|
-
"with_grpc",
|
|
23
|
-
"ffi-support",
|
|
24
|
-
] }
|
|
21
|
+
statsig-rust = { path = "../statsig-rust", features = ["with_grpc"] }
|
|
25
22
|
async-trait = "0.1.81"
|
|
26
23
|
serde = { version = "1.0.204", features = ["derive"] }
|
|
27
24
|
lazy_static = "1.5.0"
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from statsig_python_core import (
|
|
3
|
-
DynamicConfigEvaluationOptions,
|
|
4
|
-
ExperimentEvaluationOptions,
|
|
5
|
-
FeatureGateEvaluationOptions,
|
|
6
|
-
LayerEvaluationOptions,
|
|
7
3
|
StatsigBasePy,
|
|
8
4
|
StatsigOptions,
|
|
9
|
-
StatsigUser,
|
|
10
5
|
notify_python_fork,
|
|
11
6
|
notify_python_shutdown,
|
|
12
7
|
)
|
|
13
8
|
from typing import Optional
|
|
14
9
|
from .error_boundary import ErrorBoundary
|
|
15
|
-
from .statsig_types import DynamicConfig, FeatureGate, Experiment, Layer
|
|
16
10
|
import atexit
|
|
17
11
|
|
|
18
12
|
|
|
@@ -77,46 +71,6 @@ class Statsig(StatsigBasePy):
|
|
|
77
71
|
and cls._statsig_shared_instance is not None
|
|
78
72
|
)
|
|
79
73
|
|
|
80
|
-
# ------------------------------------------------------------ [ Core APIs ]
|
|
81
|
-
|
|
82
|
-
def get_feature_gate(
|
|
83
|
-
self,
|
|
84
|
-
user: StatsigUser,
|
|
85
|
-
name: str,
|
|
86
|
-
options: Optional[FeatureGateEvaluationOptions] = None,
|
|
87
|
-
) -> FeatureGate:
|
|
88
|
-
raw = super()._INTERNAL_get_feature_gate(user, name, options)
|
|
89
|
-
return FeatureGate(name, raw)
|
|
90
|
-
|
|
91
|
-
def get_dynamic_config(
|
|
92
|
-
self,
|
|
93
|
-
user: StatsigUser,
|
|
94
|
-
name: str,
|
|
95
|
-
options: Optional[DynamicConfigEvaluationOptions] = None,
|
|
96
|
-
) -> DynamicConfig:
|
|
97
|
-
raw = super()._INTERNAL_get_dynamic_config(user, name, options)
|
|
98
|
-
return DynamicConfig(name, raw)
|
|
99
|
-
|
|
100
|
-
def get_experiment(
|
|
101
|
-
self,
|
|
102
|
-
user: StatsigUser,
|
|
103
|
-
name: str,
|
|
104
|
-
options: Optional[ExperimentEvaluationOptions] = None,
|
|
105
|
-
) -> Experiment:
|
|
106
|
-
raw = super()._INTERNAL_get_experiment(user, name, options)
|
|
107
|
-
return Experiment(name, raw)
|
|
108
|
-
|
|
109
|
-
def get_layer(
|
|
110
|
-
self,
|
|
111
|
-
user: StatsigUser,
|
|
112
|
-
name: str,
|
|
113
|
-
options: Optional[LayerEvaluationOptions] = None,
|
|
114
|
-
) -> Layer:
|
|
115
|
-
raw = super()._INTERNAL_get_layer(user, name, options)
|
|
116
|
-
return Layer(
|
|
117
|
-
lambda param: self._INTERNAL_log_layer_param_exposure(raw, param), name, raw
|
|
118
|
-
)
|
|
119
|
-
|
|
120
74
|
|
|
121
75
|
def create_statsig_error_instance(message: str) -> StatsigBasePy:
|
|
122
76
|
print("Error: ", message)
|
|
@@ -8,10 +8,67 @@ class DataStoreBase:
|
|
|
8
8
|
def __new__(cls,): ...
|
|
9
9
|
...
|
|
10
10
|
|
|
11
|
+
class DynamicConfig:
|
|
12
|
+
name: builtins.str
|
|
13
|
+
rule_id: builtins.str
|
|
14
|
+
id_type: builtins.str
|
|
15
|
+
value: typing.Any
|
|
16
|
+
details: EvaluationDetails
|
|
17
|
+
def get_bool(self, param_name:builtins.str, fallback:builtins.bool) -> builtins.bool:
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
def get_float(self, param_name:builtins.str, fallback:builtins.float) -> builtins.float:
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
def get_integer(self, param_name:builtins.str, fallback:builtins.int) -> builtins.int:
|
|
24
|
+
...
|
|
25
|
+
|
|
26
|
+
def get_string(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
27
|
+
...
|
|
28
|
+
|
|
29
|
+
def get_array_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
30
|
+
...
|
|
31
|
+
|
|
32
|
+
def get_object_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
33
|
+
...
|
|
34
|
+
|
|
35
|
+
|
|
11
36
|
class DynamicConfigEvaluationOptions:
|
|
12
37
|
disable_exposure_logging: builtins.bool
|
|
13
38
|
def __new__(cls,disable_exposure_logging:builtins.bool=False): ...
|
|
14
39
|
|
|
40
|
+
class EvaluationDetails:
|
|
41
|
+
reason: builtins.str
|
|
42
|
+
lcut: typing.Optional[builtins.int]
|
|
43
|
+
received_at: typing.Optional[builtins.int]
|
|
44
|
+
version: typing.Optional[builtins.int]
|
|
45
|
+
|
|
46
|
+
class Experiment:
|
|
47
|
+
name: builtins.str
|
|
48
|
+
rule_id: builtins.str
|
|
49
|
+
id_type: builtins.str
|
|
50
|
+
group_name: typing.Optional[builtins.str]
|
|
51
|
+
value: typing.Any
|
|
52
|
+
details: EvaluationDetails
|
|
53
|
+
def get_bool(self, param_name:builtins.str, fallback:builtins.bool) -> builtins.bool:
|
|
54
|
+
...
|
|
55
|
+
|
|
56
|
+
def get_float(self, param_name:builtins.str, fallback:builtins.float) -> builtins.float:
|
|
57
|
+
...
|
|
58
|
+
|
|
59
|
+
def get_integer(self, param_name:builtins.str, fallback:builtins.int) -> builtins.int:
|
|
60
|
+
...
|
|
61
|
+
|
|
62
|
+
def get_string(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
63
|
+
...
|
|
64
|
+
|
|
65
|
+
def get_array_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
66
|
+
...
|
|
67
|
+
|
|
68
|
+
def get_object_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
69
|
+
...
|
|
70
|
+
|
|
71
|
+
|
|
15
72
|
class ExperimentEvaluationOptions:
|
|
16
73
|
disable_exposure_logging: builtins.bool
|
|
17
74
|
user_persisted_values: typing.Optional[dict]
|
|
@@ -21,6 +78,13 @@ class FailureDetails:
|
|
|
21
78
|
reason: builtins.str
|
|
22
79
|
error: typing.Optional[builtins.str]
|
|
23
80
|
|
|
81
|
+
class FeatureGate:
|
|
82
|
+
name: builtins.str
|
|
83
|
+
value: builtins.bool
|
|
84
|
+
rule_id: builtins.str
|
|
85
|
+
id_type: builtins.str
|
|
86
|
+
details: EvaluationDetails
|
|
87
|
+
|
|
24
88
|
class FeatureGateEvaluationOptions:
|
|
25
89
|
disable_exposure_logging: builtins.bool
|
|
26
90
|
def __new__(cls,disable_exposure_logging:builtins.bool=False): ...
|
|
@@ -34,6 +98,32 @@ class InitializeDetails:
|
|
|
34
98
|
source: builtins.str
|
|
35
99
|
failure_details: typing.Optional[FailureDetails]
|
|
36
100
|
|
|
101
|
+
class Layer:
|
|
102
|
+
name: builtins.str
|
|
103
|
+
rule_id: builtins.str
|
|
104
|
+
group_name: typing.Optional[builtins.str]
|
|
105
|
+
allocated_experiment_name: typing.Optional[builtins.str]
|
|
106
|
+
value: typing.Any
|
|
107
|
+
details: EvaluationDetails
|
|
108
|
+
def get_bool(self, param_name:builtins.str, fallback:builtins.bool) -> builtins.bool:
|
|
109
|
+
...
|
|
110
|
+
|
|
111
|
+
def get_float(self, param_name:builtins.str, fallback:builtins.float) -> builtins.float:
|
|
112
|
+
...
|
|
113
|
+
|
|
114
|
+
def get_integer(self, param_name:builtins.str, fallback:builtins.int) -> builtins.int:
|
|
115
|
+
...
|
|
116
|
+
|
|
117
|
+
def get_string(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
118
|
+
...
|
|
119
|
+
|
|
120
|
+
def get_array_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
121
|
+
...
|
|
122
|
+
|
|
123
|
+
def get_object_json(self, param_name:builtins.str, fallback:builtins.str) -> builtins.str:
|
|
124
|
+
...
|
|
125
|
+
|
|
126
|
+
|
|
37
127
|
class LayerEvaluationOptions:
|
|
38
128
|
disable_exposure_logging: builtins.bool
|
|
39
129
|
user_persisted_values: typing.Optional[dict]
|
|
@@ -114,28 +204,25 @@ class StatsigBasePy:
|
|
|
114
204
|
def check_gate(self, user:StatsigUser, name:builtins.str, options:typing.Optional[FeatureGateEvaluationOptions]=None) -> builtins.bool:
|
|
115
205
|
...
|
|
116
206
|
|
|
117
|
-
def
|
|
207
|
+
def get_feature_gate(self, user:StatsigUser, name:builtins.str, options:typing.Optional[FeatureGateEvaluationOptions]=None) -> FeatureGate:
|
|
118
208
|
...
|
|
119
209
|
|
|
120
210
|
def manually_log_gate_exposure(self, user:StatsigUser, name:builtins.str) -> None:
|
|
121
211
|
...
|
|
122
212
|
|
|
123
|
-
def
|
|
213
|
+
def get_dynamic_config(self, user:StatsigUser, name:builtins.str, options:typing.Optional[DynamicConfigEvaluationOptions]=None) -> DynamicConfig:
|
|
124
214
|
...
|
|
125
215
|
|
|
126
216
|
def manually_log_dynamic_config_exposure(self, user:StatsigUser, name:builtins.str) -> None:
|
|
127
217
|
...
|
|
128
218
|
|
|
129
|
-
def
|
|
219
|
+
def get_experiment(self, user:StatsigUser, name:builtins.str, options:typing.Optional[ExperimentEvaluationOptions]=None) -> Experiment:
|
|
130
220
|
...
|
|
131
221
|
|
|
132
222
|
def manually_log_experiment_exposure(self, user:StatsigUser, name:builtins.str) -> None:
|
|
133
223
|
...
|
|
134
224
|
|
|
135
|
-
def
|
|
136
|
-
...
|
|
137
|
-
|
|
138
|
-
def _INTERNAL_log_layer_param_exposure(self, raw:builtins.str, param_name:builtins.str) -> None:
|
|
225
|
+
def get_layer(self, user:StatsigUser, name:builtins.str, options:typing.Optional[LayerEvaluationOptions]=None) -> Layer:
|
|
139
226
|
...
|
|
140
227
|
|
|
141
228
|
def manually_log_layer_parameter_exposure(self, user:StatsigUser, name:builtins.str, param_name:builtins.str) -> None:
|
|
@@ -216,7 +303,6 @@ class StatsigOptions:
|
|
|
216
303
|
observability_client: typing.Optional[ObservabilityClientBase]
|
|
217
304
|
output_logger_provider: typing.Optional[OutputLoggerProviderBase]
|
|
218
305
|
data_store: typing.Optional[DataStoreBase]
|
|
219
|
-
data_store_key_schema_version: typing.Optional[builtins.str]
|
|
220
306
|
persistent_storage: typing.Optional[PersistentStorageBaseClass]
|
|
221
307
|
config_compression_mode: typing.Optional[builtins.str]
|
|
222
308
|
proxy_config: typing.Optional[ProxyConfig]
|
|
@@ -224,7 +310,7 @@ class StatsigOptions:
|
|
|
224
310
|
use_third_party_ua_parser: typing.Optional[builtins.bool]
|
|
225
311
|
disable_disk_access: typing.Optional[builtins.bool]
|
|
226
312
|
experimental_flags: typing.Optional[builtins.set[builtins.str]]
|
|
227
|
-
def __new__(cls,specs_url:typing.Optional[builtins.str]=None, specs_sync_interval_ms:typing.Optional[builtins.int]=None, init_timeout_ms:typing.Optional[builtins.int]=None, log_event_url:typing.Optional[builtins.str]=None, disable_all_logging:typing.Optional[builtins.bool]=None, disable_network:typing.Optional[builtins.bool]=None, event_logging_flush_interval_ms:typing.Optional[builtins.int]=None, event_logging_max_queue_size:typing.Optional[builtins.int]=None, event_logging_max_pending_batch_queue_size:typing.Optional[builtins.int]=None, enable_id_lists:typing.Optional[builtins.bool]=None, wait_for_user_agent_init:typing.Optional[builtins.bool]=None, wait_for_country_lookup_init:typing.Optional[builtins.bool]=None, disable_country_lookup:typing.Optional[builtins.bool]=None, id_lists_url:typing.Optional[builtins.str]=None, id_lists_sync_interval_ms:typing.Optional[builtins.int]=None, fallback_to_statsig_api:typing.Optional[builtins.bool]=None, environment:typing.Optional[builtins.str]=None, output_log_level:typing.Optional[builtins.str]=None, global_custom_fields:typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]=None, observability_client:typing.Optional[ObservabilityClientBase]=None, data_store:typing.Optional[DataStoreBase]=None,
|
|
313
|
+
def __new__(cls,specs_url:typing.Optional[builtins.str]=None, specs_sync_interval_ms:typing.Optional[builtins.int]=None, init_timeout_ms:typing.Optional[builtins.int]=None, log_event_url:typing.Optional[builtins.str]=None, disable_all_logging:typing.Optional[builtins.bool]=None, disable_network:typing.Optional[builtins.bool]=None, event_logging_flush_interval_ms:typing.Optional[builtins.int]=None, event_logging_max_queue_size:typing.Optional[builtins.int]=None, event_logging_max_pending_batch_queue_size:typing.Optional[builtins.int]=None, enable_id_lists:typing.Optional[builtins.bool]=None, wait_for_user_agent_init:typing.Optional[builtins.bool]=None, wait_for_country_lookup_init:typing.Optional[builtins.bool]=None, disable_country_lookup:typing.Optional[builtins.bool]=None, id_lists_url:typing.Optional[builtins.str]=None, id_lists_sync_interval_ms:typing.Optional[builtins.int]=None, fallback_to_statsig_api:typing.Optional[builtins.bool]=None, environment:typing.Optional[builtins.str]=None, output_log_level:typing.Optional[builtins.str]=None, global_custom_fields:typing.Optional[typing.Mapping[builtins.str, typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool, typing.List[typing.Union[builtins.str, builtins.int, builtins.float, builtins.bool]]]]]=None, observability_client:typing.Optional[ObservabilityClientBase]=None, data_store:typing.Optional[DataStoreBase]=None, persistent_storage:typing.Optional[PersistentStorageBaseClass]=None, config_compression_mode:typing.Optional[builtins.str]=None, proxy_config:typing.Optional[ProxyConfig]=None, output_logger_provider:typing.Optional[OutputLoggerProviderBase]=None, spec_adapter_configs:typing.Optional[list]=None, use_third_party_ua_parser:typing.Optional[builtins.bool]=None, disable_disk_access:typing.Optional[builtins.bool]=None, experimental_flags:typing.Optional[builtins.set[builtins.str]]=None): ...
|
|
228
314
|
|
|
229
315
|
class StatsigUser:
|
|
230
316
|
user_id: builtins.str
|
{statsig_python_core-0.13.1b2512140246 → statsig_python_core-0.14.0}/statsig-pyo3/src/lib.rs
RENAMED
|
@@ -24,6 +24,10 @@ fn statsig_python_core(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
|
|
24
24
|
m.add_class::<statsig_user_py::StatsigUserPy>()?;
|
|
25
25
|
m.add_class::<statsig_options_py::StatsigOptionsPy>()?;
|
|
26
26
|
m.add_class::<statsig_options_py::ProxyConfigPy>()?;
|
|
27
|
+
m.add_class::<statsig_types_py::FeatureGatePy>()?;
|
|
28
|
+
m.add_class::<statsig_types_py::DynamicConfigPy>()?;
|
|
29
|
+
m.add_class::<statsig_types_py::ExperimentPy>()?;
|
|
30
|
+
m.add_class::<statsig_types_py::LayerPy>()?;
|
|
27
31
|
m.add_class::<statsig_types_py::FeatureGateEvaluationOptionsPy>()?;
|
|
28
32
|
m.add_class::<statsig_types_py::ExperimentEvaluationOptionsPy>()?;
|
|
29
33
|
m.add_class::<statsig_types_py::DynamicConfigEvaluationOptionsPy>()?;
|
|
@@ -31,6 +35,7 @@ fn statsig_python_core(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
|
|
31
35
|
m.add_class::<statsig_types_py::ParameterStoreEvaluationOptionsPy>()?;
|
|
32
36
|
m.add_class::<statsig_types_py::InitializeDetailsPy>()?;
|
|
33
37
|
m.add_class::<statsig_types_py::FailureDetailsPy>()?;
|
|
38
|
+
m.add_class::<statsig_types_py::EvaluationDetailsPy>()?;
|
|
34
39
|
m.add_class::<observability_client_base_py::ObservabilityClientBasePy>()?;
|
|
35
40
|
m.add_class::<data_store_base_py::DataStoreBasePy>()?;
|
|
36
41
|
m.add_class::<statsig_persistent_storage_override_adapter_py::PersistentStorageBasePy>()?;
|