$npx skillfedfor your agent

amplitude-experiment

The official Amplitude Experiment Python SDK for server-side instrumentation.

Worth itPyPI Software DevelopmentReleased Jul 2026353.3K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — amplitude_experiment-1.12.0-py3-none-any.whl
v1.12.0 · released 2026-07-17 · Python <4,>=3.6 · 3 runtime deps: dataclasses-json, amplitude_analytics, sseclient-py

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. It's suitable for production use if you're already using Amplitude for analytics and need server-side experiment or feature flag capabilities. Choose it if you want tight integration with Amplitude's platform; if you need a vendor-agnostic feature flag library, consider alternatives.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid Amplitude Experiment API key and network access to Amplitude's remote evaluation service.
  • Low install friction with a pure Python wheel and only three runtime dependencies.
  • Active maintenance with a recent release 28 days ago and ongoing repository activity.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions; suitable for most production deployments.

last release 2026-07-17 (28 days) · last repo commit 2026-07-17 · 4 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 353,340 downloads/mo, #7,304 on PyPI

Verify before relying

pip install amplitude-experiment

from amplitude_experiment import Experiment, User

apiKey = 'YOUR-API-KEY'
experiment = Experiment.initialize_remote(apiKey)
user = User(device_id="abcdefg", user_id="user@company.com")
variants = experiment.fetch(user)
variant = variants['YOUR-FLAG-KEY']
  • Whether local evaluation mode requires downloading and updating flag configurations periodically.
  • Performance characteristics and latency of remote vs. local evaluation modes under production load.
  • Exact retry and timeout behavior when Amplitude's remote service is unavailable.
Same gist for agents: .md · .json

What it is and what it does

The Amplitude Experiment Python SDK is the official server-side library for integrating A/B tests and feature flags into Python applications via Amplitude's Experiment platform. It provides two evaluation modes: remote evaluation, which fetches variant assignments from Amplitude's servers for each user, and local evaluation, which evaluates flags locally after downloading configuration. The SDK handles user context (device ID, user ID, user properties) and returns variant assignments that your code can use to control feature behavior.

The package depends on dataclasses-json for serialization, amplitude_analytics for event tracking integration, and sseclient-py for server-sent event streaming in local evaluation mode. It supports Python 3.6 through 3.10 and is actively maintained. Installation is straightforward with no compiled dependencies, making it suitable for containerized and serverless deployments.

Use it for

  • Run A/B tests on backend logic by fetching variant assignments for users and routing requests accordingly.
  • Manage feature flags in production with remote evaluation for real-time control without redeployment.
  • Implement local evaluation mode for low-latency flag decisions when network latency to Amplitude is a concern.
  • Track experiment exposure and conversion events by integrating flag evaluations with amplitude_analytics.
  • Segment users by properties (e.g., premium status) and serve different feature variants based on Amplitude-defined rules.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries no known vulnerabilities, and is MIT-licensed. It's suitable for production use if you're already using Amplitude for analytics and need server-side experiment or feature flag capabilities. Choose it if you want tight integration with Amplitude's platform; if you need a vendor-agnostic feature flag library, consider alternatives.

Install

amplitude-experiment on PyPI

Before you install

Low install friction with a pure Python wheel and only three runtime dependencies. Active maintenance with a recent release 28 days ago and ongoing repository activity.

Requires a valid Amplitude Experiment API key and network access to Amplitude's remote evaluation service.

License in practice

MIT License permits commercial and private use with minimal restrictions; suitable for most production deployments.

Quickstart

pip install amplitude-experiment

from amplitude_experiment import Experiment, User

apiKey = 'YOUR-API-KEY'
experiment = Experiment.initialize_remote(apiKey)
user = User(device_id="abcdefg", user_id="user@company.com")
variants = experiment.fetch(user)
variant = variants['YOUR-FLAG-KEY']

Verify before relying

  • Whether local evaluation mode requires downloading and updating flag configurations periodically.
  • Performance characteristics and latency of remote vs. local evaluation modes under production load.
  • Exact retry and timeout behavior when Amplitude's remote service is unavailable.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release <4,>=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
dataclasses-jsonamplitude_analyticssseclient-py
MaintenanceActively maintained 28 days since the last release
Last repo commit
First released
Downloads353,340 / month, #7,304 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: amplitude_experiment-1.12.0-py3-none-any.whl

Tags

Capabilities
amplitude experiment sdka/b testing python serverfeature flags evaluationremote feature flag evaluationexperiment variant lookupserver-side feature flagsamplitude analytics integration
Topics
feature-flagsa-b-testingamplitude
PyPI keywords
amplitudepythonbackend

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 › “amplitude experiment sdk”

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also amplitude-analytics · eppo-server-sdk · growthbook · optimizely-sdk · openfeature-provider-flagsmith · splitio-client · launchdarkly-server-sdk · laboratory · statsig · flipt-client