optimizely-sdk
Python SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts.
Decision gist · record as of 2026-08-14
Yes. The package is production-stable, actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive Apache license. Install it if you need A/B testing or feature flag management in a Python application and are already using or planning to use the Optimizely platform.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-wheel distribution and five well-established runtime dependencies (jsonschema, pyrsistent, requests, idna, rpds-py).
- Actively maintained with a release 35 days old and recent commits.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), meaning you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-07-10 (35 days) · last repo commit 2026-08-05 · 31 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 650,523 downloads/mo, #5,560 on PyPI
Alternatives
Verify before relying
pip install optimizely-sdk
import optimizely
# Initialize with an SDK key
client = optimizely.Optimizely(sdk_key='your_sdk_key')
# Or initialize with a datafile
client = optimizely.Optimizely(datafile=datafile_content)- Whether the package supports Python 3.8+ as stated in the description, given the classifiers list Python 3.8 through 3.12 but requires_python is unspecified.
- Whether the polling config manager's default update_interval of '5 minutes' is configurable and what the actual default value is in code.
What it is and what it does
Optimizely SDK is a client library for integrating A/B testing and feature management into Python applications. It connects to the Optimizely platform to run experiments, manage feature flags, and control feature rollouts without requiring code redeployment. The SDK can be initialized in multiple ways: with a static datafile, by providing an SDK key for automatic polling updates, or by supplying a custom configuration manager.
The package handles experiment logic, audience targeting, and feature flag evaluation on the client side. It depends on requests for HTTP communication, jsonschema for configuration validation, and supporting libraries like pyrsistent and rpds-py for data structures. It's designed for production use across multiple Python versions and is actively maintained.
Use it for
- Run A/B tests on new features to measure user engagement and conversion impact before full rollout.
- Manage feature flags to enable or disable features in production without code deployment or restart.
- Gradually roll out new features to a percentage of users to mitigate risk and gather feedback.
- Segment users by audience rules and run targeted experiments on specific user cohorts.
- Integrate experimentation into CI/CD pipelines to validate feature performance automatically.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is production-stable, actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive Apache license. Install it if you need A/B testing or feature flag management in a Python application and are already using or planning to use the Optimizely platform.
Install
optimizely-sdk on PyPI
Before you install
Low install friction with a pure-wheel distribution and five well-established runtime dependencies (jsonschema, pyrsistent, requests, idna, rpds-py). Actively maintained with a release 35 days old and recent commits.
License in practice
Licensed under Apache Software License (permissive), meaning you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install optimizely-sdk
import optimizely
# Initialize with an SDK key
client = optimizely.Optimizely(sdk_key='your_sdk_key')
# Or initialize with a datafile
client = optimizely.Optimizely(datafile=datafile_content)
Verify before relying
- Whether the package supports Python 3.8+ as stated in the description, given the classifiers list Python 3.8 through 3.12 but requires_python is unspecified.
- Whether the polling config manager's default update_interval of '5 minutes' is configurable and what the actual default value is in code.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesjsonschemapyrsistentrequestsidnarpds-py |
| Maintenance | Actively maintained 35 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 650,523 / month, #5,560 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: optimizely_sdk-5.6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “feature rollout control”
- optimizely-sdkProvides A/B testing, feature flagging, and feature management…
- django-waffleDjango Waffle provides feature flags (toggles) for Django…
- FeatureManagementEnables runtime control of application features through feature…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also statsig · eppo-server-sdk · amplitude-experiment · laboratory · ax-platform · posthog · launchdarkly-server-sdk · django-waffle · openfeature-provider-flagsmith · growthbook